I suppose the issue might be related to X2? Well… in general, you need to assign a voltage source (25V) to Tcase to set the case temperature but not the junction temperature. But just guessing, the best is that you can upload your schematic.
I was able to run this simulation without encountering the fatal error. The model was downloaded from Infineon, and I modified the duty cycle from a fixed 0.5 to a ramping duty cycle to reduce simulation length as prevent significant current overshoot at startup.
Oh, it weird that .step currently stopped working in this schematic. Let me report that to Mike. I didn’t pay attention you particular indicated this schematic not working in .step. Sorry for that.
Possibly, Mike will provide a permanent solution later. In the meantime, use this modified library to resolve the stack space issue when .step is used with this model.
The change involves removing +0 from a parameter, replacing dVth={dVth+0} with dVth={dVth}.
Update Qspice, and this issue is resolved. The original library can now be run with .step. 01/30/2026 Implemented some optimization to the user-defined parameter compiler.