An electric machine for transforming electric energy into mechanical energy