Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.001766/0.001766, 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.001958/0.001958, 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.548/1.548, 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.1984/0.1984, allocations: 38.53 MB / 346.3 MB, free: 2.16 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/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.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad")
translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3723, allocations: 61.3 MB / 0.533 GB, free: 5.574 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.007101/0.3794, allocations: 6.671 MB / 0.5395 GB, free: 0.6914 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004429/0.3838, allocations: 2.472 MB / 0.542 GB, free: 14.73 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.3844, allocations: 36.84 kB / 0.542 GB, free: 14.71 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001393/0.3858, allocations: 455 kB / 0.5424 GB, free: 14.35 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001685/0.3874, allocations: 0.5976 MB / 0.543 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.389, allocations: 495.8 kB / 0.5435 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003495/0.3925, allocations: 1.971 MB / 0.5454 GB, free: 12.36 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3937, allocations: 0.6246 MB / 0.546 GB, free: 11.93 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.3953, allocations: 0.8082 MB / 0.5468 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.3975, allocations: 1.033 MB / 0.5478 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.398, allocations: 164.9 kB / 0.548 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.3995, allocations: 0.6783 MB / 0.5486 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000893/0.4004, allocations: 0.6524 MB / 0.5493 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001051/0.4014, allocations: 0.6784 MB / 0.5499 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003062/0.4045, allocations: 2.044 MB / 0.5519 GB, free: 8.227 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4045, allocations: 0 / 0.5519 GB, free: 8.227 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.844e-06/0.4045, allocations: 4 kB / 0.5519 GB, free: 8.223 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.052e-05/0.4045, allocations: 0 / 0.5519 GB, free: 8.223 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: 251
 * Number of variables: 251
Notification: Performance of Generate backend data structure: time 0.005688/0.4102, allocations: 1.865 MB / 0.5538 GB, free: 6.828 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4102, allocations: 11.97 kB / 0.5538 GB, free: 6.816 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.4111, allocations: 168.2 kB / 0.5539 GB, free: 6.652 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.4138, allocations: 0.8995 MB / 0.5548 GB, free: 5.727 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007217/0.4145, allocations: 0.5028 MB / 0.5553 GB, free: 5.148 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.4148, allocations: 99.89 kB / 0.5554 GB, free: 5.051 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004806/0.4197, allocations: 2.015 MB / 0.5574 GB, free: 2.996 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.4197, allocations: 4 kB / 0.5574 GB, free: 2.992 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.4198, allocations: 35.98 kB / 0.5574 GB, free: 2.957 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.4201, allocations: 89.89 kB / 0.5575 GB, free: 2.867 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005583/0.4257, allocations: 2.24 MB / 0.5597 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.4368, allocations: 5.601 MB / 0.5651 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004947/0.4417, allocations: 1.624 MB / 0.5667 GB, free: 9.285 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.4445, allocations: 1.062 MB / 0.5678 GB, free: 8.223 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/0.4446, allocations: 16.98 kB / 0.5678 GB, free: 8.207 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003201/0.4478, allocations: 1.395 MB / 0.5691 GB, free: 6.789 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=123): time 3.056e-06/0.4478, allocations: 0 / 0.5691 GB, free: 6.789 MB / 414.1 MB
Notification: Performance of matching and sorting (n=124): time 0.01542/0.4632, allocations: 5.572 MB / 0.5746 GB, free: 1.184 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.4633, allocations: 102.1 kB / 0.5747 GB, free: 1.066 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.464, allocations: 0.4902 MB / 0.5752 GB, free: 0.5664 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.00017/0.4642, allocations: 57.7 kB / 0.5752 GB, free: 0.5039 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.4645, allocations: 373.5 kB / 0.5756 GB, free: 136 kB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004922/0.465, allocations: 432.5 kB / 0.576 GB, free: 15.7 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004526/0.4655, allocations: 222.9 kB / 0.5762 GB, free: 15.48 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002147/0.4657, allocations: 398.7 kB / 0.5766 GB, free: 15.08 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.4679, allocations: 1.025 MB / 0.5776 GB, free: 14.05 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.4702, allocations: 1.188 MB / 0.5787 GB, free: 12.82 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.4746, allocations: 2.035 MB / 0.5807 GB, free: 10.75 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.4746, allocations: 4 kB / 0.5807 GB, free: 10.74 MB / 430.1 MB
Notification: Performance of matching and sorting (n=161) (initialization): time 0.01199/0.4866, allocations: 3.88 MB / 0.5845 GB, free: 6.852 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.4867, allocations: 61.67 kB / 0.5846 GB, free: 6.785 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4867, allocations: 4 kB / 0.5846 GB, free: 6.781 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006558/0.4933, allocations: 2.077 MB / 0.5866 GB, free: 4.699 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4944, allocations: 191.7 kB / 0.5868 GB, free: 4.512 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0291/0.5235, allocations: 11.2 MB / 0.5977 GB, free: 9.18 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.5251, allocations: 163.8 kB / 0.5979 GB, free: 9.02 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/0.5255, allocations: 75.92 kB / 0.598 GB, free: 8.945 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (106):
 * Single equations (assignments): 101
 * Array equations: 3
 * Algorithm blocks: 1
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(6,21)}
Notification: Performance of prepare postOptimizeDAE: time 0.001048/0.5265, allocations: 384.4 kB / 0.5983 GB, free: 8.562 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/0.5269, allocations: 87.47 kB / 0.5984 GB, free: 8.477 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006683/0.5336, allocations: 2.354 MB / 0.6007 GB, free: 6.113 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-05/0.5337, allocations: 35.92 kB / 0.6007 GB, free: 6.078 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5337, allocations: 128 / 0.6007 GB, free: 6.078 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.5337, allocations: 3.984 kB / 0.6008 GB, free: 6.074 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.544, allocations: 4.077 MB / 0.6047 GB, free: 1.922 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.544, allocations: 7.984 kB / 0.6047 GB, free: 1.914 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01213/0.5562, allocations: 2.021 MB / 0.6067 GB, free: 15.89 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.528e-05/0.5562, allocations: 11.94 kB / 0.6067 GB, free: 15.88 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000412/0.5566, allocations: 31.97 kB / 0.6068 GB, free: 15.85 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.685e-05/0.5566, allocations: 8 kB / 0.6068 GB, free: 15.84 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5566, allocations: 0 / 0.6068 GB, free: 15.84 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.5676, allocations: 3.879 MB / 0.6106 GB, free: 11.91 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.5687, allocations: 267.2 kB / 0.6108 GB, free: 11.65 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004621/0.5692, allocations: 91.88 kB / 0.6109 GB, free: 11.56 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.5709, allocations: 183.8 kB / 0.6111 GB, free: 11.38 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004948/0.5714, allocations: 196.6 kB / 0.6113 GB, free: 11.18 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.5716, allocations: 47.91 kB / 0.6113 GB, free: 11.14 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0007491/0.5723, allocations: 346.8 kB / 0.6116 GB, free: 10.8 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.5723, allocations: 4 kB / 0.6116 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.002475/0.5748, allocations: 347.9 kB / 0.612 GB, free: 10.45 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2])
 * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3])
 * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2])
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (112):
 * Single equations (assignments): 96
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 13
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006055/0.5754, allocations: 220.6 kB / 0.6122 GB, free: 10.23 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.007883/0.5833, allocations: 2.822 MB / 0.6149 GB, free: 7.379 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.5833, allocations: 0 / 0.6149 GB, free: 7.379 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.006925/0.5902, allocations: 1.852 MB / 0.6167 GB, free: 5.531 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.5921, allocations: 183.2 kB / 0.6169 GB, free: 5.359 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009089/0.6012, allocations: 3.375 MB / 0.6202 GB, free: 1.926 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6023, allocations: 1.152 MB / 0.6213 GB, free: 0.75 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.001331/0.6036, allocations: 318.7 kB / 0.6216 GB, free: 444 kB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.6042, allocations: 75.41 kB / 0.6217 GB, free: 368 kB / 462.1 MB
Notification: Performance of SimCode: time 9.92e-07/0.6042, allocations: 0 / 0.6217 GB, free: 368 kB / 462.1 MB
Notification: Performance of Templates: time 0.04743/0.6516, allocations: 26.12 MB / 0.6472 GB, free: 6.332 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.709422598592937]
Failed to read output from testmodel.py, exit status != 0:
0.6632885728031397 0.680056438 0.27222115
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd6e350d7b0>