I want to sim this ckt but having error “Timestep too small”
For switched power electronics applications, I usually have to adjust some of the simulations options:
.options method=gear chgtol=1e-11 abstol=1u reltol=0.01 rshunt=1G rseries=0.05 cshunt=1p trtol=1
It’s helpful to look them up in the ngspice manual so you have an idea what you are changing there. Also consider to add a load to the output.
Have you carefully inspected your circuit? I’m not sure it should work, regardless of the simulation system. (Check the power symbols, and the on/off and probably everything else including diode models)