Analysis of alternating flux density harmonics inside the rotor of a 1 MW high-speed interior permanent magnet synchronous machine used for flywheel energy storage systems