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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 175.6 kB / 17.4 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007446/0.0007445, allocations: 95.86 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1751/0.1751, allocations: 38.07 MB / 358.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005209, allocations: 15.98 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.317, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4559, allocations: 103.8 MB / 0.5717 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4563, allocations: 91.83 kB / 0.5717 GB, free: 14.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0773/0.5336, allocations: 27.02 MB / 0.5981 GB, free: 2.992 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.5337, allocations: 4 kB / 0.5981 GB, free: 2.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.48e-05/0.5338, allocations: 20 kB / 0.5982 GB, free: 2.969 MB / 426.7 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.003767/0.5375, allocations: 1.209 MB / 0.5993 GB, free: 1.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5376, allocations: 11.98 kB / 0.5994 GB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.5391, allocations: 197.2 kB / 0.5995 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.5416, allocations: 1.026 MB / 0.6005 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-05/0.5416, allocations: 58 kB / 0.6006 GB, free: 376 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.5419, allocations: 99.81 kB / 0.6007 GB, free: 276 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.544, allocations: 1.192 MB / 0.6019 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.544, allocations: 11.88 kB / 0.6019 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.5441, allocations: 32 kB / 0.6019 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-05/0.5442, allocations: 53.98 kB / 0.602 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.5459, allocations: 0.9717 MB / 0.6029 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.5522, allocations: 4.634 MB / 0.6074 GB, free: 9.117 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5532, allocations: 0.673 MB / 0.6081 GB, free: 8.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/0.554, allocations: 491.1 kB / 0.6086 GB, free: 7.945 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.284e-05/0.5541, allocations: 12.56 kB / 0.6086 GB, free: 7.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008451/0.5549, allocations: 0.5455 MB / 0.6091 GB, free: 7.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 3.997e-06/0.5549, allocations: 4 kB / 0.6091 GB, free: 7.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=79): time 0.005304/0.5602, allocations: 3.139 MB / 0.6122 GB, free: 4.125 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.5604, allocations: 222.3 kB / 0.6124 GB, free: 3.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.5612, allocations: 0.582 MB / 0.6129 GB, free: 3.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.614e-05/0.5613, allocations: 41.7 kB / 0.613 GB, free: 3.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.5617, allocations: 463.1 kB / 0.6134 GB, free: 2.762 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.562, allocations: 280.2 kB / 0.6137 GB, free: 2.484 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.5621, allocations: 19.98 kB / 0.6137 GB, free: 2.465 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.5623, allocations: 394.7 kB / 0.6141 GB, free: 2.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.563, allocations: 393.8 kB / 0.6145 GB, free: 1.688 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/0.5638, allocations: 0.6401 MB / 0.6151 GB, free: 0.9453 MB / 442.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.009737/0.5736, allocations: 3.553 MB / 0.6186 GB, free: 13.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.5736, allocations: 0 / 0.6186 GB, free: 13.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003283/0.5769, allocations: 1.685 MB / 0.6202 GB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.577, allocations: 33.7 kB / 0.6202 GB, free: 11.54 MB / 458.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.0006335/0.5776, allocations: 419.1 kB / 0.6206 GB, free: 11.13 MB / 458.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated