Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.00154/0.00154, allocations: 113.6 kB / 19.74 MB, free: 1.988 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.001413/0.001413, allocations: 195.8 kB / 23.03 MB, free: 5.004 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 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.0619/0.0619, allocations: 8.244 MB / 315.3 MB, free: 380 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.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads")
translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.88 kB / 439.7 MB, free: 12.18 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1223, allocations: 54.39 MB / 494.1 MB, free: 5.695 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.008136/0.1304, allocations: 6.154 MB / 0.4886 GB, free: 15.52 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006134/0.1365, allocations: 2.462 MB / 0.491 GB, free: 13.04 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.1373, allocations: 20 kB / 0.491 GB, free: 13.02 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1383, allocations: 329.8 kB / 0.4913 GB, free: 12.7 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001704/0.14, allocations: 0.6484 MB / 0.4919 GB, free: 12.05 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.1432, allocations: 1.511 MB / 0.4934 GB, free: 10.54 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002223/0.1455, allocations: 1.47 MB / 0.4948 GB, free: 9.066 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005818/0.146, allocations: 342.1 kB / 0.4952 GB, free: 8.711 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007791/0.1468, allocations: 0.615 MB / 0.4958 GB, free: 8.094 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1479, allocations: 0.7471 MB / 0.4965 GB, free: 7.344 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.1481, allocations: 151.9 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.149, allocations: 383.8 kB / 0.497 GB, free: 6.82 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.1493, allocations: 314.8 kB / 0.4973 GB, free: 6.512 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007697/0.1501, allocations: 0.6999 MB / 0.498 GB, free: 5.809 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00232/0.1524, allocations: 1.829 MB / 0.4998 GB, free: 3.973 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1524, allocations: 0 / 0.4998 GB, free: 3.973 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.525e-06/0.1524, allocations: 0 / 0.4998 GB, free: 3.973 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.791e-05/0.1524, allocations: 0 / 0.4998 GB, free: 3.973 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: 218
 * Number of variables: 218
Notification: Performance of Generate backend data structure: time 0.01479/0.1672, allocations: 3.198 MB / 0.5029 GB, free: 0.7305 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.1673, allocations: 11.89 kB / 0.5029 GB, free: 0.7188 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.1677, allocations: 144.1 kB / 0.503 GB, free: 0.5781 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.248/0.4158, allocations: 0.7041 MB / 0.5037 GB, free: 20.39 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/0.4159, allocations: 77.12 kB / 0.5038 GB, free: 20.39 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000325/0.4162, allocations: 100.2 kB / 0.5039 GB, free: 20.39 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.4191, allocations: 1.541 MB / 0.5054 GB, free: 20.3 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4191, allocations: 3.469 kB / 0.5054 GB, free: 20.3 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.4193, allocations: 42.88 kB / 0.5055 GB, free: 20.3 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.4193, allocations: 21.31 kB / 0.5055 GB, free: 20.3 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.4217, allocations: 1.519 MB / 0.507 GB, free: 19.71 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/0.43, allocations: 5.971 MB / 0.5128 GB, free: 15.62 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.4327, allocations: 1.855 MB / 0.5146 GB, free: 14.8 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.434, allocations: 0.9676 MB / 0.5155 GB, free: 14.33 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.4342, allocations: 35.3 kB / 0.5156 GB, free: 14.33 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.4342, allocations: 55.61 kB / 0.5156 GB, free: 14.27 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=151): time 3.818e-06/0.4342, allocations: 0.9844 kB / 0.5156 GB, free: 14.27 MB / 366.1 MB
Notification: Performance of matching and sorting (n=151): time 0.03532/0.4695, allocations: 8.157 MB / 0.5236 GB, free: 11.25 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.4696, allocations: 119.2 kB / 0.5237 GB, free: 11.12 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4706, allocations: 0.666 MB / 0.5244 GB, free: 10.73 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.471, allocations: 67.83 kB / 0.5244 GB, free: 10.67 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.4712, allocations: 352.2 kB / 0.5248 GB, free: 10.39 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.4715, allocations: 0.5242 MB / 0.5253 GB, free: 10 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.472, allocations: 281.6 kB / 0.5255 GB, free: 9.836 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 6.923e-05/0.4721, allocations: 355.7 kB / 0.5259 GB, free: 9.492 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.4735, allocations: 0.9758 MB / 0.5268 GB, free: 8.953 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.4749, allocations: 1.098 MB / 0.5279 GB, free: 8.332 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/0.4777, allocations: 2.178 MB / 0.53 GB, free: 7.121 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4778, allocations: 0 / 0.53 GB, free: 7.121 MB / 366.1 MB
Notification: Performance of matching and sorting (n=202) (initialization): time 0.009733/0.4875, allocations: 4.059 MB / 0.534 GB, free: 4.812 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.4875, allocations: 3.969 kB / 0.534 GB, free: 4.812 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4875, allocations: 0 / 0.534 GB, free: 4.812 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.4985, allocations: 4.211 MB / 0.5381 GB, free: 0.6523 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4996, allocations: 223.7 kB / 0.5383 GB, free: 444 kB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/0.529, allocations: 13.05 MB / 0.5511 GB, free: 3.367 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.5306, allocations: 138.1 kB / 0.5512 GB, free: 3.262 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/0.531, allocations: 55.98 kB / 0.5513 GB, free: 3.207 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (135):
 * Single equations (assignments): 134
 * 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
   {(32,36)}
Notification: Performance of prepare postOptimizeDAE: time 0.0009632/0.5319, allocations: 307.3 kB / 0.5516 GB, free: 2.898 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.5323, allocations: 115.3 kB / 0.5517 GB, free: 2.785 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.544, allocations: 4.004 MB / 0.5556 GB, free: 14.77 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.5441, allocations: 19.94 kB / 0.5556 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5441, allocations: 0 / 0.5556 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.5441, allocations: 11.97 kB / 0.5556 GB, free: 14.73 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.5586, allocations: 5.897 MB / 0.5614 GB, free: 8.805 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.5587, allocations: 0 / 0.5614 GB, free: 8.805 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.5594, allocations: 179.8 kB / 0.5615 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01202/0.5714, allocations: 2.896 MB / 0.5644 GB, free: 5.727 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/0.5718, allocations: 35.98 kB / 0.5644 GB, free: 5.691 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02733/0.5991, allocations: 12.84 MB / 0.5769 GB, free: 8.742 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5991, allocations: 0 / 0.5769 GB, free: 8.742 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/0.611, allocations: 3.884 MB / 0.5807 GB, free: 4.832 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.6114, allocations: 135.5 kB / 0.5809 GB, free: 4.699 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/0.6118, allocations: 32 kB / 0.5809 GB, free: 4.668 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.6132, allocations: 96.5 kB / 0.581 GB, free: 4.578 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005489/0.6137, allocations: 138.4 kB / 0.5811 GB, free: 4.445 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.6139, allocations: 44 kB / 0.5812 GB, free: 4.402 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0008074/0.6147, allocations: 463 kB / 0.5816 GB, free: 3.949 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.6147, allocations: 0 / 0.5816 GB, free: 3.949 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001892/0.6166, allocations: 0.5583 MB / 0.5821 GB, free: 3.391 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (105):
 * Single equations (assignments): 104
 * 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
   {(32,36)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003687/0.617, allocations: 164.7 kB / 0.5823 GB, free: 3.223 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.008663/0.6256, allocations: 3.282 MB / 0.5855 GB, free: 15.93 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.6256, allocations: 0.6562 kB / 0.5855 GB, free: 15.93 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.006651/0.6323, allocations: 2.146 MB / 0.5876 GB, free: 13.78 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.6336, allocations: 154.8 kB / 0.5878 GB, free: 13.63 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.6387, allocations: 2.447 MB / 0.5901 GB, free: 11.18 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009258/0.6396, allocations: 1.099 MB / 0.5912 GB, free: 10.04 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0005808/0.6402, allocations: 147.7 kB / 0.5914 GB, free: 9.895 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.6405, allocations: 87.41 kB / 0.5914 GB, free: 9.809 MB / 430.1 MB
Notification: Performance of SimCode: time 7.12e-07/0.6405, allocations: 4 kB / 0.5914 GB, free: 9.805 MB / 430.1 MB
Notification: Performance of Templates: time 0.06871/0.7092, allocations: 42.55 MB / 0.633 GB, free: 15.4 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.2257153037935495]
Failed to read output from testmodel.py, exit status != 0:
0.7188023319467902 0.739417585 0.582812142
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f13073397b0>