Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.001341/0.001341, 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.00231/0.00231, allocations: 188.6 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.479/1.479, 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.05103/0.05103, allocations: 8.243 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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad")
translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 439.7 MB, free: 12.22 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.142, allocations: 54.39 MB / 494.1 MB, free: 5.734 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.003403/0.1454, allocations: 1.594 MB / 495.7 MB, free: 4.141 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002699/0.1481, allocations: 1.567 MB / 497.3 MB, free: 2.559 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1482, allocations: 4 kB / 497.3 MB, free: 2.555 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.1486, allocations: 123.4 kB / 497.4 MB, free: 2.434 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.149, allocations: 119.2 kB / 497.5 MB, free: 2.316 MB / 350.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions.
Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1508, allocations: 0.9296 MB / 498.5 MB, free: 1.383 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004702/0.1513, allocations: 254.8 kB / 498.7 MB, free: 1.133 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1515, allocations: 48.56 kB / 498.8 MB, free: 1.082 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1516, allocations: 111.6 kB / 498.9 MB, free: 0.9727 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1519, allocations: 123.5 kB / 499 MB, free: 0.8516 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.1519, allocations: 20 kB / 499 MB, free: 0.832 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.1524, allocations: 207.8 kB / 499.2 MB, free: 0.6289 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.1524, allocations: 47.83 kB / 499.2 MB, free: 0.582 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1526, allocations: 123.4 kB / 499.4 MB, free: 472 kB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.1532, allocations: 394.6 kB / 499.8 MB, free: 76 kB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1532, allocations: 0 / 499.8 MB, free: 76 kB / 350.1 MB
Notification: Performance of FrontEnd: time 1.623e-06/0.1532, allocations: 3.938 kB / 499.8 MB, free: 72 kB / 350.1 MB
Notification: Performance of Transformations before backend: time 7.595e-06/0.1532, allocations: 0 / 499.8 MB, free: 72 kB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 41
 * Number of variables: 41
Notification: Performance of Generate backend data structure: time 0.002846/0.1561, allocations: 0.7545 MB / 0.4888 GB, free: 15.28 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.1561, allocations: 19.83 kB / 0.4888 GB, free: 15.26 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.1562, allocations: 24.8 kB / 0.4888 GB, free: 15.23 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1566, allocations: 206.8 kB / 0.489 GB, free: 15 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1566, allocations: 16.38 kB / 0.489 GB, free: 14.99 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.1566, allocations: 20.38 kB / 0.4891 GB, free: 14.97 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.1571, allocations: 265.9 kB / 0.4893 GB, free: 14.7 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1572, allocations: 4.188 kB / 0.4893 GB, free: 14.7 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.1572, allocations: 7.938 kB / 0.4893 GB, free: 14.69 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1572, allocations: 8 kB / 0.4893 GB, free: 14.68 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.1576, allocations: 259.7 kB / 0.4896 GB, free: 14.43 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.1594, allocations: 1.109 MB / 0.4907 GB, free: 13.19 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.1599, allocations: 275.1 kB / 0.4909 GB, free: 12.91 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.1601, allocations: 137.3 kB / 0.4911 GB, free: 12.77 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.77e-05/0.1602, allocations: 20.2 kB / 0.4911 GB, free: 12.75 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.1607, allocations: 219.5 kB / 0.4913 GB, free: 12.53 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=29): time 4.108e-06/0.1607, allocations: 4 kB / 0.4913 GB, free: 12.52 MB / 366.1 MB
Notification: Performance of matching and sorting (n=29): time 0.003067/0.1638, allocations: 0.8426 MB / 0.4921 GB, free: 11.67 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1638, allocations: 55.41 kB / 0.4922 GB, free: 11.61 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.1641, allocations: 187.2 kB / 0.4923 GB, free: 11.41 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.1641, allocations: 33.7 kB / 0.4924 GB, free: 11.38 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.1642, allocations: 124.9 kB / 0.4925 GB, free: 11.25 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1643, allocations: 103.1 kB / 0.4926 GB, free: 11.15 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1644, allocations: 69.44 kB / 0.4927 GB, free: 11.07 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001705/0.1646, allocations: 334.8 kB / 0.493 GB, free: 10.74 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.1649, allocations: 148 kB / 0.4931 GB, free: 10.59 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1652, allocations: 182.5 kB / 0.4933 GB, free: 10.41 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.1657, allocations: 362.4 kB / 0.4936 GB, free: 10.04 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1657, allocations: 3.938 kB / 0.4936 GB, free: 10.04 MB / 366.1 MB
Notification: Performance of matching and sorting (n=38) (initialization): time 0.001777/0.1675, allocations: 0.6422 MB / 0.4943 GB, free: 9.387 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1675, allocations: 8 kB / 0.4943 GB, free: 9.379 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1675, allocations: 0 / 0.4943 GB, free: 9.379 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.1692, allocations: 344.4 kB / 0.4946 GB, free: 9.039 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.1695, allocations: 51.97 kB / 0.4947 GB, free: 8.988 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004774/0.1743, allocations: 2.533 MB / 0.4971 GB, free: 6.34 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1745, allocations: 23.84 kB / 0.4971 GB, free: 6.316 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.1746, allocations: 12 kB / 0.4972 GB, free: 6.305 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (31):
 * Single equations (assignments): 30
 * 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
   {(6,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.1748, allocations: 141.8 kB / 0.4973 GB, free: 6.156 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.1749, allocations: 23.8 kB / 0.4973 GB, free: 6.133 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.1767, allocations: 0.6564 MB / 0.498 GB, free: 5.469 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1767, allocations: 7.938 kB / 0.498 GB, free: 5.461 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1767, allocations: 0 / 0.498 GB, free: 5.461 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1767, allocations: 7.984 kB / 0.498 GB, free: 5.453 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.1772, allocations: 368.3 kB / 0.4983 GB, free: 5.051 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1772, allocations: 0 / 0.4983 GB, free: 5.051 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1774, allocations: 39.98 kB / 0.4984 GB, free: 5.012 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.179, allocations: 336.4 kB / 0.4987 GB, free: 4.68 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.179, allocations: 11.98 kB / 0.4987 GB, free: 4.668 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.1832, allocations: 2.518 MB / 0.5012 GB, free: 2.035 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1832, allocations: 0 / 0.5012 GB, free: 2.035 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.1851, allocations: 0.6348 MB / 0.5018 GB, free: 1.379 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1851, allocations: 31.73 kB / 0.5018 GB, free: 1.348 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1852, allocations: 4.125 kB / 0.5018 GB, free: 1.344 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.1854, allocations: 21.81 kB / 0.5018 GB, free: 1.324 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.1855, allocations: 23.95 kB / 0.5019 GB, free: 1.301 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.1855, allocations: 12 kB / 0.5019 GB, free: 1.289 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001615/0.1857, allocations: 135.5 kB / 0.502 GB, free: 1.156 MB / 366.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1857, allocations: 0 / 0.502 GB, free: 1.156 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0004888/0.1861, allocations: 92 kB / 0.5021 GB, free: 1.066 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: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (27):
 * Single equations (assignments): 26
 * 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
   {(6,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002433/0.1864, allocations: 123.1 kB / 0.5022 GB, free: 0.9336 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001664/0.1881, allocations: 0.596 MB / 0.5028 GB, free: 332 kB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1881, allocations: 0 / 0.5028 GB, free: 332 kB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00107/0.1891, allocations: 422.3 kB / 0.5032 GB, free: 15.9 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1894, allocations: 34.83 kB / 0.5032 GB, free: 15.87 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1905, allocations: 0.5031 MB / 0.5037 GB, free: 15.34 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1909, allocations: 0.7493 MB / 0.5044 GB, free: 14.57 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.00012/0.191, allocations: 33.92 kB / 0.5045 GB, free: 14.54 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.1911, allocations: 19.44 kB / 0.5045 GB, free: 14.52 MB / 382.1 MB
Notification: Performance of SimCode: time 4.51e-07/0.1911, allocations: 0 / 0.5045 GB, free: 14.52 MB / 382.1 MB
Notification: Performance of Templates: time 0.01257/0.2037, allocations: 6.225 MB / 0.5106 GB, free: 8.312 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.147789723239839]
Failed to read output from testmodel.py, exit status != 0:
0.21177913714200258 0.502095109 0.345733563
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9eb186d7b0>