Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.001541/0.001541, allocations: 110.5 kB / 16.62 MB, free: 6.961 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.001519/0.001519, allocations: 190 kB / 17.54 MB, free: 6.066 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.413/1.413, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1746/0.1746, allocations: 38.03 MB / 329.4 MB, free: 8.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 65.72 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1229, allocations: 58.06 MB / 456.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01072/0.1336, allocations: 9.222 MB / 465.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005862/0.1395, allocations: 2.812 MB / 468.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009584/0.1405, allocations: 67.56 kB / 468.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.1428, allocations: 0.8088 MB / 469.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.1441, allocations: 477.9 kB / 469.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.1454, allocations: 411.3 kB / 470.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.1467, allocations: 1.317 MB / 471.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/0.1477, allocations: 0.7479 MB / 472.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007357/0.1485, allocations: 0.568 MB / 472.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009409/0.1494, allocations: 0.7398 MB / 473.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1496, allocations: 84 kB / 473.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.1502, allocations: 267.6 kB / 473.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.1507, allocations: 0.5026 MB / 474.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.1514, allocations: 0.5365 MB / 474.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.1532, allocations: 1.308 MB / 476.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.1532, allocations: 0 / 476.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1532, allocations: 3.938 kB / 476.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.1532, allocations: 0 / 476.2 MB, free: 4.484 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.003072/0.1563, allocations: 1.331 MB / 477.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.1564, allocations: 11.89 kB / 477.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.1576, allocations: 191.4 kB / 477.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.1588, allocations: 0.6961 MB / 478.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.1589, allocations: 66.36 kB / 478.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.1591, allocations: 123.9 kB / 478.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.1612, allocations: 1.227 MB / 479.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.1612, allocations: 4 kB / 479.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.736e-05/0.1614, allocations: 32 kB / 479.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002994/0.1617, allocations: 65.95 kB / 479.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.1633, allocations: 1.011 MB / 480.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005961/0.1693, allocations: 4.718 MB / 485.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1704, allocations: 0.6798 MB / 486.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.1711, allocations: 463.2 kB / 486.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.1712, allocations: 12.5 kB / 486.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008059/0.172, allocations: 0.5259 MB / 487.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 4.078e-06/0.172, allocations: 4 kB / 487.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005119/0.1771, allocations: 3.034 MB / 490.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.1773, allocations: 222.1 kB / 490.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.178, allocations: 0.5901 MB / 491.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.1781, allocations: 41.7 kB / 491.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.1784, allocations: 478.9 kB / 491.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.1787, allocations: 264.4 kB / 491.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.1789, allocations: 166.6 kB / 492.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1791, allocations: 386.8 kB / 492.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.1797, allocations: 385.8 kB / 492.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.1805, allocations: 0.6457 MB / 493.5 MB, free: 2.445 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.005195/0.1857, allocations: 2.24 MB / 495.7 MB, free: 92 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1857, allocations: 0 / 495.7 MB, free: 92 kB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003257/0.189, allocations: 1.657 MB / 497.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.1891, allocations: 37.69 kB / 497.4 MB, free: 14.36 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.0006387/0.1897, allocations: 397.4 kB / 497.8 MB, free: 13.98 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated