Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001372/0.001372, 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.001488/0.001488, allocations: 189.6 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.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1877/0.1877, allocations: 38.53 MB / 346.3 MB, free: 2.086 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/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid")
translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 72.02 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008368/0.3743, allocations: 7.194 MB / 0.54 GB, free: 272 kB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005928/0.3802, allocations: 2.397 MB / 0.5424 GB, free: 14.36 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.3809, allocations: 38.75 kB / 0.5424 GB, free: 14.34 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001956/0.3829, allocations: 0.5449 MB / 0.543 GB, free: 13.91 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002135/0.385, allocations: 0.6092 MB / 0.5436 GB, free: 13.43 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.3866, allocations: 0.5107 MB / 0.5441 GB, free: 13.04 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002909/0.3895, allocations: 2.007 MB / 0.546 GB, free: 11.86 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.3908, allocations: 0.6632 MB / 0.5467 GB, free: 11.4 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.3925, allocations: 0.814 MB / 0.5475 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.3943, allocations: 1.005 MB / 0.5484 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.3946, allocations: 158.8 kB / 0.5486 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.3961, allocations: 0.6868 MB / 0.5493 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008038/0.3969, allocations: 0.659 MB / 0.5499 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009376/0.3979, allocations: 0.6778 MB / 0.5506 GB, free: 9.117 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002994/0.4008, allocations: 2.081 MB / 0.5526 GB, free: 7.684 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4009, allocations: 0 / 0.5526 GB, free: 7.684 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.623e-06/0.4009, allocations: 0 / 0.5526 GB, free: 7.684 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.546e-05/0.4009, allocations: 5 kB / 0.5526 GB, free: 7.68 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.005522/0.4064, allocations: 1.83 MB / 0.5544 GB, free: 6.156 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4065, allocations: 12.03 kB / 0.5544 GB, free: 6.145 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009949/0.4075, allocations: 184.1 kB / 0.5546 GB, free: 5.965 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.4102, allocations: 0.8526 MB / 0.5554 GB, free: 5.086 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007548/0.4109, allocations: 0.5067 MB / 0.5559 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.4114, allocations: 111.9 kB / 0.556 GB, free: 4.395 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.4166, allocations: 2.051 MB / 0.558 GB, free: 2.285 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.4166, allocations: 7.891 kB / 0.558 GB, free: 2.277 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.4168, allocations: 36 kB / 0.5581 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002724/0.417, allocations: 89.94 kB / 0.5581 GB, free: 2.156 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005855/0.4229, allocations: 2.252 MB / 0.5603 GB, free: 15.9 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.4342, allocations: 5.687 MB / 0.5659 GB, free: 10.09 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004767/0.439, allocations: 1.525 MB / 0.5674 GB, free: 8.543 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/0.4418, allocations: 1.043 MB / 0.5684 GB, free: 7.496 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.4419, allocations: 13 kB / 0.5684 GB, free: 7.484 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00334/0.4453, allocations: 1.314 MB / 0.5697 GB, free: 6.148 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=116): time 4.408e-06/0.4453, allocations: 0 / 0.5697 GB, free: 6.148 MB / 414.1 MB
Notification: Performance of matching and sorting (n=118): time 0.03039/0.4757, allocations: 8.368 MB / 0.5779 GB, free: 13.75 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.4758, allocations: 98.11 kB / 0.578 GB, free: 13.63 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.4767, allocations: 0.5183 MB / 0.5785 GB, free: 13.1 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003626/0.477, allocations: 57.69 kB / 0.5785 GB, free: 13.04 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.4775, allocations: 409.2 kB / 0.5789 GB, free: 12.63 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.478, allocations: 420.5 kB / 0.5793 GB, free: 12.22 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004503/0.4785, allocations: 214.9 kB / 0.5795 GB, free: 12 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002531/0.4787, allocations: 402.7 kB / 0.5799 GB, free: 11.6 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.4809, allocations: 0.9706 MB / 0.5809 GB, free: 10.63 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.4832, allocations: 1.162 MB / 0.582 GB, free: 9.41 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.01383/0.4971, allocations: 5.022 MB / 0.5869 GB, free: 4.316 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.4971, allocations: 4 kB / 0.5869 GB, free: 4.312 MB / 430.1 MB
Notification: Performance of matching and sorting (n=158) (initialization): time 0.01418/0.5113, allocations: 4.34 MB / 0.5911 GB, free: 15.95 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.5114, allocations: 61.83 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.002735/0.5141, allocations: 1.05 MB / 0.5922 GB, free: 14.83 MB / 446.1 MB
Error: post-optimization module simplifyComplexFunction (initialization) failed.
Error: No system for the symbolic initialization was generated
"
[Timeout remaining time 659]
[Calling sys.exit(0), Time elapsed: 3.1887836046516895]
Failed to read output from testmodel.py, exit status != 0:
0.5235144942998886 0.538338634 0.134243959
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f755a8497b0>