Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.001394/0.001394, allocations: 109.7 kB / 19.74 MB, free: 2.16 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.001369/0.001369, allocations: 186.2 kB / 23.02 MB, free: 5.027 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.516/1.516, 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.0596/0.0596, allocations: 8.241 MB / 315.3 MB, free: 388 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.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads")
translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 439.7 MB, free: 12.19 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1228, allocations: 54.39 MB / 494.1 MB, free: 5.699 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.008592/0.1314, allocations: 6.711 MB / 0.4891 GB, free: 14.97 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007528/0.1389, allocations: 2.532 MB / 0.4916 GB, free: 12.42 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.1404, allocations: 20 kB / 0.4916 GB, free: 12.4 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00139/0.1418, allocations: 361.5 kB / 0.4919 GB, free: 12.04 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002998/0.1448, allocations: 0.7719 MB / 0.4927 GB, free: 11.27 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.1485, allocations: 1.603 MB / 0.4943 GB, free: 9.668 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003208/0.1517, allocations: 1.709 MB / 0.4959 GB, free: 7.953 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007287/0.1524, allocations: 388 kB / 0.4963 GB, free: 7.551 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.1535, allocations: 0.7086 MB / 0.497 GB, free: 6.84 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.1546, allocations: 0.825 MB / 0.4978 GB, free: 6.012 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.1549, allocations: 176 kB / 0.498 GB, free: 5.84 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1559, allocations: 455.6 kB / 0.4984 GB, free: 5.395 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.1563, allocations: 374.8 kB / 0.4988 GB, free: 5.027 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009808/0.1573, allocations: 0.7856 MB / 0.4995 GB, free: 4.238 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002908/0.1602, allocations: 2.094 MB / 0.5016 GB, free: 2.137 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1602, allocations: 0 / 0.5016 GB, free: 2.137 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.904e-06/0.1602, allocations: 0 / 0.5016 GB, free: 2.137 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 2.181e-05/0.1602, allocations: 0 / 0.5016 GB, free: 2.137 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: 262
 * Number of variables: 262
Notification: Performance of Generate backend data structure: time 0.2503/0.4106, allocations: 3.641 MB / 0.5051 GB, free: 20.62 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4106, allocations: 16.36 kB / 0.5051 GB, free: 20.61 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.411, allocations: 167.5 kB / 0.5053 GB, free: 20.54 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.4124, allocations: 0.7757 MB / 0.5061 GB, free: 20.35 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.4126, allocations: 315.5 kB / 0.5064 GB, free: 20.09 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.4129, allocations: 116.1 kB / 0.5065 GB, free: 20.09 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/0.4166, allocations: 1.835 MB / 0.5083 GB, free: 19.39 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.4166, allocations: 3.938 kB / 0.5083 GB, free: 19.38 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.4168, allocations: 50.08 kB / 0.5083 GB, free: 19.35 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.4168, allocations: 24.66 kB / 0.5083 GB, free: 19.35 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.4196, allocations: 1.748 MB / 0.51 GB, free: 18.58 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.4304, allocations: 6.925 MB / 0.5168 GB, free: 13.84 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.4334, allocations: 1.977 MB / 0.5187 GB, free: 12.95 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.4349, allocations: 1.045 MB / 0.5198 GB, free: 12.45 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.4351, allocations: 40.66 kB / 0.5198 GB, free: 12.44 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/0.4373, allocations: 1.334 MB / 0.5211 GB, free: 11.84 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=167): time 3.146e-06/0.4373, allocations: 1.125 kB / 0.5211 GB, free: 11.84 MB / 366.1 MB
Notification: Performance of matching and sorting (n=167): time 0.03481/0.4721, allocations: 8.84 MB / 0.5297 GB, free: 7.477 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.4722, allocations: 124.1 kB / 0.5299 GB, free: 7.348 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.4736, allocations: 0.7277 MB / 0.5306 GB, free: 6.922 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004027/0.474, allocations: 71.45 kB / 0.5306 GB, free: 6.859 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.4744, allocations: 431.9 kB / 0.531 GB, free: 6.492 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005291/0.4749, allocations: 0.5646 MB / 0.5316 GB, free: 6.004 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008459/0.4758, allocations: 338.5 kB / 0.5319 GB, free: 5.805 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001164/0.4759, allocations: 348.1 kB / 0.5322 GB, free: 5.469 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.4777, allocations: 1.123 MB / 0.5333 GB, free: 4.848 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4794, allocations: 1.291 MB / 0.5346 GB, free: 4.094 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.4826, allocations: 2.427 MB / 0.537 GB, free: 1.77 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4826, allocations: 0 / 0.537 GB, free: 1.77 MB / 366.1 MB
Notification: Performance of matching and sorting (n=246) (initialization): time 0.007774/0.4904, allocations: 3.659 MB / 0.5405 GB, free: 14.1 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.4904, allocations: 4 kB / 0.5406 GB, free: 14.1 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.4904, allocations: 3.984 kB / 0.5406 GB, free: 14.09 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01645/0.5069, allocations: 5.328 MB / 0.5458 GB, free: 8.762 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5081, allocations: 247.6 kB / 0.546 GB, free: 8.52 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008226/0.5163, allocations: 3.449 MB / 0.5494 GB, free: 5.051 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.5183, allocations: 183.2 kB / 0.5495 GB, free: 4.871 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/0.5187, allocations: 63.98 kB / 0.5496 GB, free: 4.809 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 24 (feeder1.load4.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load1.degradedMode,feeder2.load4.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load1.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (163):
 * Single equations (assignments): 162
 * 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
   {(40,44)}
Notification: Performance of prepare postOptimizeDAE: time 0.001139/0.5198, allocations: 349.2 kB / 0.5499 GB, free: 4.461 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/0.5204, allocations: 135.1 kB / 0.5501 GB, free: 4.328 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006803/0.5272, allocations: 3.28 MB / 0.5533 GB, free: 1.043 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.5272, allocations: 20 kB / 0.5533 GB, free: 1.023 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5272, allocations: 0 / 0.5533 GB, free: 1.023 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.5272, allocations: 7.969 kB / 0.5533 GB, free: 1.016 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009985/0.5372, allocations: 5.61 MB / 0.5588 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5372, allocations: 0 / 0.5588 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.5378, allocations: 151.8 kB / 0.5589 GB, free: 11.23 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0145/0.5523, allocations: 3.788 MB / 0.5626 GB, free: 7.438 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/0.5526, allocations: 35.98 kB / 0.5626 GB, free: 7.402 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008009/0.5606, allocations: 3.524 MB / 0.5661 GB, free: 3.852 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5607, allocations: 1.328 kB / 0.5661 GB, free: 3.852 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006401/0.5671, allocations: 3.166 MB / 0.5692 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.5676, allocations: 150.8 kB / 0.5693 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/0.568, allocations: 32 kB / 0.5694 GB, free: 500 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.5696, allocations: 120.3 kB / 0.5695 GB, free: 384 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.57, allocations: 125.8 kB / 0.5696 GB, free: 256 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/0.5702, allocations: 63.98 kB / 0.5697 GB, free: 192 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0009686/0.5712, allocations: 487 kB / 0.5701 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.5712, allocations: 0 / 0.5701 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001438/0.5726, allocations: 467.6 kB / 0.5706 GB, free: 15.26 MB / 414.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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode)
 * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder2.load4.degradedMode,feeder1.load4.degradedMode)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (97):
 * Single equations (assignments): 96
 * 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
   {(42,50)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004346/0.573, allocations: 188.4 kB / 0.5707 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.008444/0.5815, allocations: 3.005 MB / 0.5737 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.5815, allocations: 5.688 kB / 0.5737 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.006152/0.5876, allocations: 1.741 MB / 0.5754 GB, free: 10.34 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.5892, allocations: 173 kB / 0.5755 GB, free: 10.17 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.5947, allocations: 2.642 MB / 0.5781 GB, free: 7.527 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.5955, allocations: 1.089 MB / 0.5792 GB, free: 6.406 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0006448/0.5962, allocations: 153 kB / 0.5793 GB, free: 6.254 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.5965, allocations: 91.41 kB / 0.5794 GB, free: 6.164 MB / 414.1 MB
Notification: Performance of SimCode: time 1.202e-06/0.5965, allocations: 0 / 0.5794 GB, free: 6.164 MB / 414.1 MB
Notification: Performance of Templates: time 0.05436/0.6508, allocations: 32.79 MB / 0.6114 GB, free: 5.551 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.30275943595916]
Failed to read output from testmodel.py, exit status != 0:
0.6590975970029831 0.6769275109999999 0.512836341
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f178ca157b0>