Electrification of hydraulic systems using highefficiency permament magnet motors