Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.001885/0.001885, 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.001887/0.001887, allocations: 189.1 kB / 23.02 MB, free: 4.953 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.566/1.566, allocations: 225.6 MB / 251.8 MB, free: 13.04 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.09537/0.09537, allocations: 8.245 MB / 315.3 MB, free: 400 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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors")
translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.89 kB / 439.7 MB, free: 12.21 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1382, allocations: 54.38 MB / 494.1 MB, free: 5.738 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003439/0.1416, allocations: 1.801 MB / 495.9 MB, free: 3.938 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002437/0.144, allocations: 1.493 MB / 497.4 MB, free: 2.43 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.1441, allocations: 4 kB / 497.4 MB, free: 2.426 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.1446, allocations: 127.3 kB / 497.5 MB, free: 2.301 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.1448, allocations: 99.3 kB / 497.6 MB, free: 2.203 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.1467, allocations: 0.9398 MB / 498.6 MB, free: 1.262 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003774/0.1471, allocations: 238.9 kB / 498.8 MB, free: 1.027 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1473, allocations: 88.3 kB / 498.9 MB, free: 0.9336 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1474, allocations: 107.6 kB / 499 MB, free: 0.8281 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1476, allocations: 143.5 kB / 499.1 MB, free: 0.6875 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.1476, allocations: 20 kB / 499.2 MB, free: 0.668 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.148, allocations: 211.8 kB / 499.4 MB, free: 472 kB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.1481, allocations: 55.77 kB / 499.4 MB, free: 416 kB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1482, allocations: 119.4 kB / 499.5 MB, free: 296 kB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.1488, allocations: 414.7 kB / 499.9 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1488, allocations: 0 / 499.9 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.094e-06/0.1488, allocations: 0 / 499.9 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 7.304e-06/0.1488, allocations: 0 / 499.9 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: 62
 * Number of variables: 62
Notification: Performance of Generate backend data structure: time 0.002352/0.1512, allocations: 0.7002 MB / 0.4889 GB, free: 15.15 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1512, allocations: 11.89 kB / 0.4889 GB, free: 15.14 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.1513, allocations: 28.75 kB / 0.4889 GB, free: 15.11 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1516, allocations: 182.2 kB / 0.4891 GB, free: 14.91 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1516, allocations: 20.88 kB / 0.4891 GB, free: 14.88 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.1517, allocations: 24.38 kB / 0.4892 GB, free: 14.86 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.1522, allocations: 300.6 kB / 0.4895 GB, free: 14.56 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1522, allocations: 7.875 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.1523, allocations: 19.98 kB / 0.4895 GB, free: 14.54 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1523, allocations: 4 kB / 0.4895 GB, free: 14.53 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.1528, allocations: 301.9 kB / 0.4898 GB, free: 14.23 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.1544, allocations: 0.849 MB / 0.4906 GB, free: 13.34 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.155, allocations: 270.5 kB / 0.4909 GB, free: 13.06 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.1552, allocations: 120.8 kB / 0.491 GB, free: 12.94 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.1553, allocations: 7.938 kB / 0.491 GB, free: 12.93 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1553, allocations: 39 kB / 0.491 GB, free: 12.89 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.1553, allocations: 0 / 0.491 GB, free: 12.89 MB / 366.1 MB
Notification: Performance of matching and sorting (n=26): time 0.001334/0.1567, allocations: 454.1 kB / 0.4915 GB, free: 12.43 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.1567, allocations: 51.41 kB / 0.4915 GB, free: 12.37 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1569, allocations: 170.4 kB / 0.4917 GB, free: 12.2 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.157, allocations: 37.7 kB / 0.4917 GB, free: 12.16 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1571, allocations: 144.6 kB / 0.4918 GB, free: 12.01 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1572, allocations: 99.16 kB / 0.4919 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1573, allocations: 69.67 kB / 0.492 GB, free: 11.84 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001767/0.1575, allocations: 318.8 kB / 0.4923 GB, free: 11.52 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.1577, allocations: 132 kB / 0.4924 GB, free: 11.39 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1579, allocations: 132 kB / 0.4926 GB, free: 11.26 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.1584, allocations: 293.1 kB / 0.4928 GB, free: 10.97 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1584, allocations: 7.938 kB / 0.4928 GB, free: 10.96 MB / 366.1 MB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007754/0.1592, allocations: 406.1 kB / 0.4932 GB, free: 10.56 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.1592, allocations: 4 kB / 0.4932 GB, free: 10.55 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1592, allocations: 0 / 0.4932 GB, free: 10.55 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.1595, allocations: 52.83 kB / 0.4933 GB, free: 10.5 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1598, allocations: 63.89 kB / 0.4933 GB, free: 10.44 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.1616, allocations: 1.447 MB / 0.4948 GB, free: 8.875 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1618, allocations: 19.84 kB / 0.4948 GB, free: 8.855 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.1618, allocations: 12 kB / 0.4948 GB, free: 8.844 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 (35):
 * 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: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.162, allocations: 129.8 kB / 0.4949 GB, free: 8.707 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.162, allocations: 19.84 kB / 0.4949 GB, free: 8.688 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/0.1629, allocations: 356.7 kB / 0.4953 GB, free: 8.332 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1629, allocations: 4 kB / 0.4953 GB, free: 8.328 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1629, allocations: 0 / 0.4953 GB, free: 8.328 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1629, allocations: 0 / 0.4953 GB, free: 8.328 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.1634, allocations: 336.3 kB / 0.4956 GB, free: 7.957 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1634, allocations: 0 / 0.4956 GB, free: 7.957 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1636, allocations: 51.91 kB / 0.4956 GB, free: 7.906 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.1638, allocations: 56.81 kB / 0.4957 GB, free: 7.848 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.1638, allocations: 4 kB / 0.4957 GB, free: 7.844 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.1655, allocations: 1.436 MB / 0.4971 GB, free: 6.297 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1655, allocations: 3.938 kB / 0.4971 GB, free: 6.293 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.1663, allocations: 409 kB / 0.4975 GB, free: 5.875 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.1664, allocations: 19.83 kB / 0.4975 GB, free: 5.855 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.1664, allocations: 11.94 kB / 0.4975 GB, free: 5.844 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1665, allocations: 7.938 kB / 0.4975 GB, free: 5.836 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.1666, allocations: 15.97 kB / 0.4976 GB, free: 5.82 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1666, allocations: 8 kB / 0.4976 GB, free: 5.812 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001514/0.1668, allocations: 123.2 kB / 0.4977 GB, free: 5.691 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.1668, allocations: 4 kB / 0.4977 GB, free: 5.688 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0005259/0.1673, allocations: 91.88 kB / 0.4978 GB, free: 5.598 MB / 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 (25):
 * Single equations (assignments): 24
 * 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): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000326/0.1676, allocations: 115.1 kB / 0.4979 GB, free: 5.473 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001073/0.1687, allocations: 402.3 kB / 0.4983 GB, free: 5.066 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.1687, allocations: 4 kB / 0.4983 GB, free: 5.062 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000523/0.1692, allocations: 246.5 kB / 0.4985 GB, free: 4.809 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1695, allocations: 15.98 kB / 0.4985 GB, free: 4.793 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1709, allocations: 452.6 kB / 0.4989 GB, free: 4.32 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.1715, allocations: 0.7435 MB / 0.4997 GB, free: 3.551 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001521/0.1717, allocations: 33.61 kB / 0.4997 GB, free: 3.52 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.1717, allocations: 23.44 kB / 0.4997 GB, free: 3.496 MB / 366.1 MB
Notification: Performance of SimCode: time 2.295e-06/0.1717, allocations: 0 / 0.4997 GB, free: 3.496 MB / 366.1 MB
Notification: Performance of Templates: time 0.008759/0.1805, allocations: 2.952 MB / 0.5026 GB, free: 0.5547 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.9656415255740285]
Failed to read output from testmodel.py, exit status != 0:
0.18923024833202362 0.20497242199999996 0.052966014000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa38d7dd7b0>