Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.0014/0.0014, allocations: 109.5 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.001574/0.001574, allocations: 189.4 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.455/1.455, allocations: 225.6 MB / 252.5 MB, free: 12.98 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.1875/0.1875, allocations: 38.54 MB / 346.3 MB, free: 2.059 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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState")
translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.89 kB / 484.5 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3608, allocations: 61.29 MB / 0.533 GB, free: 5.555 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009005/0.3698, allocations: 7.772 MB / 0.5406 GB, free: 15.77 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005039/0.3748, allocations: 2.344 MB / 0.5429 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006686/0.3755, allocations: 37.09 kB / 0.5429 GB, free: 13.87 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002428/0.3779, allocations: 0.8819 MB / 0.5438 GB, free: 13.19 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001445/0.3794, allocations: 0.5125 MB / 0.5443 GB, free: 12.76 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3808, allocations: 463.8 kB / 0.5448 GB, free: 12.42 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001932/0.3828, allocations: 1.273 MB / 0.546 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009156/0.3837, allocations: 446.4 kB / 0.5464 GB, free: 11.43 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.3849, allocations: 0.5704 MB / 0.547 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.3864, allocations: 0.6987 MB / 0.5477 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000278/0.3867, allocations: 73.75 kB / 0.5477 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007546/0.3874, allocations: 237.3 kB / 0.548 GB, free: 10.59 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0005628/0.388, allocations: 0.4894 MB / 0.5484 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.3886, allocations: 0.5265 MB / 0.549 GB, free: 9.934 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001553/0.3902, allocations: 1.254 MB / 0.5502 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3902, allocations: 4 kB / 0.5502 GB, free: 9.098 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.152e-06/0.3902, allocations: 0 / 0.5502 GB, free: 9.098 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.479e-05/0.3902, allocations: 0 / 0.5502 GB, free: 9.098 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: 224
 * Number of variables: 224
Notification: Performance of Generate backend data structure: time 0.002491/0.3927, allocations: 1.266 MB / 0.5514 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3928, allocations: 9.625 kB / 0.5514 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.3937, allocations: 166.8 kB / 0.5516 GB, free: 8.059 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.3952, allocations: 0.6636 MB / 0.5522 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.3953, allocations: 64.83 kB / 0.5523 GB, free: 7.547 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.3954, allocations: 81.97 kB / 0.5524 GB, free: 7.52 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.3973, allocations: 1.179 MB / 0.5535 GB, free: 6.73 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.3973, allocations: 7.281 kB / 0.5535 GB, free: 6.727 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/0.3974, allocations: 37.41 kB / 0.5536 GB, free: 6.699 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.395e-05/0.3975, allocations: 54.94 kB / 0.5536 GB, free: 6.688 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.399, allocations: 0.926 MB / 0.5545 GB, free: 5.957 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006371/0.4054, allocations: 4.702 MB / 0.5591 GB, free: 1.051 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.4066, allocations: 0.6208 MB / 0.5597 GB, free: 424 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.4071, allocations: 351.6 kB / 0.5601 GB, free: 68 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.4072, allocations: 8.5 kB / 0.5601 GB, free: 60 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000665/0.4078, allocations: 444.8 kB / 0.5605 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=65): time 2.054e-06/0.4078, allocations: 0 / 0.5605 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of matching and sorting (n=66): time 0.005508/0.4133, allocations: 2.315 MB / 0.5627 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4134, allocations: 166.9 kB / 0.5629 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.4142, allocations: 0.6017 MB / 0.5635 GB, free: 12.44 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.4142, allocations: 37.7 kB / 0.5635 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.4146, allocations: 495.9 kB / 0.564 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.4149, allocations: 234.1 kB / 0.5642 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.4151, allocations: 150.6 kB / 0.5644 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001947/0.4153, allocations: 390.7 kB / 0.5647 GB, free: 11.13 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.4158, allocations: 285.8 kB / 0.565 GB, free: 10.85 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.4164, allocations: 0.5525 MB / 0.5656 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.4177, allocations: 0.9584 MB / 0.5665 GB, free: 9.09 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.4177, allocations: 7.938 kB / 0.5665 GB, free: 9.082 MB / 414.1 MB
Notification: Performance of matching and sorting (n=107) (initialization): time 0.002179/0.4199, allocations: 1.218 MB / 0.5677 GB, free: 7.844 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.4199, allocations: 37.7 kB / 0.5677 GB, free: 7.801 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4199, allocations: 8 kB / 0.5677 GB, free: 7.793 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.421, allocations: 341.8 kB / 0.5681 GB, free: 7.453 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.4216, allocations: 143.7 kB / 0.5682 GB, free: 7.312 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/0.4283, allocations: 5.187 MB / 0.5733 GB, free: 1.871 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.4291, allocations: 32.03 kB / 0.5733 GB, free: 1.84 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.4292, allocations: 40 kB / 0.5733 GB, free: 1.801 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 40
 * Number of states: 0 ()
 * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (82):
 * Single equations (assignments): 79
 * 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
   {(3,17,100.0%), (1,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.00072/0.4299, allocations: 357.8 kB / 0.5737 GB, free: 1.438 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.43, allocations: 83.42 kB / 0.5737 GB, free: 1.355 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.4321, allocations: 1.031 MB / 0.5748 GB, free: 304 kB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.4321, allocations: 8 kB / 0.5748 GB, free: 296 kB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4321, allocations: 4 kB / 0.5748 GB, free: 292 kB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4321, allocations: 7.984 kB / 0.5748 GB, free: 284 kB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.4359, allocations: 2.012 MB / 0.5767 GB, free: 14.19 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4359, allocations: 3.938 kB / 0.5767 GB, free: 14.18 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.4362, allocations: 75.83 kB / 0.5768 GB, free: 14.11 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009329/0.4372, allocations: 323.8 kB / 0.5771 GB, free: 13.79 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.4372, allocations: 23.92 kB / 0.5771 GB, free: 13.77 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006384/0.4436, allocations: 5.109 MB / 0.5821 GB, free: 8.402 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4436, allocations: 96 / 0.5821 GB, free: 8.402 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.4458, allocations: 1.123 MB / 0.5832 GB, free: 7.238 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.446, allocations: 67.53 kB / 0.5833 GB, free: 7.172 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4461, allocations: 23.94 kB / 0.5833 GB, free: 7.148 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.4464, allocations: 16 kB / 0.5833 GB, free: 7.133 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.4466, allocations: 64.27 kB / 0.5834 GB, free: 7.066 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.4466, allocations: 20 kB / 0.5834 GB, free: 7.047 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0005615/0.4472, allocations: 423 kB / 0.5838 GB, free: 6.637 MB / 430.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4472, allocations: 0 / 0.5838 GB, free: 6.637 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001045/0.4482, allocations: 264 kB / 0.5841 GB, free: 6.379 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime)
 * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (42):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 1
 * 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
   {(3,17,100.0%), (1,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.4484, allocations: 119.2 kB / 0.5842 GB, free: 6.254 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.001889/0.4503, allocations: 1.118 MB / 0.5853 GB, free: 5.098 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4503, allocations: 0 / 0.5853 GB, free: 5.098 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001101/0.4514, allocations: 0.7251 MB / 0.586 GB, free: 4.332 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.4523, allocations: 184 kB / 0.5862 GB, free: 4.164 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.4553, allocations: 1.778 MB / 0.5879 GB, free: 2.336 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/0.4561, allocations: 1.111 MB / 0.589 GB, free: 1.195 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0004304/0.4565, allocations: 170.3 kB / 0.5891 GB, free: 1.023 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4566, allocations: 55.42 kB / 0.5892 GB, free: 0.9727 MB / 430.1 MB
Notification: Performance of SimCode: time 8.11e-07/0.4566, allocations: 0 / 0.5892 GB, free: 0.9727 MB / 430.1 MB
Notification: Performance of Templates: time 0.02098/0.4776, allocations: 11.67 MB / 0.6006 GB, free: 5.367 MB / 446.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.447540024295449]
Failed to read output from testmodel.py, exit status != 0:
0.48622367437928915 0.49967893799999996 0.106445491
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2e284397b0>