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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 188.1 kB / 23.72 MB, free: 4.711 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1829/0.1829, allocations: 38.54 MB / 346.3 MB, free: 2.223 MB / 270.1 MB
"
[Timeout remaining time 179]
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=1000,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=1000,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003396/0.003396, allocations: 71.86 kB / 484.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4085, allocations: 61.29 MB / 0.533 GB, free: 5.59 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008967/0.4175, allocations: 7.773 MB / 0.5406 GB, free: 15.78 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005205/0.4227, allocations: 2.349 MB / 0.5429 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.4233, allocations: 36.88 kB / 0.543 GB, free: 13.88 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002601/0.4259, allocations: 0.8879 MB / 0.5438 GB, free: 13.19 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4274, allocations: 0.5092 MB / 0.5443 GB, free: 12.77 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.4289, allocations: 459.5 kB / 0.5448 GB, free: 12.43 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002205/0.4311, allocations: 1.32 MB / 0.546 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.4322, allocations: 460.3 kB / 0.5465 GB, free: 11.4 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.4339, allocations: 0.5909 MB / 0.5471 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.4354, allocations: 0.748 MB / 0.5478 GB, free: 10.6 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.4357, allocations: 81.47 kB / 0.5479 GB, free: 10.6 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008563/0.4366, allocations: 287.8 kB / 0.5481 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0006037/0.4372, allocations: 0.5026 MB / 0.5486 GB, free: 10.17 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007122/0.4379, allocations: 0.5443 MB / 0.5492 GB, free: 9.805 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001861/0.4397, allocations: 1.323 MB / 0.5505 GB, free: 8.93 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4397, allocations: 5.219 kB / 0.5505 GB, free: 8.926 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.784e-06/0.4397, allocations: 3.938 kB / 0.5505 GB, free: 8.922 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 2.67e-05/0.4398, allocations: 4 kB / 0.5505 GB, free: 8.918 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.003009/0.4428, allocations: 1.289 MB / 0.5517 GB, free: 7.945 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4428, allocations: 13.61 kB / 0.5517 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.4442, allocations: 192.1 kB / 0.5519 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.4459, allocations: 0.6644 MB / 0.5526 GB, free: 7.375 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/0.446, allocations: 60.81 kB / 0.5526 GB, free: 7.348 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.4463, allocations: 123.6 kB / 0.5528 GB, free: 7.297 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.4487, allocations: 1.221 MB / 0.5539 GB, free: 6.5 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.4488, allocations: 10.17 kB / 0.554 GB, free: 6.492 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.4489, allocations: 33.16 kB / 0.554 GB, free: 6.469 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/0.4492, allocations: 63.19 kB / 0.554 GB, free: 6.449 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.451, allocations: 1.011 MB / 0.555 GB, free: 5.441 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007296/0.4583, allocations: 4.628 MB / 0.5596 GB, free: 0.6211 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.4596, allocations: 0.6373 MB / 0.5602 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.4603, allocations: 419.5 kB / 0.5606 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/0.4604, allocations: 16.62 kB / 0.5606 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008913/0.4612, allocations: 0.5229 MB / 0.5611 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=71): time 2.955e-06/0.4612, allocations: 0 / 0.5611 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of matching and sorting (n=75): time 0.005801/0.467, allocations: 3.012 MB / 0.564 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.4672, allocations: 230.3 kB / 0.5643 GB, free: 11.62 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.468, allocations: 0.59 MB / 0.5648 GB, free: 11.03 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.083e-05/0.4681, allocations: 37.7 kB / 0.5649 GB, free: 10.98 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.4686, allocations: 488.1 kB / 0.5653 GB, free: 10.5 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.4689, allocations: 269.8 kB / 0.5656 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.4692, allocations: 178.5 kB / 0.5658 GB, free: 10.05 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002288/0.4694, allocations: 394.7 kB / 0.5661 GB, free: 9.66 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.4701, allocations: 385.8 kB / 0.5665 GB, free: 9.281 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.471, allocations: 0.634 MB / 0.5671 GB, free: 8.539 MB / 414.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.005838/0.4768, allocations: 2.225 MB / 0.5693 GB, free: 6.203 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4768, allocations: 4 kB / 0.5693 GB, free: 6.199 MB / 414.1 MB
Notification: Performance of matching and sorting (n=120) (initialization): time 0.003577/0.4804, allocations: 1.638 MB / 0.5709 GB, free: 4.539 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.4804, allocations: 37.8 kB / 0.5709 GB, free: 4.496 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 <failed> postOpt simplifyComplexFunction (initialization): time 0.0007434/0.4812, allocations: 391.8 kB / 0.5713 GB, free: 4.109 MB / 414.1 MB
Error: post-optimization module simplifyComplexFunction (initialization) failed.
Error: No system for the symbolic initialization was generated
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 3.407847937196493]
Failed to read output from testmodel.py, exit status != 0:
0.49247381277382374 0.505206433 0.06211619300000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f31e66017b0>