Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.001548/0.001548, allocations: 111.2 kB / 19.74 MB, free: 2.152 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.001907/0.001907, allocations: 193.1 kB / 23.03 MB, free: 5.016 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.484/1.484, allocations: 225.6 MB / 251.8 MB, free: 13.01 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.08711/0.08711, allocations: 8.246 MB / 315.3 MB, free: 460 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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad")
translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 439.7 MB, free: 12.25 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1442, allocations: 54.4 MB / 494.1 MB, free: 5.762 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.003533/0.1478, allocations: 1.699 MB / 495.8 MB, free: 4.062 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00281/0.1506, allocations: 1.578 MB / 497.4 MB, free: 2.469 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1507, allocations: 4 kB / 497.4 MB, free: 2.465 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.1511, allocations: 131.3 kB / 497.5 MB, free: 2.336 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.1515, allocations: 135.1 kB / 497.7 MB, free: 2.203 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1534, allocations: 0.9281 MB / 498.6 MB, free: 1.273 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004532/0.1538, allocations: 270.8 kB / 498.9 MB, free: 1.008 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.154, allocations: 64.72 kB / 498.9 MB, free: 0.9375 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.1542, allocations: 115.6 kB / 499 MB, free: 0.8242 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1544, allocations: 139.4 kB / 499.2 MB, free: 0.6875 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.1544, allocations: 24 kB / 499.2 MB, free: 0.6641 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.1549, allocations: 203.8 kB / 499.4 MB, free: 476 kB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.1549, allocations: 55.77 kB / 499.4 MB, free: 420 kB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1551, allocations: 127.3 kB / 499.6 MB, free: 292 kB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.1557, allocations: 414.6 kB / 500 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1558, allocations: 0 / 500 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.145e-06/0.1558, allocations: 3.938 kB / 500 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 8.226e-06/0.1558, allocations: 0 / 500 MB, free: 15.88 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: 47
 * Number of variables: 47
Notification: Performance of Generate backend data structure: time 0.002943/0.1587, allocations: 0.7975 MB / 0.489 GB, free: 15.04 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.1588, allocations: 11.89 kB / 0.489 GB, free: 15.03 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.1589, allocations: 28.8 kB / 0.4891 GB, free: 15 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.1592, allocations: 198.9 kB / 0.4893 GB, free: 14.78 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1593, allocations: 20.75 kB / 0.4893 GB, free: 14.76 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1593, allocations: 20.38 kB / 0.4893 GB, free: 14.74 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.1599, allocations: 295.8 kB / 0.4896 GB, free: 14.44 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1599, allocations: 192 / 0.4896 GB, free: 14.44 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1599, allocations: 11.94 kB / 0.4896 GB, free: 14.43 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1599, allocations: 8 kB / 0.4896 GB, free: 14.42 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.1604, allocations: 285.6 kB / 0.4899 GB, free: 14.14 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.1623, allocations: 1.019 MB / 0.4909 GB, free: 13.05 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009903/0.1633, allocations: 346.7 kB / 0.4912 GB, free: 12.7 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.1635, allocations: 157.3 kB / 0.4914 GB, free: 12.54 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/0.1636, allocations: 19.92 kB / 0.4914 GB, free: 12.52 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.1636, allocations: 38.5 kB / 0.4914 GB, free: 12.48 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=29): time 1.492e-06/0.1636, allocations: 4 kB / 0.4914 GB, free: 12.47 MB / 366.1 MB
Notification: Performance of matching and sorting (n=29): time 0.003234/0.1669, allocations: 0.8692 MB / 0.4923 GB, free: 11.59 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1669, allocations: 55.41 kB / 0.4923 GB, free: 11.53 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.1673, allocations: 223.7 kB / 0.4925 GB, free: 11.3 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.1673, allocations: 33.7 kB / 0.4926 GB, free: 11.26 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1675, allocations: 140.8 kB / 0.4927 GB, free: 11.12 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.947e-05/0.1676, allocations: 111 kB / 0.4928 GB, free: 11.01 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1677, allocations: 77.62 kB / 0.4929 GB, free: 10.93 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002218/0.1679, allocations: 334.8 kB / 0.4932 GB, free: 10.59 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1682, allocations: 171.9 kB / 0.4934 GB, free: 10.43 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.1685, allocations: 191.8 kB / 0.4935 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.1691, allocations: 397.2 kB / 0.4939 GB, free: 9.848 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1691, allocations: 0 / 0.4939 GB, free: 9.848 MB / 366.1 MB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.001501/0.1706, allocations: 0.6502 MB / 0.4946 GB, free: 9.188 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1706, allocations: 7.938 kB / 0.4946 GB, free: 9.18 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1706, allocations: 0 / 0.4946 GB, free: 9.18 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.1717, allocations: 248.6 kB / 0.4948 GB, free: 8.934 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.172, allocations: 55.91 kB / 0.4949 GB, free: 8.879 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/0.1764, allocations: 2.607 MB / 0.4974 GB, free: 6.16 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.1767, allocations: 27.78 kB / 0.4974 GB, free: 6.133 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.1768, allocations: 15.94 kB / 0.4974 GB, free: 6.117 MB / 366.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 (32):
 * Single equations (assignments): 31
 * 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
   {(3,9)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.177, allocations: 141.8 kB / 0.4976 GB, free: 5.969 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.1771, allocations: 23.97 kB / 0.4976 GB, free: 5.945 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.1787, allocations: 0.5989 MB / 0.4982 GB, free: 5.336 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1787, allocations: 8 kB / 0.4982 GB, free: 5.328 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1787, allocations: 0 / 0.4982 GB, free: 5.328 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1787, allocations: 3.984 kB / 0.4982 GB, free: 5.324 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.1808, allocations: 1.025 MB / 0.4992 GB, free: 4.246 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1808, allocations: 4 kB / 0.4992 GB, free: 4.242 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.1809, allocations: 31.92 kB / 0.4992 GB, free: 4.211 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.182, allocations: 244.6 kB / 0.4995 GB, free: 3.969 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.182, allocations: 4 kB / 0.4995 GB, free: 3.965 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.1859, allocations: 2.569 MB / 0.502 GB, free: 1.277 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1859, allocations: 0 / 0.502 GB, free: 1.277 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.1873, allocations: 0.649 MB / 0.5026 GB, free: 0.6055 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.1874, allocations: 31.78 kB / 0.5026 GB, free: 0.5742 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.1874, allocations: 4.109 kB / 0.5026 GB, free: 0.5703 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.1876, allocations: 11.94 kB / 0.5027 GB, free: 0.5586 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.1877, allocations: 31.94 kB / 0.5027 GB, free: 0.5273 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.1877, allocations: 8 kB / 0.5027 GB, free: 0.5195 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002108/0.1879, allocations: 163 kB / 0.5029 GB, free: 368 kB / 366.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1879, allocations: 0 / 0.5029 GB, free: 368 kB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0005883/0.1885, allocations: 119.9 kB / 0.503 GB, free: 248 kB / 366.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 (20):
 * Single equations (assignments): 19
 * 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
   {(3,9)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002811/0.1888, allocations: 116 kB / 0.5031 GB, free: 124 kB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001527/0.1903, allocations: 0.5732 MB / 0.5036 GB, free: 15.53 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1903, allocations: 4 kB / 0.5036 GB, free: 15.53 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008608/0.1912, allocations: 394.3 kB / 0.504 GB, free: 15.13 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1916, allocations: 34.67 kB / 0.504 GB, free: 15.1 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1928, allocations: 0.5217 MB / 0.5046 GB, free: 14.55 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.1932, allocations: 0.7524 MB / 0.5053 GB, free: 13.77 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001204/0.1933, allocations: 33.91 kB / 0.5053 GB, free: 13.74 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.1934, allocations: 31.42 kB / 0.5054 GB, free: 13.71 MB / 382.1 MB
Notification: Performance of SimCode: time 7.91e-07/0.1934, allocations: 0 / 0.5054 GB, free: 13.71 MB / 382.1 MB
Notification: Performance of Templates: time 0.01313/0.2065, allocations: 6.791 MB / 0.512 GB, free: 6.957 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.213446473702788]
Failed to read output from testmodel.py, exit status != 0:
0.21564415469765663 0.503031805 0.34410494900000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f70d4f597b0>