An example electrical system is disclosed. The electrical system can include a rechargeable energy storage system (RESS) and a power inverter connected to the RESS. The power inverter can be configured to provide electrical power to a traction motor. The electrical system can include a plurality of machine windings connected between the power inverter and a switch. The switch can be configured to transition between a closed state to allow current flow from an off-board power source through the plurality of machine windings to the RESS and an open state to prevent current flow between the off-board power source and the plurality of machine windings.