Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Can't simulate using PySimulator

Can't simulate using PySimulator

Dymola plug-in loading
FMUSimulator plug-in loading
OpenModelica plug-in loading
OMC Server is up and running at file:///c:\users\zxl\appdata\local\temp\openmode
lica.objid.309eb4e8b1d4410db757a27a9f329e9b

DymolaMat plug-in loading
Mtsf plug-in loading
EigenvalueAnalysis plug-in loading
LinearSystemAnalysis plug-in loading
MinMax plug-in loading
SignalProcessing plug-in loading
No Model Callbacks for plugin:  SignalProcessing
The selected model could not be instantiated, check for any dependencies that th
e model might have
Traceback (most recent call last):
  File "C:\OpenModelica1.9.0\share\omc\scripts\PythonInterface\PySimulator\Integ
ratorControl.py", line 457, in _simulate
    self.showSimulationInfo()
  File "C:\OpenModelica1.9.0\share\omc\scripts\PythonInterface\PySimulator\Integ
ratorControl.py", line 476, in showSimulationInfo
    model.integrationStatistics.reachedTime = model.getReachedSimulationTime()
  File "C:\OpenModelica1.9.0\share\omc\scripts\PythonInterface\PySimulator\Plugi
ns\Simulator\OpenModelica\OpenModelica.py", line 144, in getReachedSimulationTim
e
    if self.file_thread is None:
AttributeError: Model instance has no attribute 'file_thread 


Could anybody help me please ?

thanks,

Xiaolong

There are 0 guests and 0 other users also viewing this topic
You are here: