DC-Link Simulation how to simulate voltage and current ripple

Hi, I’m completely new to PLECS and this forum.
So, if I do something wrong or ask something silly, just let me know.

To my question:
I’ve attached a picture of my circuit. I’d like to simulate my DC-link for a 3-phase inverter.
I’m interested in both the voltage and current ripple.

To simplify the simulation at the beginning, I’ve used a controlled current source instead of the inverter.
My problem is that Am1 is constant, and Vm2 shows no change in response to the pulses of the current source.

Can you tell me what I’m doing wrong or what I’ve overlooked?

I quickly built this model and the circuit ran fine. Perhaps there’s a timing issue. For example the pulse generator only changes state after the end of the simulation?

Feel free to post your model if you’re still stuck! I will note that this circuit would benefit from using a stiff solver (RADAU) to properly model system damping.