Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001253/0.001253, allocations: 109.5 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.001321/0.001321, allocations: 181.8 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.528/1.528, 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.1949/0.1949, allocations: 38.53 MB / 346.3 MB, free: 2.051 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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger")
translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3942, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01224/0.4064, allocations: 9.286 MB / 0.5421 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007877/0.4143, allocations: 3.4 MB / 0.5454 GB, free: 11.83 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.4155, allocations: 50.34 kB / 0.5455 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003171/0.4187, allocations: 1.09 MB / 0.5465 GB, free: 10.97 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003386/0.4221, allocations: 1.113 MB / 0.5476 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.4244, allocations: 0.7002 MB / 0.5483 GB, free: 9.582 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004291/0.4287, allocations: 2.381 MB / 0.5506 GB, free: 8.285 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009933/0.4297, allocations: 0.5434 MB / 0.5512 GB, free: 7.918 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.4318, allocations: 1.01 MB / 0.5521 GB, free: 7.344 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.4347, allocations: 1.471 MB / 0.5536 GB, free: 6.488 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.4351, allocations: 128.6 kB / 0.5537 GB, free: 6.488 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.4371, allocations: 0.6241 MB / 0.5543 GB, free: 6.211 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00127/0.4384, allocations: 0.9475 MB / 0.5552 GB, free: 5.328 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001233/0.4396, allocations: 0.8979 MB / 0.5561 GB, free: 4.426 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003548/0.4431, allocations: 2.354 MB / 0.5584 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4431, allocations: 0 / 0.5584 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of FrontEnd: time 6.503e-06/0.4431, allocations: 3.984 kB / 0.5584 GB, free: 2.059 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.143e-05/0.4432, allocations: 0 / 0.5584 GB, free: 2.059 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: 423
 * Number of variables: 423
Notification: Performance of Generate backend data structure: time 0.004225/0.4474, allocations: 1.984 MB / 0.5604 GB, free: 20 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4475, allocations: 12.03 kB / 0.5604 GB, free: 8 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.4495, allocations: 359.4 kB / 0.5607 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.4519, allocations: 0.9995 MB / 0.5617 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.842e-05/0.452, allocations: 103.1 kB / 0.5618 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.4524, allocations: 172 kB / 0.5619 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.4563, allocations: 2.332 MB / 0.5642 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.4564, allocations: 7.938 kB / 0.5642 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.4565, allocations: 67.95 kB / 0.5643 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005696/0.4571, allocations: 222.8 kB / 0.5645 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003222/0.4603, allocations: 1.842 MB / 0.5663 GB, free: 9.727 MB / 414.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.4728, allocations: 9.426 MB / 0.5755 GB, free: 15.79 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.4751, allocations: 1.3 MB / 0.5768 GB, free: 14.48 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008893/0.476, allocations: 0.5473 MB / 0.5773 GB, free: 13.93 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.4761, allocations: 20.97 kB / 0.5773 GB, free: 13.91 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.4774, allocations: 0.8489 MB / 0.5782 GB, free: 13.01 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=130): time 3.456e-06/0.4774, allocations: 3.938 kB / 0.5782 GB, free: 13 MB / 430.1 MB
Notification: Performance of matching and sorting (n=131): time 0.007005/0.4844, allocations: 4.001 MB / 0.5821 GB, free: 8.934 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/0.4846, allocations: 286.3 kB / 0.5823 GB, free: 8.59 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.486, allocations: 0.9187 MB / 0.5832 GB, free: 7.648 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.4861, allocations: 49.64 kB / 0.5833 GB, free: 7.594 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006993/0.4868, allocations: 0.7966 MB / 0.5841 GB, free: 6.785 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004313/0.4872, allocations: 472.3 kB / 0.5845 GB, free: 6.32 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.4877, allocations: 327.4 kB / 0.5848 GB, free: 5.996 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001942/0.4879, allocations: 365.9 kB / 0.5852 GB, free: 5.633 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009194/0.4888, allocations: 0.5777 MB / 0.5857 GB, free: 5.055 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.4903, allocations: 1.171 MB / 0.5869 GB, free: 3.625 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/0.493, allocations: 2.001 MB / 0.5888 GB, free: 1.328 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.493, allocations: 8 kB / 0.5888 GB, free: 1.32 MB / 430.1 MB
Notification: Performance of matching and sorting (n=227) (initialization): time 0.00462/0.4977, allocations: 2.482 MB / 0.5913 GB, free: 14.8 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.18e-05/0.4977, allocations: 71.39 kB / 0.5913 GB, free: 14.72 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002893/0.5006, allocations: 1.536 MB / 0.5928 GB, free: 13.18 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.5022, allocations: 0.5535 MB / 0.5934 GB, free: 12.61 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.5033, allocations: 327.5 kB / 0.5937 GB, free: 12.29 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.5144, allocations: 9.055 MB / 0.6025 GB, free: 2.789 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5157, allocations: 71.97 kB / 0.6026 GB, free: 2.719 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.5159, allocations: 99.95 kB / 0.6027 GB, free: 2.621 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 86
 * 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 (175):
 * Single equations (assignments): 169
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.5169, allocations: 0.5998 MB / 0.6033 GB, free: 2 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.5171, allocations: 131.2 kB / 0.6034 GB, free: 1.871 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.5198, allocations: 1.535 MB / 0.6049 GB, free: 324 kB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.5198, allocations: 12 kB / 0.6049 GB, free: 312 kB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5198, allocations: 3.938 kB / 0.6049 GB, free: 308 kB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.5198, allocations: 11.97 kB / 0.6049 GB, free: 296 kB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005066/0.5249, allocations: 3.04 MB / 0.6079 GB, free: 13.16 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5249, allocations: 8.031 kB / 0.6079 GB, free: 13.15 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.5263, allocations: 295.6 kB / 0.6082 GB, free: 12.86 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.5263, allocations: 4 kB / 0.6082 GB, free: 12.86 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.5264, allocations: 39.97 kB / 0.6082 GB, free: 12.82 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.5264, allocations: 11.94 kB / 0.6082 GB, free: 12.81 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5264, allocations: 4 kB / 0.6083 GB, free: 12.8 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.5298, allocations: 2.338 MB / 0.6105 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.5305, allocations: 223.1 kB / 0.6107 GB, free: 10.2 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.5306, allocations: 28 kB / 0.6108 GB, free: 10.17 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.5312, allocations: 43.97 kB / 0.6108 GB, free: 10.12 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5314, allocations: 88.77 kB / 0.6109 GB, free: 10.04 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.5315, allocations: 83.86 kB / 0.611 GB, free: 9.957 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.000896/0.5324, allocations: 0.6024 MB / 0.6116 GB, free: 9.344 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.5324, allocations: 0 / 0.6116 GB, free: 9.344 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.00154/0.534, allocations: 424 kB / 0.612 GB, free: 8.93 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3])
 * 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 (121):
 * Single equations (assignments): 118
 * 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.0002363/0.5342, allocations: 147.7 kB / 0.6121 GB, free: 8.777 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.003699/0.5379, allocations: 2.246 MB / 0.6143 GB, free: 6.461 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5379, allocations: 0 / 0.6143 GB, free: 6.461 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001113/0.539, allocations: 0.7778 MB / 0.6151 GB, free: 5.656 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5402, allocations: 229.6 kB / 0.6153 GB, free: 5.434 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.5459, allocations: 3.423 MB / 0.6186 GB, free: 1.961 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.5472, allocations: 1.469 MB / 0.6201 GB, free: 468 kB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.001136/0.5483, allocations: 466.4 kB / 0.6205 GB, free: 15.99 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.5486, allocations: 91.38 kB / 0.6206 GB, free: 15.91 MB / 478.1 MB
Notification: Performance of SimCode: time 1.011e-06/0.5486, allocations: 0 / 0.6206 GB, free: 15.91 MB / 478.1 MB
Notification: Performance of Templates: time 0.03318/0.5818, allocations: 17.04 MB / 0.6372 GB, free: 14.95 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.851104288361967]
Failed to read output from testmodel.py, exit status != 0:
0.5913457274436951 0.605794991 0.159370377
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f906a1657b0>