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.001625/0.001625, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001874/0.001874, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1741/0.1741, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 55.91 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3113, allocations: 58.06 MB / 0.5048 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.006679/0.318, allocations: 7.575 MB / 0.5122 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.3212, allocations: 2.318 MB / 0.5144 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.3215, allocations: 29.62 kB / 0.5145 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.3234, allocations: 0.8603 MB / 0.5153 GB, free: 212 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009465/0.3244, allocations: 0.5145 MB / 0.5158 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3255, allocations: 447.9 kB / 0.5162 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.3269, allocations: 1.324 MB / 0.5175 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008462/0.3278, allocations: 0.6856 MB / 0.5182 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008172/0.3286, allocations: 0.5847 MB / 0.5188 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.3297, allocations: 0.6897 MB / 0.5194 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.3298, allocations: 80.59 kB / 0.5195 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000524/0.3304, allocations: 270.8 kB / 0.5198 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.3309, allocations: 0.4957 MB / 0.5203 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.3314, allocations: 0.5427 MB / 0.5208 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.3328, allocations: 1.315 MB / 0.5221 GB, free: 13.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3328, allocations: 0 / 0.5221 GB, free: 13.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3328, allocations: 0 / 0.5221 GB, free: 13.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.3328, allocations: 0 / 0.5221 GB, free: 13.28 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.002359/0.3352, allocations: 1.339 MB / 0.5234 GB, free: 12.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3352, allocations: 12.11 kB / 0.5234 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.3364, allocations: 189.2 kB / 0.5236 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.3376, allocations: 0.74 MB / 0.5243 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.3377, allocations: 60.47 kB / 0.5244 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.338, allocations: 119.4 kB / 0.5245 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.3398, allocations: 1.222 MB / 0.5257 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.3399, allocations: 6.828 kB / 0.5257 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/0.34, allocations: 38.16 kB / 0.5257 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002657/0.3402, allocations: 62.69 kB / 0.5258 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.342, allocations: 1.011 MB / 0.5267 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/0.3478, allocations: 4.697 MB / 0.5313 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.349, allocations: 0.6856 MB / 0.532 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.3497, allocations: 457.7 kB / 0.5324 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.3498, allocations: 20.58 kB / 0.5325 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008274/0.3506, allocations: 0.5192 MB / 0.533 GB, free: 6.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 5.44e-06/0.3506, allocations: 1.375 kB / 0.533 GB, free: 6.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005273/0.3559, allocations: 3.043 MB / 0.5359 GB, free: 4.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.356, allocations: 224.7 kB / 0.5362 GB, free: 4.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.3567, allocations: 0.5922 MB / 0.5367 GB, free: 4.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.3568, allocations: 41.97 kB / 0.5368 GB, free: 4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.3572, allocations: 478.9 kB / 0.5372 GB, free: 3.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.3574, allocations: 255.3 kB / 0.5375 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.3577, allocations: 175.4 kB / 0.5376 GB, free: 3.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3579, allocations: 391.2 kB / 0.538 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/0.3585, allocations: 386 kB / 0.5384 GB, free: 2.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.3593, allocations: 0.6378 MB / 0.539 GB, free: 2.188 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.00524/0.3645, allocations: 2.227 MB / 0.5412 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3645, allocations: 2.75 kB / 0.5412 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003307/0.3679, allocations: 1.656 MB / 0.5428 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.3679, allocations: 33.95 kB / 0.5428 GB, free: 15.93 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.0006444/0.3686, allocations: 400.5 kB / 0.5432 GB, free: 15.73 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.Introductory.SimulationSteadyInitial could not be translated