This is a small problem. In the Spice model setting, if a component is set to “.SUBCKT”, when the model file is changed, the Spice_Primitive option setting cannot be synchronized to update the type.
For example, use a diode to set up a model file containing “sub-circuit”, and its Spice_Primitive is set to “X”. Then set it up again with a diode model file and reset to diode. However, the content of Spice_Primitive will not be updated to “D”, causing the simulation operation to fail because it cannot find “.SUBCKT”.
You need to manually change “X” to “D” to perform the simulation operation correctly.