PINNSim: A Simulator for Power System Dynamics based on Physics-Informed Neural Networks