FMU leads to MATLAB/Simulink crash on every consecutive simulation #189
Replies: 1 comment
-
Problem fixed with suitable Matlab setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have used pythonfmu to build FMU from my python script including data science packages in windows. Command used to successfully build FMU: pythonfmu build -f python_script.py requirements.txt
Further I had also used fmpy package to simulate this FMU and I also get the results for the given inputs as I expected.
My end goal is to import this FMU in Matlab/Simulink and simulate. I was again successfull in importing FMU and executing in Simulink for the first simulation run. But in the consecutive (second) simulation run, the Simulink/Matlab crashed for unknown issue. Then I have to restart my Matlab/Simulink and simulate again where it works for the first time but crashes again in the second time. So I keep restarting my Matlab/Simulink everytime to make FMU work.
FYI, there is no problem with Matlab version and compatibility with FMU. Othe simulations work without any problem. Also this FMU works for the first simulation run after restart.
Generally, does the FMU instance requires to be reset/free/terminate like I did when using fmpy package even within Matlab after every simulation run?
Do you know what the problem can be with FMU that works using fmpy package but not in Matlab everytime ?
Beta Was this translation helpful? Give feedback.
All reactions