Current and Torque Harmonics Analysis of Triple Three-Phase Permanent-Magnet Synchronous Machines with Arbitrary Phase Shift Based on Model-in-the-Loop | Synapse