Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 107.5 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009668/0.0009668, allocations: 198.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1669/0.1669, allocations: 38.02 MB / 329.9 MB, free: 9.094 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 60.83 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.124, allocations: 58.06 MB / 456.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009427/0.1334, allocations: 9.234 MB / 466 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.1387, allocations: 2.843 MB / 468.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008829/0.1396, allocations: 63.56 kB / 468.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.1417, allocations: 0.8075 MB / 469.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.1429, allocations: 493.9 kB / 470.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.144, allocations: 391.3 kB / 470.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.1458, allocations: 1.988 MB / 472.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.1467, allocations: 0.6695 MB / 473.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.1474, allocations: 497.8 kB / 473.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008673/0.1482, allocations: 0.732 MB / 474.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.1484, allocations: 56 kB / 474.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.1489, allocations: 263.5 kB / 474.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.1493, allocations: 478.8 kB / 475.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.1498, allocations: 0.5208 MB / 475.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008394/0.1506, allocations: 0.9901 MB / 476.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1507, allocations: 0 / 476.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1507, allocations: 0 / 476.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1507, allocations: 0 / 476.8 MB, free: 4.496 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002231/0.1529, allocations: 1.339 MB / 478.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.153, allocations: 8.031 kB / 478.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.1541, allocations: 187.4 kB / 478.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1552, allocations: 0.7038 MB / 479 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.1552, allocations: 62.36 kB / 479.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.1555, allocations: 120 kB / 479.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.1572, allocations: 1.22 MB / 480.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.1572, allocations: 3.938 kB / 480.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.1573, allocations: 40 kB / 480.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002534/0.1576, allocations: 65.95 kB / 480.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.159, allocations: 1.007 MB / 481.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.1644, allocations: 4.714 MB / 486.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1655, allocations: 0.6751 MB / 486.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.1661, allocations: 463.2 kB / 487.3 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.1662, allocations: 16.55 kB / 487.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007218/0.1669, allocations: 0.5221 MB / 487.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 4.098e-06/0.1669, allocations: 0 / 487.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004637/0.1716, allocations: 3.038 MB / 490.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.1717, allocations: 230.2 kB / 491.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.1723, allocations: 0.59 MB / 491.7 MB, free: 4.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.1724, allocations: 37.7 kB / 491.8 MB, free: 4.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.1727, allocations: 486.8 kB / 492.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.1729, allocations: 260.4 kB / 492.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.1731, allocations: 170.6 kB / 492.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1733, allocations: 386.8 kB / 493.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.1739, allocations: 385.8 kB / 493.4 MB, free: 3.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.1746, allocations: 0.6379 MB / 494.1 MB, free: 2.469 MB / 366.1 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.0049/0.1795, allocations: 2.225 MB / 496.3 MB, free: 132 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1795, allocations: 4 kB / 496.3 MB, free: 128 kB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002998/0.1825, allocations: 1.661 MB / 498 MB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.1826, allocations: 41.8 kB / 498 MB, free: 14.39 MB / 382.1 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.0005945/0.1832, allocations: 393.4 kB / 498.4 MB, free: 14.01 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated