Why residual current device doesn't trip
Because there is no path for current to flow through the resistor.

The secondary windings of the transformer are isolated from the primary (and, hence, from ground as well). Connecting a resistor between one terminal and ground doesn't form a closed circuit.







simulate this circuit &ndash; Schematic created using CircuitLab