MACROMODELING AND ACCELERATED SIMULATIONS OF ELECTRIC MACHINES