Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.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.001305/0.001305, allocations: 112 kB / 20.43 MB, free: 1.449 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.001559/0.001559, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.472/1.472, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1881/0.1881, allocations: 38.54 MB / 346.3 MB, free: 2.105 MB / 270.1 MB
"
[Timeout remaining time 180]
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.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid")
translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.88 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 61.28 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008254/0.3265, allocations: 7.194 MB / 0.5401 GB, free: 260 kB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00483/0.3313, allocations: 2.405 MB / 0.5424 GB, free: 14.34 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.3319, allocations: 38.97 kB / 0.5424 GB, free: 14.32 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001667/0.3336, allocations: 0.5429 MB / 0.543 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001546/0.3352, allocations: 0.6082 MB / 0.5436 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3364, allocations: 0.5076 MB / 0.5441 GB, free: 13.02 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002296/0.3387, allocations: 2.011 MB / 0.546 GB, free: 11.84 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.3397, allocations: 0.6631 MB / 0.5467 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.341, allocations: 0.8154 MB / 0.5475 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.3426, allocations: 1.003 MB / 0.5484 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.343, allocations: 159.7 kB / 0.5486 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.3446, allocations: 0.6869 MB / 0.5493 GB, free: 10.02 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0009009/0.3455, allocations: 0.6546 MB / 0.5499 GB, free: 9.582 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001281/0.3467, allocations: 0.6817 MB / 0.5506 GB, free: 9.098 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003368/0.3501, allocations: 2.077 MB / 0.5526 GB, free: 7.668 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3501, allocations: 0 / 0.5526 GB, free: 7.668 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.843e-06/0.3501, allocations: 0 / 0.5526 GB, free: 7.668 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.113e-05/0.3502, allocations: 1.219 kB / 0.5526 GB, free: 7.668 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: 264
 * Number of variables: 264
Notification: Performance of Generate backend data structure: time 0.005907/0.3561, allocations: 1.835 MB / 0.5544 GB, free: 6.152 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3561, allocations: 8.031 kB / 0.5544 GB, free: 6.145 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.3571, allocations: 184.1 kB / 0.5546 GB, free: 5.965 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.3595, allocations: 0.8604 MB / 0.5554 GB, free: 5.078 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007129/0.3603, allocations: 0.5028 MB / 0.5559 GB, free: 4.5 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.3606, allocations: 111.9 kB / 0.556 GB, free: 4.391 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/0.3653, allocations: 2.055 MB / 0.558 GB, free: 2.277 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.3653, allocations: 3.953 kB / 0.558 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.3655, allocations: 36 kB / 0.5581 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000259/0.3657, allocations: 93.88 kB / 0.5582 GB, free: 2.148 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005427/0.3712, allocations: 2.252 MB / 0.5604 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.3822, allocations: 5.687 MB / 0.5659 GB, free: 10.08 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004535/0.3868, allocations: 1.518 MB / 0.5674 GB, free: 8.547 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.3896, allocations: 1.047 MB / 0.5684 GB, free: 7.496 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.167e-05/0.3897, allocations: 12.98 kB / 0.5684 GB, free: 7.484 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003199/0.3929, allocations: 1.32 MB / 0.5697 GB, free: 6.141 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=116): time 4.098e-06/0.3929, allocations: 0 / 0.5697 GB, free: 6.141 MB / 414.1 MB
Notification: Performance of matching and sorting (n=118): time 0.03056/0.4235, allocations: 8.364 MB / 0.5779 GB, free: 13.74 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4236, allocations: 102.1 kB / 0.578 GB, free: 13.62 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.4244, allocations: 0.5183 MB / 0.5785 GB, free: 13.09 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.4248, allocations: 49.7 kB / 0.5785 GB, free: 13.04 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.4252, allocations: 417.2 kB / 0.5789 GB, free: 12.62 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006/0.4258, allocations: 416.5 kB / 0.5793 GB, free: 12.21 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/0.4262, allocations: 218.9 kB / 0.5795 GB, free: 11.99 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002512/0.4265, allocations: 390.8 kB / 0.5799 GB, free: 11.6 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.4287, allocations: 0.9784 MB / 0.5809 GB, free: 10.62 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.431, allocations: 1.166 MB / 0.582 GB, free: 9.402 MB / 430.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.01321/0.4442, allocations: 5.018 MB / 0.5869 GB, free: 4.312 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4442, allocations: 0 / 0.5869 GB, free: 4.312 MB / 430.1 MB
Notification: Performance of matching and sorting (n=158) (initialization): time 0.01431/0.4585, allocations: 4.344 MB / 0.5911 GB, free: 15.95 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4587, allocations: 61.67 kB / 0.5912 GB, free: 15.89 MB / 446.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.002553/0.4612, allocations: 1.054 MB / 0.5922 GB, free: 14.82 MB / 446.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.1145208049565554]
Failed to read output from testmodel.py, exit status != 0:
0.46951327938586473 0.48387834799999996 0.13057576099999996
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff5460217b0>