Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6022 closed defect (fixed)

HeatingSytem runs on Windows, fails on Linux

Reported by: anonymous Owned by: lochel
Priority: high Milestone: 1.16.0
Component: Code Generation Version: v1.16.0-dev
Keywords: newInst, Translation Error, Pantelides, Index Reduction Cc:

Description

Ref. to: Modelica 3.2.3/Fluid/Examples/HeatingSytem.mo

translations flags for both Windows10 and Ubuntu 18.04:
PFFPlusExt, dynamicStateSelection
Enable analytical jacobian for non-linear strong components

-d=aliasConflicts -d=newInst

simulates on Windows 10:

Connected to OpenModelica v1.16.0-dev-448-g0dc974841 (64bit)
Connected to OMSimulator v2.1.0-dev-172-g8995b12-mingw

fails on Linux Ubuntu 18.04 (BUT "Try with old frontend once" SUCCEEDS):

Connected to OpenModelica 1.16.0~dev-499-g5284eba
Connected to OMSimulator unknown-linux

with

[35] 08:31:20 Translation Error
Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information.

[36] 08:31:20 Translation Error
Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!

[37] 08:31:20 Translation Error
4494:9-4494:59: Internal error function createStateSetsSets failed.

[38] 08:31:20 Translation Error
751:5-751:146: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]

Change History (2)

comment:1 Changed 4 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Solution: Update to MSL 3.2.3 build 4
Reason was: Modelica Standard Library version 3.2.2 on Ubuntu 18.04

(hint from Ticket 6023)

HeatingSytem.mo (MSL 3.2.3 build 4) simulates on Linux/Ubuntu 18.04, OpenModelica 1.16.0~dev-518-g332aaeb

comment:2 Changed 4 years ago by casella

You may also consider using the new package manager to handle these issues. Currently it is only avaliable as command-line tool, it should be integrated in the tool in the next 1.17.0 release.

Note: See TracTickets for help on using tickets.