There is currently no motor connected to the VFD.
I realized that my main problem was that I intentionally connected 400V 3 phase VFD to 2 phase 230 V power supply - I just wanted to test the VFD and set some parameters to it. The VFD with 2 phase 230V connected to it shows under-voltage error but still it is possible to set parameters via its keypad.
I experimented a little bit with voltage and number of phases connected to the VFD (L1, L2, L3 terminals). I didn't connect PE of the VFD to PE in my socket.
230V 2phase: There is 112V/50Hz between PE of VFD and PE in my socket. Unable to measure current to PE as residual-current circuit breaker triggers immediatelly.
400V 2 phases only: 33,5V/150Hz between PEs, 12 mA residual current through PE.
400V all 3 phases: 22V/150Hz between PEs, 23 mA residual current via PE.
Why 400V power supply shows 150Hz voltage between PEs and why is there much higher PE leakage current for 230V 2 phase power supply?