Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.001474/0.001474, allocations: 112.2 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.001482/0.001482, allocations: 187.1 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.533/1.533, 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/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.1905/0.1905, allocations: 38.54 MB / 346.3 MB, free: 2.082 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.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid")
translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003251/0.003251, allocations: 63.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4128, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007837/0.4206, allocations: 6.675 MB / 0.5395 GB, free: 0.6562 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004625/0.4253, allocations: 1.9 MB / 0.5414 GB, free: 15.13 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.4258, allocations: 42.78 kB / 0.5414 GB, free: 15.11 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001568/0.4274, allocations: 460.2 kB / 0.5419 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001407/0.4288, allocations: 421.4 kB / 0.5423 GB, free: 14.41 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.4301, allocations: 358.5 kB / 0.5426 GB, free: 14.15 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001712/0.4318, allocations: 1.032 MB / 0.5436 GB, free: 13.57 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.4325, allocations: 356 kB / 0.544 GB, free: 13.34 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.4333, allocations: 476.9 kB / 0.5444 GB, free: 13.07 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.4345, allocations: 0.6081 MB / 0.545 GB, free: 12.71 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.4346, allocations: 66.28 kB / 0.5451 GB, free: 12.71 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.4355, allocations: 281.8 kB / 0.5453 GB, free: 12.6 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.436, allocations: 372.6 kB / 0.5457 GB, free: 12.36 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000664/0.4367, allocations: 426.4 kB / 0.5461 GB, free: 12.08 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001777/0.4385, allocations: 1.041 MB / 0.5471 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4385, allocations: 0 / 0.5471 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.744e-06/0.4385, allocations: 7.938 kB / 0.5471 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 2.11e-05/0.4385, allocations: 0 / 0.5471 GB, free: 11.39 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: 188
 * Number of variables: 188
Notification: Performance of Generate backend data structure: time 0.002775/0.4413, allocations: 1.073 MB / 0.5482 GB, free: 10.59 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.4413, allocations: 9.594 kB / 0.5482 GB, free: 10.59 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000898/0.4422, allocations: 132.7 kB / 0.5483 GB, free: 10.52 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.4437, allocations: 0.5433 MB / 0.5488 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.4437, allocations: 51.67 kB / 0.5489 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.444, allocations: 77.72 kB / 0.549 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.4459, allocations: 1.013 MB / 0.55 GB, free: 9.445 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.4459, allocations: 1.156 kB / 0.55 GB, free: 9.445 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.446, allocations: 25.7 kB / 0.55 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/0.4462, allocations: 79.28 kB / 0.5501 GB, free: 9.402 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.448, allocations: 0.9768 MB / 0.551 GB, free: 8.945 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/0.4545, allocations: 3.188 MB / 0.5541 GB, free: 6.305 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4557, allocations: 0.6322 MB / 0.5547 GB, free: 5.656 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.4563, allocations: 383.3 kB / 0.5551 GB, free: 5.273 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.4564, allocations: 17.42 kB / 0.5551 GB, free: 5.258 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.4564, allocations: 35.06 kB / 0.5552 GB, free: 5.215 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=73): time 3.246e-06/0.4564, allocations: 3.938 kB / 0.5552 GB, free: 5.211 MB / 398.1 MB
Notification: Performance of matching and sorting (n=75): time 0.004411/0.4608, allocations: 2.231 MB / 0.5573 GB, free: 2.945 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.4609, allocations: 81.77 kB / 0.5574 GB, free: 2.844 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.4615, allocations: 441.8 kB / 0.5578 GB, free: 2.402 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.4616, allocations: 41.7 kB / 0.5579 GB, free: 2.355 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.4618, allocations: 360.5 kB / 0.5582 GB, free: 1.996 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.4621, allocations: 273.6 kB / 0.5585 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.4623, allocations: 154.6 kB / 0.5586 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002175/0.4626, allocations: 374.7 kB / 0.559 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.4631, allocations: 345.7 kB / 0.5593 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.4638, allocations: 0.5186 MB / 0.5598 GB, free: 276 kB / 398.1 MB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3])
Notification: Performance of analyzeInitialSystem (initialization): time 0.005396/0.4692, allocations: 2.17 MB / 0.5619 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4692, allocations: 7.938 kB / 0.562 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of matching and sorting (n=107) (initialization): time 0.001887/0.4711, allocations: 1.023 MB / 0.563 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4711, allocations: 8 kB / 0.563 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4711, allocations: 8 kB / 0.563 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.4713, allocations: 32.84 kB / 0.563 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.4721, allocations: 195.6 kB / 0.5632 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.4735, allocations: 1.393 MB / 0.5645 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.4741, allocations: 35.97 kB / 0.5646 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.4742, allocations: 35.98 kB / 0.5646 GB, free: 11.16 MB / 414.1 MB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         ind.i[3] = ind.i_start[3].
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 24
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (95):
 * Single equations (assignments): 92
 * Array equations: 2
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004837/0.4747, allocations: 285.2 kB / 0.5649 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4749, allocations: 63.58 kB / 0.5649 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.4765, allocations: 0.8913 MB / 0.5658 GB, free: 9.918 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.4766, allocations: 20 kB / 0.5658 GB, free: 9.898 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4766, allocations: 8.141 kB / 0.5658 GB, free: 9.891 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4766, allocations: 11.91 kB / 0.5659 GB, free: 9.879 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.4807, allocations: 1.902 MB / 0.5677 GB, free: 7.863 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4807, allocations: 4 kB / 0.5677 GB, free: 7.859 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.4814, allocations: 151.7 kB / 0.5679 GB, free: 7.711 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.4815, allocations: 37.41 kB / 0.5679 GB, free: 7.672 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.4816, allocations: 27.98 kB / 0.5679 GB, free: 7.645 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.4831, allocations: 1.393 MB / 0.5693 GB, free: 6.137 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.4831, allocations: 11.94 kB / 0.5693 GB, free: 6.125 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.4856, allocations: 1.45 MB / 0.5707 GB, free: 4.598 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.4858, allocations: 63.56 kB / 0.5708 GB, free: 4.535 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.486, allocations: 28.05 kB / 0.5708 GB, free: 4.508 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.4864, allocations: 31.97 kB / 0.5708 GB, free: 4.477 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4865, allocations: 64.22 kB / 0.5709 GB, free: 4.414 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.4866, allocations: 24 kB / 0.5709 GB, free: 4.391 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0004608/0.4871, allocations: 303.1 kB / 0.5712 GB, free: 4.09 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4871, allocations: 4 kB / 0.5712 GB, free: 4.086 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0009184/0.488, allocations: 187.9 kB / 0.5714 GB, free: 3.902 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 20
 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2])
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (75):
 * Single equations (assignments): 71
 * Array equations: 2
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/0.4883, allocations: 155.1 kB / 0.5715 GB, free: 3.742 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001829/0.4902, allocations: 0.9066 MB / 0.5724 GB, free: 2.828 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4902, allocations: 0 / 0.5724 GB, free: 2.828 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.491, allocations: 0.4958 MB / 0.5729 GB, free: 2.324 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.4919, allocations: 138.8 kB / 0.573 GB, free: 2.195 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.4962, allocations: 2.009 MB / 0.575 GB, free: 96 kB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000986/0.4972, allocations: 1.02 MB / 0.576 GB, free: 15.04 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0006732/0.4978, allocations: 205.3 kB / 0.5762 GB, free: 14.84 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.4981, allocations: 55.42 kB / 0.5762 GB, free: 14.79 MB / 430.1 MB
Notification: Performance of SimCode: time 1.272e-06/0.4981, allocations: 0 / 0.5762 GB, free: 14.79 MB / 430.1 MB
Notification: Performance of Templates: time 0.02206/0.5201, allocations: 8.9 MB / 0.5849 GB, free: 5.938 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.511139870621264]
Failed to read output from testmodel.py, exit status != 0:
0.5325793130323291 0.5451965639999999 0.10341993799999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3c373217b0>