Inverter-fed P.M. synchronous motor controlled by predictive algorithm