Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.001526/0.001526, allocations: 115.3 kB / 19.74 MB, free: 2.137 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.001634/0.001634, allocations: 190.8 kB / 23.02 MB, free: 4.949 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.51/1.51, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06114/0.06114, allocations: 8.242 MB / 315.3 MB, free: 408 kB / 238.1 MB
"
[Timeout remaining time 180]
Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers")
translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002961/0.002961, allocations: 63.89 kB / 439.7 MB, free: 12.2 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1429, allocations: 54.39 MB / 494.1 MB, free: 5.719 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.01199/0.1549, allocations: 8.901 MB / 0.4912 GB, free: 12.77 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006276/0.1612, allocations: 2.343 MB / 0.4935 GB, free: 10.42 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.163, allocations: 28 kB / 0.4936 GB, free: 10.39 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002121/0.1651, allocations: 417.1 kB / 0.494 GB, free: 9.98 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005368/0.1705, allocations: 0.8386 MB / 0.4948 GB, free: 9.137 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.1754, allocations: 1.618 MB / 0.4964 GB, free: 7.523 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004097/0.1795, allocations: 1.917 MB / 0.4982 GB, free: 5.598 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.1807, allocations: 465.4 kB / 0.4987 GB, free: 5.109 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.1824, allocations: 0.8019 MB / 0.4995 GB, free: 4.305 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.1843, allocations: 0.9883 MB / 0.5004 GB, free: 3.312 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005614/0.1849, allocations: 188 kB / 0.5006 GB, free: 3.129 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.1864, allocations: 435.7 kB / 0.501 GB, free: 2.703 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0005913/0.187, allocations: 406.6 kB / 0.5014 GB, free: 2.305 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001774/0.1888, allocations: 0.9098 MB / 0.5023 GB, free: 1.391 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.2362/0.425, allocations: 2.304 MB / 0.5045 GB, free: 9.195 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.425, allocations: 0 / 0.5045 GB, free: 9.195 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.423e-06/0.425, allocations: 0 / 0.5045 GB, free: 9.195 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 5.352e-05/0.425, allocations: 1.266 kB / 0.5045 GB, free: 9.195 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 300
 * Number of variables: 300
Notification: Performance of Generate backend data structure: time 0.01922/0.4443, allocations: 4.128 MB / 0.5086 GB, free: 8.273 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.4443, allocations: 9.781 kB / 0.5086 GB, free: 8.273 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.4449, allocations: 195.4 kB / 0.5088 GB, free: 8.18 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.4465, allocations: 0.8702 MB / 0.5096 GB, free: 7.906 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.4466, allocations: 168.7 kB / 0.5098 GB, free: 7.84 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.4468, allocations: 137.9 kB / 0.5099 GB, free: 7.84 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.4503, allocations: 2.049 MB / 0.5119 GB, free: 7.707 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.4503, allocations: 3.875 kB / 0.5119 GB, free: 7.707 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.4505, allocations: 57.64 kB / 0.512 GB, free: 7.703 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.4505, allocations: 29.09 kB / 0.512 GB, free: 7.703 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/0.4539, allocations: 2.013 MB / 0.514 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.4657, allocations: 8.16 MB / 0.5219 GB, free: 1.617 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003878/0.4696, allocations: 2.505 MB / 0.5244 GB, free: 0.4922 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.4717, allocations: 1.251 MB / 0.5256 GB, free: 15.95 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.4719, allocations: 46.86 kB / 0.5257 GB, free: 15.95 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/0.4745, allocations: 1.455 MB / 0.5271 GB, free: 15.27 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=201): time 3.887e-06/0.4745, allocations: 0 / 0.5271 GB, free: 15.27 MB / 382.1 MB
Notification: Performance of matching and sorting (n=201): time 0.06251/0.537, allocations: 13.1 MB / 0.5399 GB, free: 6.59 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.5372, allocations: 176.2 kB / 0.54 GB, free: 6.379 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.5386, allocations: 0.8138 MB / 0.5408 GB, free: 5.559 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000402/0.539, allocations: 69.7 kB / 0.5409 GB, free: 5.484 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.5395, allocations: 450.4 kB / 0.5413 GB, free: 5.043 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008154/0.5403, allocations: 0.6991 MB / 0.542 GB, free: 4.355 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008195/0.5411, allocations: 375.9 kB / 0.5424 GB, free: 3.98 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001889/0.5413, allocations: 361.9 kB / 0.5427 GB, free: 3.621 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.5435, allocations: 1.273 MB / 0.544 GB, free: 2.344 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.546, allocations: 1.449 MB / 0.5454 GB, free: 0.8672 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/0.5508, allocations: 2.834 MB / 0.5481 GB, free: 13.99 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.5508, allocations: 0 / 0.5481 GB, free: 13.99 MB / 398.1 MB
Notification: Performance of matching and sorting (n=272) (initialization): time 0.01508/0.5659, allocations: 5.182 MB / 0.5532 GB, free: 8.832 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5659, allocations: 8 kB / 0.5532 GB, free: 8.824 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.566, allocations: 3.984 kB / 0.5532 GB, free: 8.82 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01542/0.5814, allocations: 3.805 MB / 0.5569 GB, free: 5.008 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.583, allocations: 321.4 kB / 0.5572 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/0.6152, allocations: 15.77 MB / 0.5726 GB, free: 4.895 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.6173, allocations: 202.5 kB / 0.5728 GB, free: 4.695 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.6175, allocations: 71.97 kB / 0.5729 GB, free: 4.625 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition1,n.y,cmd.pulseStart,$PRE.cmd.pulseStart)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (187):
 * Single equations (assignments): 186
 * Array equations: 0
 * Algorithm blocks: 0
 * 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
   {(28,58)}
Notification: Performance of prepare postOptimizeDAE: time 0.0008399/0.6183, allocations: 380.4 kB / 0.5733 GB, free: 4.262 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.6187, allocations: 144.1 kB / 0.5734 GB, free: 4.121 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.6336, allocations: 5.116 MB / 0.5784 GB, free: 15.06 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.6336, allocations: 20 kB / 0.5784 GB, free: 15.04 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6336, allocations: 4 kB / 0.5784 GB, free: 15.04 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-05/0.6336, allocations: 11.95 kB / 0.5784 GB, free: 15.03 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.6518, allocations: 7.621 MB / 0.5859 GB, free: 7.469 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/0.6519, allocations: 4 kB / 0.5859 GB, free: 7.465 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6529, allocations: 233.8 kB / 0.5861 GB, free: 7.25 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01498/0.6679, allocations: 3.27 MB / 0.5893 GB, free: 3.973 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006915/0.6686, allocations: 50.5 kB / 0.5893 GB, free: 3.926 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0363/0.7049, allocations: 15.56 MB / 0.6045 GB, free: 4.262 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7049, allocations: 0 / 0.6045 GB, free: 4.262 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/0.7211, allocations: 4.964 MB / 0.6094 GB, free: 15.36 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/0.7219, allocations: 170.5 kB / 0.6095 GB, free: 15.19 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/0.7224, allocations: 36 kB / 0.6096 GB, free: 15.15 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.724, allocations: 123.2 kB / 0.6097 GB, free: 15.04 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/0.7248, allocations: 178.6 kB / 0.6099 GB, free: 14.86 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.725, allocations: 63.98 kB / 0.6099 GB, free: 14.8 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0009535/0.726, allocations: 0.5381 MB / 0.6104 GB, free: 14.26 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.11e-07/0.726, allocations: 4 kB / 0.6105 GB, free: 14.26 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.002651/0.7286, allocations: 0.7457 MB / 0.6112 GB, free: 13.51 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($whenCondition1,cmd.pulseStart,n.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (144):
 * Single equations (assignments): 142
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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
   {(28,58)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.729, allocations: 173.2 kB / 0.6113 GB, free: 13.35 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.01/0.739, allocations: 3.931 MB / 0.6152 GB, free: 9.422 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.739, allocations: 1.281 kB / 0.6152 GB, free: 9.422 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.007231/0.7462, allocations: 2.469 MB / 0.6176 GB, free: 6.973 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.7478, allocations: 184.8 kB / 0.6178 GB, free: 6.801 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007796/0.7556, allocations: 3.132 MB / 0.6208 GB, free: 3.656 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.757, allocations: 1.224 MB / 0.622 GB, free: 2.398 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.001115/0.7581, allocations: 198 kB / 0.6222 GB, free: 2.203 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.7584, allocations: 119.4 kB / 0.6223 GB, free: 2.086 MB / 462.1 MB
Notification: Performance of SimCode: time 2.445e-06/0.7584, allocations: 0 / 0.6223 GB, free: 2.086 MB / 462.1 MB
Notification: Performance of Templates: time 0.0916/0.85, allocations: 55.87 MB / 0.6769 GB, free: 10.49 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.617079691030085]
Failed to read output from testmodel.py, exit status != 0:
0.8607141906395555 0.875335343 0.44670194300000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f32bd7c97b0>