Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.001355/0.001355, allocations: 112 kB / 20.43 MB, free: 1.305 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.001454/0.001454, allocations: 189.2 kB / 23.72 MB, free: 4.551 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.531/1.531, allocations: 225.6 MB / 252.5 MB, free: 13 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.194/0.194, allocations: 38.52 MB / 346.3 MB, free: 2.066 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.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 75.86 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 61.29 MB / 0.533 GB, free: 5.781 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007466/0.3982, allocations: 5.464 MB / 0.5384 GB, free: 1.781 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002337/0.4005, allocations: 1.179 MB / 0.5395 GB, free: 0.8281 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.4008, allocations: 21.44 kB / 0.5395 GB, free: 0.8164 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.4013, allocations: 100.9 kB / 0.5396 GB, free: 0.7305 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007653/0.402, allocations: 309.6 kB / 0.5399 GB, free: 496 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.4024, allocations: 155.2 kB / 0.5401 GB, free: 368 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009407/0.4034, allocations: 0.7249 MB / 0.5408 GB, free: 15.95 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.4037, allocations: 117.5 kB / 0.5409 GB, free: 15.88 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.4042, allocations: 335.6 kB / 0.5412 GB, free: 15.69 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.4049, allocations: 380.4 kB / 0.5416 GB, free: 15.47 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.799e-05/0.405, allocations: 41.06 kB / 0.5416 GB, free: 15.47 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.4051, allocations: 41.5 kB / 0.5417 GB, free: 15.47 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000298/0.4054, allocations: 212.1 kB / 0.5419 GB, free: 15.33 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.4057, allocations: 254.1 kB / 0.5421 GB, free: 15.16 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.4066, allocations: 0.5568 MB / 0.5427 GB, free: 14.78 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4066, allocations: 5.406 kB / 0.5427 GB, free: 14.78 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.653e-06/0.4066, allocations: 0 / 0.5427 GB, free: 14.78 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.045e-05/0.4066, allocations: 0 / 0.5427 GB, free: 14.78 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: 90
 * Number of variables: 90
Notification: Performance of Generate backend data structure: time 0.001905/0.4085, allocations: 0.7731 MB / 0.5434 GB, free: 14.15 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4086, allocations: 13.45 kB / 0.5434 GB, free: 14.15 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.4087, allocations: 55.02 kB / 0.5435 GB, free: 14.12 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.4096, allocations: 386.4 kB / 0.5438 GB, free: 13.82 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.4096, allocations: 32.84 kB / 0.5439 GB, free: 13.8 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.4097, allocations: 36.59 kB / 0.5439 GB, free: 13.79 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/0.4106, allocations: 489.9 kB / 0.5444 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4106, allocations: 0 / 0.5444 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.4107, allocations: 12.66 kB / 0.5444 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.4108, allocations: 33.31 kB / 0.5444 GB, free: 13.45 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.4115, allocations: 368.1 kB / 0.5448 GB, free: 13.27 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.4144, allocations: 1.674 MB / 0.5464 GB, free: 11.89 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.4151, allocations: 303.7 kB / 0.5467 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.4156, allocations: 198.6 kB / 0.5469 GB, free: 11.61 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.4156, allocations: 7.141 kB / 0.5469 GB, free: 11.61 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/0.4162, allocations: 287.9 kB / 0.5472 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=35): time 2.474e-06/0.4162, allocations: 7.938 kB / 0.5472 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of matching and sorting (n=36): time 0.003171/0.4194, allocations: 1.173 MB / 0.5483 GB, free: 10.62 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.4195, allocations: 142.5 kB / 0.5485 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.4201, allocations: 374.1 kB / 0.5488 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.4202, allocations: 37.3 kB / 0.5489 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.4204, allocations: 255.3 kB / 0.5491 GB, free: 9.957 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.4205, allocations: 122.2 kB / 0.5492 GB, free: 9.852 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4207, allocations: 83.66 kB / 0.5493 GB, free: 9.797 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002189/0.4209, allocations: 349.6 kB / 0.5496 GB, free: 9.457 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.4212, allocations: 134.4 kB / 0.5498 GB, free: 9.395 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.4216, allocations: 256.2 kB / 0.55 GB, free: 9.176 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.4223, allocations: 445.3 kB / 0.5504 GB, free: 8.824 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4223, allocations: 1.031 kB / 0.5504 GB, free: 8.824 MB / 398.1 MB
Notification: Performance of matching and sorting (n=56) (initialization): time 0.001006/0.4233, allocations: 0.5448 MB / 0.551 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.373e-05/0.4234, allocations: 32.33 kB / 0.551 GB, free: 8.477 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4234, allocations: 4.031 kB / 0.551 GB, free: 8.477 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.4237, allocations: 88.16 kB / 0.5511 GB, free: 8.426 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.424, allocations: 71.12 kB / 0.5511 GB, free: 8.406 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.4269, allocations: 2.793 MB / 0.5539 GB, free: 5.668 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.4273, allocations: 19.73 kB / 0.5539 GB, free: 5.66 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.4274, allocations: 18.31 kB / 0.5539 GB, free: 5.656 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 17
 * Number of states: 0 ()
 * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (54):
 * Single equations (assignments): 51
 * Array equations: 0
 * Algorithm blocks: 1
 * 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,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004468/0.4278, allocations: 244.8 kB / 0.5541 GB, free: 5.445 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.428, allocations: 43.56 kB / 0.5542 GB, free: 5.422 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.429, allocations: 496.2 kB / 0.5547 GB, free: 5.129 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.429, allocations: 8.453 kB / 0.5547 GB, free: 5.125 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.429, allocations: 1.156 kB / 0.5547 GB, free: 5.125 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.429, allocations: 5 kB / 0.5547 GB, free: 5.121 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.4309, allocations: 1.025 MB / 0.5557 GB, free: 4.258 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.431, allocations: 4 kB / 0.5557 GB, free: 4.254 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.4312, allocations: 39.92 kB / 0.5557 GB, free: 4.215 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.4315, allocations: 81.64 kB / 0.5558 GB, free: 4.129 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.4315, allocations: 23.95 kB / 0.5558 GB, free: 4.105 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.4345, allocations: 2.801 MB / 0.5585 GB, free: 1.074 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4345, allocations: 0 / 0.5585 GB, free: 1.074 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.436, allocations: 0.7733 MB / 0.5593 GB, free: 276 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.4362, allocations: 51.86 kB / 0.5594 GB, free: 224 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.4362, allocations: 8 kB / 0.5594 GB, free: 216 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.4365, allocations: 27.92 kB / 0.5594 GB, free: 188 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4366, allocations: 31.94 kB / 0.5594 GB, free: 156 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.4366, allocations: 15.98 kB / 0.5594 GB, free: 140 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0003992/0.437, allocations: 259.2 kB / 0.5597 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.437, allocations: 0 / 0.5597 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006354/0.4377, allocations: 116 kB / 0.5598 GB, free: 15.77 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (ind.i[1],ind.i[2])
 * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime)
 * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (35):
 * Single equations (assignments): 29
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 3
 * 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,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.4378, allocations: 115.1 kB / 0.5599 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001243/0.4391, allocations: 0.6186 MB / 0.5605 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4391, allocations: 4.125 kB / 0.5605 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.44, allocations: 480.4 kB / 0.561 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.4407, allocations: 95.7 kB / 0.5611 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.4426, allocations: 0.9896 MB / 0.562 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.4433, allocations: 0.8743 MB / 0.5629 GB, free: 12.46 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002582/0.4435, allocations: 75.34 kB / 0.5629 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.4436, allocations: 31.44 kB / 0.563 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of SimCode: time 9.92e-07/0.4436, allocations: 0 / 0.563 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of Templates: time 0.01365/0.4573, allocations: 5.718 MB / 0.5686 GB, free: 6.684 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.492433694191277]
Failed to read output from testmodel.py, exit status != 0:
0.46683220379054546 0.483932669 0.07391333500000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa90c7dd7b0>