Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.001555/0.001555, allocations: 117.8 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.001675/0.001675, allocations: 184.9 kB / 23.02 MB, free: 4.957 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.556/1.556, allocations: 225.6 MB / 251.8 MB, free: 13.02 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.05815/0.05815, allocations: 8.235 MB / 315.3 MB, free: 388 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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad")
translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 439.7 MB, free: 12.18 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1236, allocations: 54.39 MB / 494.1 MB, free: 5.695 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002304/0.1259, allocations: 0.8803 MB / 495 MB, free: 4.82 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001956/0.1279, allocations: 1.302 MB / 496.3 MB, free: 3.504 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.128, allocations: 7.938 kB / 496.3 MB, free: 3.496 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.1283, allocations: 63.75 kB / 496.4 MB, free: 3.434 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1285, allocations: 43.7 kB / 496.4 MB, free: 3.391 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.1293, allocations: 353.9 kB / 496.8 MB, free: 3.047 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1294, allocations: 75.59 kB / 496.8 MB, free: 2.973 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1295, allocations: 19.98 kB / 496.9 MB, free: 2.953 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1296, allocations: 31.91 kB / 496.9 MB, free: 2.922 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1297, allocations: 51.77 kB / 496.9 MB, free: 2.871 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1298, allocations: 8 kB / 496.9 MB, free: 2.863 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.13, allocations: 99.83 kB / 497 MB, free: 2.766 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.13, allocations: 8 kB / 497 MB, free: 2.758 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.1301, allocations: 43.78 kB / 497.1 MB, free: 2.715 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1304, allocations: 147.5 kB / 497.2 MB, free: 2.57 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1304, allocations: 0 / 497.2 MB, free: 2.57 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.783e-06/0.1304, allocations: 0 / 497.2 MB, free: 2.57 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.891e-05/0.1304, allocations: 4 kB / 497.2 MB, free: 2.566 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.0009694/0.1314, allocations: 369.7 kB / 497.6 MB, free: 2.172 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1314, allocations: 15.89 kB / 497.6 MB, free: 2.156 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.1314, allocations: 8.891 kB / 497.6 MB, free: 2.148 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1316, allocations: 134.3 kB / 497.8 MB, free: 1.992 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1317, allocations: 8.312 kB / 497.8 MB, free: 1.984 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1317, allocations: 4.375 kB / 497.8 MB, free: 1.98 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1319, allocations: 94.22 kB / 497.9 MB, free: 1.883 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1319, allocations: 192 / 497.9 MB, free: 1.883 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1319, allocations: 11.94 kB / 497.9 MB, free: 1.871 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1319, allocations: 0 / 497.9 MB, free: 1.871 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.132, allocations: 75.97 kB / 497.9 MB, free: 1.797 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.1327, allocations: 355.7 kB / 498.3 MB, free: 1.406 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.133, allocations: 106.7 kB / 498.4 MB, free: 1.293 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.1331, allocations: 32.84 kB / 498.4 MB, free: 1.258 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.1331, allocations: 0 / 498.4 MB, free: 1.258 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1332, allocations: 42.66 kB / 498.5 MB, free: 1.207 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1332, allocations: 0 / 498.5 MB, free: 1.207 MB / 350.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0006124/0.1338, allocations: 154.4 kB / 498.6 MB, free: 1.047 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1338, allocations: 59.41 kB / 498.7 MB, free: 0.9766 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.134, allocations: 146.1 kB / 498.8 MB, free: 0.8203 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.134, allocations: 25.7 kB / 498.8 MB, free: 0.7891 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.1341, allocations: 100 kB / 498.9 MB, free: 0.6875 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1342, allocations: 23.8 kB / 499 MB, free: 0.6641 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.1342, allocations: 25.7 kB / 499 MB, free: 0.6328 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001595/0.1344, allocations: 318.8 kB / 499.3 MB, free: 320 kB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.1344, allocations: 39.92 kB / 499.3 MB, free: 280 kB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.097e-05/0.1345, allocations: 32 kB / 499.4 MB, free: 248 kB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1346, allocations: 72.84 kB / 499.4 MB, free: 172 kB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1346, allocations: 0 / 499.4 MB, free: 172 kB / 350.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002895/0.1349, allocations: 146.5 kB / 499.6 MB, free: 16 kB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1349, allocations: 9.562 kB / 499.6 MB, free: 8 kB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1349, allocations: 3.938 kB / 499.6 MB, free: 4 kB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.1352, allocations: 32.83 kB / 499.6 MB, free: 15.97 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.1353, allocations: 27.86 kB / 499.7 MB, free: 15.94 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.1368, allocations: 1.334 MB / 0.4893 GB, free: 14.49 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.1368, allocations: 3.953 kB / 0.4893 GB, free: 14.48 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1368, allocations: 7.969 kB / 0.4893 GB, free: 14.48 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 (9):
 * Single equations (assignments): 8
 * 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.0001207/0.137, allocations: 125.8 kB / 0.4894 GB, free: 14.34 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.137, allocations: 7.953 kB / 0.4894 GB, free: 14.34 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.1373, allocations: 134.9 kB / 0.4895 GB, free: 14.2 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1373, allocations: 0 / 0.4895 GB, free: 14.2 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1373, allocations: 0 / 0.4895 GB, free: 14.2 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1373, allocations: 3.938 kB / 0.4895 GB, free: 14.19 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.1376, allocations: 172.7 kB / 0.4897 GB, free: 13.98 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1376, allocations: 0 / 0.4897 GB, free: 13.98 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.1376, allocations: 12 kB / 0.4897 GB, free: 13.97 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/0.1378, allocations: 36.83 kB / 0.4897 GB, free: 13.93 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1378, allocations: 4 kB / 0.4897 GB, free: 13.93 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.1391, allocations: 1.338 MB / 0.491 GB, free: 12.47 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1391, allocations: 0 / 0.491 GB, free: 12.47 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.1395, allocations: 220.6 kB / 0.4913 GB, free: 12.24 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.1395, allocations: 15.94 kB / 0.4913 GB, free: 12.22 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1395, allocations: 0 / 0.4913 GB, free: 12.22 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1397, allocations: 8.094 kB / 0.4913 GB, free: 12.21 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1397, allocations: 3.984 kB / 0.4913 GB, free: 12.21 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1397, allocations: 4 kB / 0.4913 GB, free: 12.21 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001179/0.1398, allocations: 114.4 kB / 0.4914 GB, free: 12.1 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 4 kB / 0.4914 GB, free: 12.09 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0002923/0.1401, allocations: 24 kB / 0.4914 GB, free: 12.07 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 (6):
 * Single equations (assignments): 5
 * 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.0001899/0.1403, allocations: 107.2 kB / 0.4915 GB, free: 11.96 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004375/0.1407, allocations: 194.5 kB / 0.4917 GB, free: 11.75 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1408, allocations: 4 kB / 0.4917 GB, free: 11.75 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.141, allocations: 146.7 kB / 0.4919 GB, free: 11.59 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1413, allocations: 24.14 kB / 0.4919 GB, free: 11.57 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.1418, allocations: 221.6 kB / 0.4921 GB, free: 11.32 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.1423, allocations: 0.6962 MB / 0.4928 GB, free: 10.6 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 5.399e-05/0.1423, allocations: 4.672 kB / 0.4928 GB, free: 10.6 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.1424, allocations: 19.42 kB / 0.4928 GB, free: 10.58 MB / 366.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.1424, allocations: 3.938 kB / 0.4928 GB, free: 10.57 MB / 366.1 MB
Notification: Performance of Templates: time 0.006317/0.1487, allocations: 1.566 MB / 0.4943 GB, free: 9.016 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.743932056240737]
Failed to read output from testmodel.py, exit status != 0:
0.15727146062999964 0.17293233900000002 0.039313712
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f40c03ad7b0>