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.001498/0.001498, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001749/0.001749, allocations: 187.1 kB / 18.67 MB, free: 4.434 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.176/0.176, allocations: 38.04 MB / 330.6 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 58.05 MB / 0.5048 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007952/0.3343, allocations: 7.58 MB / 0.5122 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.3384, allocations: 2.322 MB / 0.5144 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006519/0.3391, allocations: 26.19 kB / 0.5145 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.3413, allocations: 0.8547 MB / 0.5153 GB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.3426, allocations: 0.5106 MB / 0.5158 GB, free: 8 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.344, allocations: 446.5 kB / 0.5162 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.346, allocations: 1.329 MB / 0.5175 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.3471, allocations: 0.6916 MB / 0.5182 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.3486, allocations: 0.5805 MB / 0.5188 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.3502, allocations: 0.6891 MB / 0.5194 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.3503, allocations: 81.69 kB / 0.5195 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007331/0.3511, allocations: 270.5 kB / 0.5198 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.3518, allocations: 0.4954 MB / 0.5203 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007752/0.3525, allocations: 0.5431 MB / 0.5208 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.3546, allocations: 1.315 MB / 0.5221 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3547, allocations: 0 / 0.5221 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.3547, allocations: 0 / 0.5221 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.3547, allocations: 9.062 kB / 0.5221 GB, free: 13.38 MB / 398.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.003077/0.3578, allocations: 1.332 MB / 0.5234 GB, free: 12.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3579, allocations: 18.14 kB / 0.5234 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3592, allocations: 187.8 kB / 0.5236 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.3607, allocations: 0.74 MB / 0.5243 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.3607, allocations: 61.75 kB / 0.5244 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/0.3611, allocations: 118.6 kB / 0.5245 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.3634, allocations: 1.215 MB / 0.5257 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.3635, allocations: 10.88 kB / 0.5257 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.3636, allocations: 33.86 kB / 0.5257 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/0.3639, allocations: 61.83 kB / 0.5258 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.3658, allocations: 1.012 MB / 0.5267 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007186/0.373, allocations: 4.705 MB / 0.5313 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.3743, allocations: 0.6771 MB / 0.532 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.3751, allocations: 460.2 kB / 0.5324 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.827e-05/0.3752, allocations: 16.89 kB / 0.5325 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008813/0.3761, allocations: 0.5201 MB / 0.533 GB, free: 6.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.665e-06/0.3761, allocations: 3.938 kB / 0.533 GB, free: 6.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005974/0.3821, allocations: 3.032 MB / 0.5359 GB, free: 4.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002187/0.3823, allocations: 229.5 kB / 0.5361 GB, free: 4.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/0.3832, allocations: 0.5915 MB / 0.5367 GB, free: 4.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.908e-05/0.3833, allocations: 42.12 kB / 0.5368 GB, free: 4.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.3838, allocations: 479.1 kB / 0.5372 GB, free: 3.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.384, allocations: 260.3 kB / 0.5375 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.3843, allocations: 174.3 kB / 0.5376 GB, free: 3.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3845, allocations: 388.3 kB / 0.538 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.3852, allocations: 384.5 kB / 0.5384 GB, free: 2.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000821/0.386, allocations: 0.6384 MB / 0.539 GB, free: 2.219 MB / 398.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.005581/0.3916, allocations: 2.228 MB / 0.5412 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.3916, allocations: 2.406 kB / 0.5412 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003794/0.3954, allocations: 1.66 MB / 0.5428 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.3955, allocations: 35.33 kB / 0.5428 GB, free: 15.95 MB / 414.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.000752/0.3963, allocations: 397.5 kB / 0.5432 GB, free: 15.76 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated