Opened 8 years ago
Last modified 8 years ago
#4272 accepted discussion
Simulation Process Failed
Reported by: | Owned by: | Lennart Ochel | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Run-time | Version: | v1.9.4-v1.9.x |
Keywords: | Modelica_Synchronous | Cc: |
Description
Hello,
When simulating a model that passed the "Check Model" I received a "Simulation Process Failed. Exited with code 255." error. The model consists of a couple of continuous blocks (pulse train & filter) and then a sampler and digital filter using the Modelica_Synchronous library.
So, I'm wondering if anyone has any idea what might have caused this?
Attachments (1)
Change History (2)
by , 8 years ago
Attachment: | MyModelicaLibrary.mo added |
---|
comment:1 by , 8 years ago
Component: | *unknown* → Run-time |
---|---|
Owner: | changed from | to
Status: | new → accepted |
The model just works fine for me. I didn’t test it with OMEdit, however I think the issue is connected to your sampling rate and thus the size of the result file. (The result file has already about 200MB using stopTime=1e-3.)
Can you please provide more information? What settings did you use, e.g. stopTime?
This is how I teste your model:
loadModel(Modelica_Synchronous); getErrorString(); loadFile("MyModelicaLibrary.mo"); getErrorString(); setCommandLineOptions("+d=nogen,initialization"); getErrorString(); setMatchingAlgorithm("PFPlusExt"); getErrorString(); setIndexReductionMethod("dynamicStateSelection"); getErrorString(); setCommandLineOptions("+std=3.3"); getErrorString(); simulate(MyModelicaLibrary.SSD_PeakDetect, stopTime=1e-3); getErrorString();
SSD_PeakDetect inside MyModelicaLibrary.mo