I am testing the encyption feature of the Pspice model editor with a simple subckt model. I put the non-encrypted model file in one directory, and the encrypted model file in the other. Both have same file name and subckt name. Then I made a very simple circuit to test it. Since the two model files are in different paths, when I run simulation, I only need to change the path, everything else in the test circuit remains the same.
The non-encrypted model works fine with a nice plot. When I change the path to the encrypted model, the simulation stopped with an error:
ERROR(ORPSIM-16152): Invalid number.
Thanks in advance.
P.S. The model files have .spi suffix. I used .include in the test circuit.