When testing electrical safety with a safety analyzer, the 'patient lead to ground' leakage test measures current flowing from: