Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009607/0.0009606, allocations: 180.5 kB / 16.71 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.0008443, allocations: 94.22 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2754/0.2754, allocations: 38.18 MB / 383.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002711, allocations: 8 kB / 453.6 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2821, allocations: 59.14 MB / 0.5007 GB, free: 38.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01152/0.2936, allocations: 14 MB / 0.5144 GB, free: 31.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.3049, allocations: 12.3 MB / 0.5264 GB, free: 21.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.307, allocations: 80.62 kB / 0.5264 GB, free: 21.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1094/0.4165, allocations: 94.83 MB / 0.6191 GB, free: 13.56 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.4198, allocations: 1.389 MB / 0.6204 GB, free: 12.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.4219, allocations: 0.9556 MB / 0.6213 GB, free: 11.21 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0192/0.4411, allocations: 17.14 MB / 0.6381 GB, free: 10.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.4441, allocations: 2.738 MB / 0.6408 GB, free: 7.039 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02974/0.4739, allocations: 24.44 MB / 0.6646 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.4761, allocations: 1.861 MB / 0.6664 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.4763, allocations: 108 kB / 0.6665 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.4779, allocations: 0.8852 MB / 0.6674 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009857/0.4789, allocations: 1.196 MB / 0.6686 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.48, allocations: 1.272 MB / 0.6698 GB, free: 9.219 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.483, allocations: 3.741 MB / 0.6735 GB, free: 5.465 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.483, allocations: 0 / 0.6735 GB, free: 5.465 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.483, allocations: 0 / 0.6735 GB, free: 5.465 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.4831, allocations: 4 kB / 0.6735 GB, free: 5.461 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.004431/0.4875, allocations: 2.702 MB / 0.6761 GB, free: 2.672 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.4875, allocations: 8.031 kB / 0.6761 GB, free: 2.664 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.4893, allocations: 461.1 kB / 0.6766 GB, free: 2.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.4921, allocations: 1.792 MB / 0.6783 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.4922, allocations: 163.9 kB / 0.6785 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1673/0.6595, allocations: 252.8 kB / 0.6787 GB, free: 145.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004864/0.6643, allocations: 3.175 MB / 0.6818 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.6644, allocations: 12.38 kB / 0.6818 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.6646, allocations: 91.86 kB / 0.6819 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005659/0.6652, allocations: 214 kB / 0.6821 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004308/0.6695, allocations: 2.852 MB / 0.6849 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.6814, allocations: 11.62 MB / 0.6963 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.6839, allocations: 2.59 MB / 0.6988 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.6857, allocations: 1.536 MB / 0.7003 GB, free: 136.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.914e-05/0.6858, allocations: 33 kB / 0.7003 GB, free: 136.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.6876, allocations: 1.707 MB / 0.702 GB, free: 135.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 3.687e-06/0.6876, allocations: 0 / 0.702 GB, free: 135.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.01716/0.7048, allocations: 11.56 MB / 0.7133 GB, free: 130.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.7049, allocations: 413.3 kB / 0.7137 GB, free: 129.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.7063, allocations: 1.459 MB / 0.7151 GB, free: 129.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.7064, allocations: 80.8 kB / 0.7152 GB, free: 129.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000537/0.707, allocations: 1.009 MB / 0.7162 GB, free: 128.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/0.7074, allocations: 0.8501 MB / 0.717 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.7076, allocations: 57.38 kB / 0.717 GB, free: 127.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7077, allocations: 440.6 kB / 0.7175 GB, free: 127.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.7094, allocations: 1.311 MB / 0.7187 GB, free: 127 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.7115, allocations: 1.999 MB / 0.7207 GB, free: 125.8 MB / 490.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/0.7256, allocations: 6.955 MB / 0.7275 GB, free: 122.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.7256, allocations: 5.875 kB / 0.7275 GB, free: 122.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.00918/0.7348, allocations: 5.299 MB / 0.7327 GB, free: 120.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.7351, allocations: 0.6873 MB / 0.7333 GB, free: 120 MB / 490.7 MB 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001788/0.7369, allocations: 1.353 MB / 0.7347 GB, free: 119.4 MB / 490.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated