Post Go back to editing

LTspice 17.1 crashes, where as spice 17.0 solves the same simple .op analyses

Category: Software
Product Number: LTspice 17.1 .8
Software Version: LTspice 17.1.8 x64 running on windows 10

Dear ADI

I noticed that some of my simulations made in LTspice 17.0.36, do not work anymore in LTspice 17.1.8.

Al of a sudden it is 'raining' singular martix errors ( if you solve one it will find another) in Spice 17.1.8 when I start the simulation, where the simulation runs fine in 17.0.36. without errors.

What has changed in LTSpice?

I did some investigation, because it seems to happen with conductors with actual .model files attactched to them.

If you create the following simple schematic a single diode with anode floating and only run an operating point analyses; LTspice 17.1.8 will start analysis, completely freezes and than after 15 seconds or so LTspice crahses and closes the program.

 

 If you start the same analysis in Spice 17.0.36 . It wil solve it without any problem.

Se result here:

 I know it is not wise to have floating nodes in the circuit., but it is a simple way to show that LTspice 17.1.8 is doing something different than LT Spice 17.0.36 and is less stable operating.

A colleagues has run the same schematic on his PC and it had same result: LTspice 17.1.8 crashes.

(If you connect a capacitor from anode to ground ( value can be anything 1fF will do) . LTspice 17.1.8. will find a solution for the operating point

What has made LTspice 17.1.8 more sensitive ?

Kind regards

Ewold

  • Dear Ewold,

    I am unable to reproduce your problem. Until I can, there's no way for me to address the problem.

    I can see you have your schematic in a folder managed by OneDrive. Just to rule this out as cause, could you try again with OneDrive disabled?

    As to 17.1 vs 17, LTspice 17.1. is actually very stable. I advise not to generalize a single incident whose cause is unclear.

    If a simulation worked in LTspice 17 and not in 17.1 anymore, then that's usually an indicator that the circuit was borderline to begin with. Look for non-physical modelling, floating or high-impedance nodes etc. The numerical noise of LTspice 17.1 differs from the noise of LTspice 17. We have often seen this can break circuits with modelling problems, or vice versa, make them work again.

    Best Regards,
    Mathias

  • Hello Mathias,

    Thank you for your reply.

    I have found the culprit. 

    For some reason: Enable beta circuit matrix optimizations {*} was checked ON (last check box)

    This caused all the problems I had, it also caused the singular matrix errors I encountered

    Unchecking this box or turning the option OFF made 17.1.8 behave like the previous version.

    You can close the ticket

    Kind regards.

    Ewold

  • Dear Ewold,

    Thank you very much for reporting this. With this box checked, I can reproduce the crash. It's a bug in LTspice that will be fixed in the next release.

    Best Regards,
    Mathias