Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.001706/0.001706, allocations: 113.6 kB / 19.74 MB, free: 1.992 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.002049/0.002049, 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.505/1.505, 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.06714/0.06714, allocations: 8.234 MB / 315.3 MB, free: 364 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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads")
translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 67.88 kB / 439.7 MB, free: 12.15 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 54.4 MB / 494.1 MB, free: 5.656 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.004284/0.1278, allocations: 2.259 MB / 496.4 MB, free: 3.398 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003211/0.131, allocations: 1.687 MB / 498.1 MB, free: 1.695 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.1313, allocations: 8 kB / 498.1 MB, free: 1.688 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.132, allocations: 155 kB / 498.2 MB, free: 1.535 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007543/0.1327, allocations: 194.8 kB / 498.4 MB, free: 1.344 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.1352, allocations: 0.9749 MB / 499.4 MB, free: 376 kB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009652/0.1361, allocations: 425.9 kB / 499.8 MB, free: 15.95 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.1364, allocations: 95.67 kB / 499.9 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.1368, allocations: 175.3 kB / 0.4884 GB, free: 15.68 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.1373, allocations: 219.1 kB / 0.4886 GB, free: 15.47 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.1374, allocations: 39.94 kB / 0.4886 GB, free: 15.43 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.138, allocations: 223.8 kB / 0.4888 GB, free: 15.21 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1381, allocations: 79.69 kB / 0.4889 GB, free: 15.13 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.1385, allocations: 199 kB / 0.4891 GB, free: 14.94 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001056/0.1395, allocations: 0.541 MB / 0.4896 GB, free: 14.39 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1395, allocations: 4 kB / 0.4896 GB, free: 14.39 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.1395, allocations: 0 / 0.4896 GB, free: 14.39 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.665e-05/0.1395, allocations: 0 / 0.4896 GB, free: 14.39 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: 67
 * Number of variables: 67
Notification: Performance of Generate backend data structure: time 0.004409/0.144, allocations: 1.086 MB / 0.4907 GB, free: 13.27 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.144, allocations: 11.89 kB / 0.4907 GB, free: 13.26 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1442, allocations: 44.7 kB / 0.4907 GB, free: 13.21 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.1447, allocations: 269.4 kB / 0.491 GB, free: 12.93 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1447, allocations: 21.03 kB / 0.491 GB, free: 12.9 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.1448, allocations: 32.38 kB / 0.491 GB, free: 12.87 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/0.1456, allocations: 430.5 kB / 0.4915 GB, free: 12.45 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1456, allocations: 4.125 kB / 0.4915 GB, free: 12.45 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.1456, allocations: 19.94 kB / 0.4915 GB, free: 12.43 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1456, allocations: 4 kB / 0.4915 GB, free: 12.42 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/0.1463, allocations: 422.5 kB / 0.4919 GB, free: 12.01 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.149, allocations: 1.514 MB / 0.4934 GB, free: 10.38 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.1502, allocations: 0.5162 MB / 0.4939 GB, free: 9.848 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.1507, allocations: 257.4 kB / 0.4941 GB, free: 9.594 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.068e-05/0.1507, allocations: 12.34 kB / 0.4941 GB, free: 9.582 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.1508, allocations: 42.94 kB / 0.4942 GB, free: 9.531 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=46): time 1.693e-06/0.1508, allocations: 0 / 0.4942 GB, free: 9.531 MB / 366.1 MB
Notification: Performance of matching and sorting (n=46): time 0.00494/0.1557, allocations: 1.403 MB / 0.4955 GB, free: 8.113 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1558, allocations: 67.33 kB / 0.4956 GB, free: 8.035 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.1561, allocations: 269.9 kB / 0.4959 GB, free: 7.766 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.1562, allocations: 37.7 kB / 0.4959 GB, free: 7.723 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1563, allocations: 169 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1565, allocations: 162.6 kB / 0.4962 GB, free: 7.395 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.1567, allocations: 90.17 kB / 0.4963 GB, free: 7.301 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001805/0.1569, allocations: 342.8 kB / 0.4966 GB, free: 6.957 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.1573, allocations: 264.9 kB / 0.4969 GB, free: 6.695 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.1578, allocations: 280.4 kB / 0.4971 GB, free: 6.422 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/0.1588, allocations: 0.5964 MB / 0.4977 GB, free: 5.824 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1588, allocations: 0 / 0.4977 GB, free: 5.824 MB / 366.1 MB
Notification: Performance of matching and sorting (n=61) (initialization): time 0.002572/0.1613, allocations: 1.015 MB / 0.4987 GB, free: 4.793 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1614, allocations: 4 kB / 0.4987 GB, free: 4.789 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1614, allocations: 4 kB / 0.4987 GB, free: 4.785 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.1635, allocations: 426.1 kB / 0.4991 GB, free: 4.359 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.1638, allocations: 75.91 kB / 0.4992 GB, free: 4.285 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008571/0.1724, allocations: 5.801 MB / 0.5049 GB, free: 14.14 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.1729, allocations: 39.67 kB / 0.5049 GB, free: 14.11 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.173, allocations: 23.92 kB / 0.5049 GB, free: 14.08 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 (46):
 * Single equations (assignments): 43
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * 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): 3 systems
   {(2,4), (2,4), (2,4)}
Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.1732, allocations: 157.8 kB / 0.5051 GB, free: 13.92 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1734, allocations: 39.7 kB / 0.5051 GB, free: 13.88 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.1761, allocations: 0.9898 MB / 0.5061 GB, free: 12.87 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.1761, allocations: 11.98 kB / 0.5061 GB, free: 12.86 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1761, allocations: 0 / 0.5061 GB, free: 12.86 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1761, allocations: 0 / 0.5061 GB, free: 12.86 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.177, allocations: 0.5434 MB / 0.5066 GB, free: 12.27 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.177, allocations: 0 / 0.5066 GB, free: 12.27 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.1773, allocations: 59.91 kB / 0.5067 GB, free: 12.21 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.1793, allocations: 422.1 kB / 0.5071 GB, free: 11.79 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.1793, allocations: 8 kB / 0.5071 GB, free: 11.78 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008007/0.1873, allocations: 5.735 MB / 0.5127 GB, free: 5.707 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1873, allocations: 3.938 kB / 0.5127 GB, free: 5.703 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.1899, allocations: 1.006 MB / 0.5137 GB, free: 4.668 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1901, allocations: 43.62 kB / 0.5137 GB, free: 4.625 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1902, allocations: 15.94 kB / 0.5137 GB, free: 4.609 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.1906, allocations: 31.77 kB / 0.5138 GB, free: 4.582 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.1908, allocations: 40.36 kB / 0.5138 GB, free: 4.543 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.1908, allocations: 16 kB / 0.5138 GB, free: 4.527 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0004003/0.1912, allocations: 207.1 kB / 0.514 GB, free: 4.324 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1912, allocations: 0 / 0.514 GB, free: 4.324 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.000827/0.1921, allocations: 171.9 kB / 0.5142 GB, free: 4.156 MB / 382.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 (37):
 * Single equations (assignments): 34
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * 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): 3 systems
   {(2,4), (2,4), (2,4)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002675/0.1923, allocations: 119.1 kB / 0.5143 GB, free: 4.031 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.00242/0.1947, allocations: 1.048 MB / 0.5153 GB, free: 2.941 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.1947, allocations: 0 / 0.5153 GB, free: 2.941 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001634/0.1964, allocations: 0.7365 MB / 0.516 GB, free: 2.168 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.1969, allocations: 48.97 kB / 0.5161 GB, free: 2.121 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1988, allocations: 0.7618 MB / 0.5168 GB, free: 1.324 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.1993, allocations: 0.8011 MB / 0.5176 GB, free: 0.4961 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002312/0.1996, allocations: 46.92 kB / 0.5177 GB, free: 460 kB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/0.1997, allocations: 35.42 kB / 0.5177 GB, free: 428 kB / 382.1 MB
Notification: Performance of SimCode: time 5.82e-07/0.1997, allocations: 4 kB / 0.5177 GB, free: 424 kB / 382.1 MB
Notification: Performance of Templates: time 0.2421/0.4418, allocations: 11.43 MB / 0.5289 GB, free: 32.84 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.343611400574446]
Failed to read output from testmodel.py, exit status != 0:
0.4504961986094713 0.463752177 0.32168553699999997
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0ad00c17b0>