Genetic algorithm based current optimization for torque ripple reduction of interior PMSMs | Synapse