A vehicle includes an inverter, a pump, a buck converter, and a controller. The inverter has an input connected to a battery and an output connected to an electric machine. The inverter is configured to convert power between DC electrical power at the input and AC electrical power at the output…