Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.001412/0.001412, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001423/0.001423, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.498/1.498, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1861/0.1861, allocations: 38.53 MB / 346.3 MB, free: 2.055 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.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger")
translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4117, allocations: 61.29 MB / 0.533 GB, free: 5.555 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008027/0.4197, allocations: 7.49 MB / 0.5403 GB, free: 15.98 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004734/0.4244, allocations: 1.742 MB / 0.542 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007936/0.4252, allocations: 40.38 kB / 0.5421 GB, free: 14.55 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.4261, allocations: 236.8 kB / 0.5423 GB, free: 14.37 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001899/0.428, allocations: 0.5901 MB / 0.5429 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.4288, allocations: 209.5 kB / 0.5431 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002099/0.4309, allocations: 1.262 MB / 0.5443 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.4314, allocations: 225.3 kB / 0.5445 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.4326, allocations: 0.5642 MB / 0.5451 GB, free: 12.55 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.434, allocations: 0.6765 MB / 0.5457 GB, free: 12.16 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.4341, allocations: 62.94 kB / 0.5458 GB, free: 12.16 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.4343, allocations: 63.03 kB / 0.5459 GB, free: 12.16 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000412/0.4347, allocations: 338.5 kB / 0.5462 GB, free: 11.95 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006088/0.4354, allocations: 434 kB / 0.5466 GB, free: 11.66 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00151/0.4369, allocations: 0.9344 MB / 0.5475 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4369, allocations: 0 / 0.5475 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.293e-06/0.4369, allocations: 0 / 0.5475 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 2.474e-05/0.4369, allocations: 1.125 kB / 0.5475 GB, free: 11.03 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: 166
 * Number of variables: 166
Notification: Performance of Generate backend data structure: time 0.002884/0.4398, allocations: 1.176 MB / 0.5487 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4398, allocations: 13.69 kB / 0.5487 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.4401, allocations: 101.6 kB / 0.5488 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.4416, allocations: 0.6346 MB / 0.5494 GB, free: 9.605 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.4417, allocations: 52.19 kB / 0.5494 GB, free: 9.578 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.4418, allocations: 61.5 kB / 0.5495 GB, free: 9.559 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.4435, allocations: 0.8074 MB / 0.5503 GB, free: 9.051 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.4435, allocations: 1.156 kB / 0.5503 GB, free: 9.051 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.4436, allocations: 26.94 kB / 0.5503 GB, free: 9.031 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.872e-05/0.4437, allocations: 41.2 kB / 0.5504 GB, free: 9.02 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.4449, allocations: 0.6117 MB / 0.551 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.4492, allocations: 2.572 MB / 0.5535 GB, free: 6.684 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4503, allocations: 0.5749 MB / 0.554 GB, free: 6.344 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007731/0.4511, allocations: 335 kB / 0.5543 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.4511, allocations: 12.38 kB / 0.5544 GB, free: 6 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007259/0.4519, allocations: 483.7 kB / 0.5548 GB, free: 5.477 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.4519, allocations: 0 / 0.5548 GB, free: 5.477 MB / 398.1 MB
Notification: Performance of matching and sorting (n=64): time 0.003498/0.4554, allocations: 1.924 MB / 0.5567 GB, free: 3.484 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002089/0.4556, allocations: 259.7 kB / 0.5569 GB, free: 3.176 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.4564, allocations: 0.5625 MB / 0.5575 GB, free: 2.605 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.4564, allocations: 37.7 kB / 0.5575 GB, free: 2.562 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.4568, allocations: 404.4 kB / 0.5579 GB, free: 2.164 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.4571, allocations: 222.2 kB / 0.5581 GB, free: 1.945 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.4573, allocations: 146.6 kB / 0.5583 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002232/0.4575, allocations: 386.8 kB / 0.5586 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.4579, allocations: 225.9 kB / 0.5589 GB, free: 1.188 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.4585, allocations: 453.8 kB / 0.5593 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.4596, allocations: 0.7963 MB / 0.5601 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.4596, allocations: 4 kB / 0.5601 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of matching and sorting (n=102) (initialization): time 0.001681/0.4613, allocations: 0.9431 MB / 0.561 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.4613, allocations: 71.39 kB / 0.5611 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4614, allocations: 8 kB / 0.5611 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.4618, allocations: 109.8 kB / 0.5612 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.4624, allocations: 151.7 kB / 0.5613 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.4662, allocations: 3.344 MB / 0.5646 GB, free: 10.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.4668, allocations: 43.97 kB / 0.5646 GB, free: 10.79 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.4669, allocations: 51.97 kB / 0.5647 GB, free: 10.74 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 32
 * Number of states: 0 ()
 * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (90):
 * Single equations (assignments): 86
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,5,100.0%), (1,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0006143/0.4676, allocations: 357.6 kB / 0.565 GB, free: 10.37 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4677, allocations: 75.53 kB / 0.5651 GB, free: 10.3 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.4691, allocations: 0.7952 MB / 0.5659 GB, free: 9.48 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4691, allocations: 8 kB / 0.5659 GB, free: 9.473 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4691, allocations: 0 / 0.5659 GB, free: 9.473 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4691, allocations: 7.922 kB / 0.5659 GB, free: 9.465 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.4718, allocations: 1.528 MB / 0.5674 GB, free: 7.867 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4718, allocations: 7.938 kB / 0.5674 GB, free: 7.859 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.4724, allocations: 107.9 kB / 0.5675 GB, free: 7.754 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.4724, allocations: 8.031 kB / 0.5675 GB, free: 7.746 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.4724, allocations: 27.97 kB / 0.5675 GB, free: 7.719 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.4724, allocations: 4 kB / 0.5675 GB, free: 7.715 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4724, allocations: 0 / 0.5675 GB, free: 7.715 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.4742, allocations: 1.204 MB / 0.5687 GB, free: 6.473 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4746, allocations: 115.4 kB / 0.5688 GB, free: 6.359 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.4747, allocations: 19.94 kB / 0.5688 GB, free: 6.34 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.475, allocations: 31.97 kB / 0.5689 GB, free: 6.309 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4751, allocations: 32.38 kB / 0.5689 GB, free: 6.273 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/0.4752, allocations: 67.86 kB / 0.5689 GB, free: 6.207 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0004915/0.4757, allocations: 387.1 kB / 0.5693 GB, free: 5.832 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4757, allocations: 4.062 kB / 0.5693 GB, free: 5.828 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000777/0.4765, allocations: 176 kB / 0.5695 GB, free: 5.656 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 2 (trafo1.i1,trafo2.i1)
 * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime)
 * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (55):
 * Single equations (assignments): 52
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 1
 * 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.0001662/0.4766, allocations: 123.8 kB / 0.5696 GB, free: 5.527 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001674/0.4783, allocations: 0.9673 MB / 0.5706 GB, free: 4.512 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4783, allocations: 0 / 0.5706 GB, free: 4.512 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.4789, allocations: 434.4 kB / 0.571 GB, free: 4.062 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.4799, allocations: 165.2 kB / 0.5711 GB, free: 3.906 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.4833, allocations: 1.568 MB / 0.5727 GB, free: 2.289 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.4841, allocations: 1.008 MB / 0.5736 GB, free: 1.254 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0006097/0.4847, allocations: 157.8 kB / 0.5738 GB, free: 1.098 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4848, allocations: 51.44 kB / 0.5738 GB, free: 1.051 MB / 414.1 MB
Notification: Performance of SimCode: time 1.263e-06/0.4848, allocations: 0 / 0.5738 GB, free: 1.051 MB / 414.1 MB
Notification: Performance of Templates: time 0.01789/0.5027, allocations: 8.072 MB / 0.5817 GB, free: 9.039 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.489527960307896]
Failed to read output from testmodel.py, exit status != 0:
0.5119888121262193 0.527134824 0.087019542
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f11f339d7b0>