A co-simulation platform for evaluation of sensorless control techniques for IPMSMs