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
  • Index
  • » Users
  • » bernuly
  • » Profile

Posts

Posts

Feb-05-13 01:49:26
Trying to get Modelica_DeviceDrivers to work

The author has updated the code to comply with the specifications:
https://svn.modelica.org/projects/Model … iceDrivers

Unfortunately
simulate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP)
now leads to the following:

Error: Model is structurally singular, error found sorting equations 2: $PRE.getReal.y[2] = $_start(getReal.y[2]);
4: $PRE.getReal.y[1] = $_start(getReal.y[1]);
for variables getReal.y[3](1), getReal.y[2](3)
Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelites failed!


Cheers, Ulysses

Feb-03-13 07:41:51
Trying to get Modelica_DeviceDrivers to work

The author has patched the code. Am testing it now.

Cheers, Ulysses

Feb-01-13 03:40:26
Trying to get Modelica_DeviceDrivers to work

thanks, +showErrorMessages indeed made output more verbose

I'm trying to flatten
Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP
but get a lot of
NFSCodeDependency.analyseItem
errors

Cheers, Ulysses

Jan-30-13 05:18:59
Trying to get Modelica_DeviceDrivers to work

I'm trying to get the Modelica_DeviceDrivers (https://www.modelica.org/libraries/mode … cedrivers) to work, but all I get when I'm trying to instantiate a test model is 'Error: Error occurred while flattening model' nothing more. Contacted the author of the lib, who told me that it was originally developed for Dymola. Does anybody have suggestions who to get more meaningful debug messages (debug flags "failtrace" and "dump" didn't help)?

Cheers, Ulysses

  • Index
  • » Users
  • » bernuly
  • » Profile
You are here: