Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.001771/0.001771, 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.001811/0.001811, allocations: 192.9 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.576/1.576, 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.05551/0.05551, allocations: 8.248 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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad")
translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 439.7 MB, free: 12.17 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.125, allocations: 54.4 MB / 494.1 MB, free: 5.68 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.003211/0.1283, allocations: 1.633 MB / 495.8 MB, free: 4.047 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002584/0.1308, allocations: 1.571 MB / 497.3 MB, free: 2.461 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.1309, allocations: 4 kB / 497.3 MB, free: 2.457 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.1314, allocations: 123.3 kB / 497.5 MB, free: 2.336 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.1318, allocations: 143.1 kB / 497.6 MB, free: 2.195 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.134, allocations: 1.046 MB / 498.6 MB, free: 1.148 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003872/0.1343, allocations: 254.8 kB / 498.9 MB, free: 0.8984 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1345, allocations: 48.56 kB / 498.9 MB, free: 0.8477 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1346, allocations: 107.6 kB / 499 MB, free: 0.7422 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1348, allocations: 131.4 kB / 499.2 MB, free: 0.6133 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1349, allocations: 16 kB / 499.2 MB, free: 0.5977 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.1354, allocations: 235.8 kB / 499.4 MB, free: 376 kB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1355, allocations: 51.77 kB / 499.5 MB, free: 324 kB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1357, allocations: 123.4 kB / 499.6 MB, free: 200 kB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.1363, allocations: 414.5 kB / 500 MB, free: 15.79 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1363, allocations: 0 / 500 MB, free: 15.79 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.433e-06/0.1363, allocations: 0 / 500 MB, free: 15.79 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.065e-05/0.1364, allocations: 0 / 500 MB, free: 15.79 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: 40
 * Number of variables: 40
Notification: Performance of Generate backend data structure: time 0.003834/0.1402, allocations: 0.9378 MB / 0.4892 GB, free: 14.82 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1402, allocations: 11.89 kB / 0.4892 GB, free: 14.8 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1403, allocations: 32.78 kB / 0.4892 GB, free: 14.77 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.1407, allocations: 198 kB / 0.4894 GB, free: 14.55 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.1408, allocations: 16.7 kB / 0.4894 GB, free: 14.54 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1408, allocations: 16.38 kB / 0.4894 GB, free: 14.52 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.1416, allocations: 314.5 kB / 0.4897 GB, free: 14.2 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1416, allocations: 192 / 0.4897 GB, free: 14.2 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.1416, allocations: 7.938 kB / 0.4898 GB, free: 14.2 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1416, allocations: 4 kB / 0.4898 GB, free: 14.19 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.1421, allocations: 255.9 kB / 0.49 GB, free: 13.94 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.1443, allocations: 1.14 MB / 0.4911 GB, free: 12.68 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.1451, allocations: 289.6 kB / 0.4914 GB, free: 12.39 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.1453, allocations: 136.8 kB / 0.4915 GB, free: 12.26 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.1453, allocations: 7.984 kB / 0.4915 GB, free: 12.25 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.1454, allocations: 46.88 kB / 0.4916 GB, free: 12.2 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.1454, allocations: 0 / 0.4916 GB, free: 12.2 MB / 366.1 MB
Notification: Performance of matching and sorting (n=25): time 0.004166/0.1496, allocations: 0.9973 MB / 0.4926 GB, free: 11.19 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.1497, allocations: 106.8 kB / 0.4927 GB, free: 11.06 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.15, allocations: 207 kB / 0.4929 GB, free: 10.84 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.1501, allocations: 37.7 kB / 0.4929 GB, free: 10.8 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1502, allocations: 132.9 kB / 0.493 GB, free: 10.67 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.1504, allocations: 95.2 kB / 0.4931 GB, free: 10.57 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1505, allocations: 69.69 kB / 0.4932 GB, free: 10.5 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.000155/0.1507, allocations: 334.8 kB / 0.4935 GB, free: 10.16 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.151, allocations: 180.2 kB / 0.4937 GB, free: 9.988 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.1513, allocations: 206.5 kB / 0.4939 GB, free: 9.777 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.1519, allocations: 389.4 kB / 0.4942 GB, free: 9.395 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1519, allocations: 4.031 kB / 0.4942 GB, free: 9.391 MB / 366.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.002197/0.1541, allocations: 0.7397 MB / 0.495 GB, free: 8.641 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1542, allocations: 7.938 kB / 0.495 GB, free: 8.633 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1542, allocations: 0 / 0.495 GB, free: 8.633 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/0.1565, allocations: 428.4 kB / 0.4954 GB, free: 8.211 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1568, allocations: 55.91 kB / 0.4954 GB, free: 8.156 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.1619, allocations: 2.638 MB / 0.498 GB, free: 5.402 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.1622, allocations: 35.77 kB / 0.498 GB, free: 5.367 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.1623, allocations: 8.234 kB / 0.498 GB, free: 5.359 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 (33):
 * Single equations (assignments): 32
 * 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
   {(4,4)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.1624, allocations: 137.8 kB / 0.4982 GB, free: 5.215 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.1625, allocations: 23.86 kB / 0.4982 GB, free: 5.191 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.1649, allocations: 0.695 MB / 0.4989 GB, free: 4.488 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1649, allocations: 4 kB / 0.4989 GB, free: 4.484 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1649, allocations: 0 / 0.4989 GB, free: 4.484 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1649, allocations: 0 / 0.4989 GB, free: 4.484 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.1654, allocations: 368.3 kB / 0.4992 GB, free: 4.082 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1654, allocations: 0 / 0.4992 GB, free: 4.082 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1656, allocations: 35.98 kB / 0.4993 GB, free: 4.047 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/0.1677, allocations: 420.3 kB / 0.4997 GB, free: 3.633 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.1678, allocations: 15.94 kB / 0.4997 GB, free: 3.617 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005099/0.1729, allocations: 2.592 MB / 0.5022 GB, free: 0.9102 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1729, allocations: 0 / 0.5022 GB, free: 0.9102 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.1752, allocations: 0.7425 MB / 0.5029 GB, free: 152 kB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.1752, allocations: 31.78 kB / 0.503 GB, free: 120 kB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.1753, allocations: 4 kB / 0.503 GB, free: 116 kB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.1756, allocations: 27.92 kB / 0.503 GB, free: 88 kB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.1757, allocations: 23.95 kB / 0.503 GB, free: 64 kB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.1757, allocations: 8 kB / 0.503 GB, free: 56 kB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002097/0.1759, allocations: 153 kB / 0.5032 GB, free: 15.9 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.1759, allocations: 3.938 kB / 0.5032 GB, free: 15.9 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0005091/0.1764, allocations: 107.9 kB / 0.5033 GB, free: 15.79 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 (22):
 * Single equations (assignments): 21
 * 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
   {(4,4)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.1767, allocations: 123.3 kB / 0.5034 GB, free: 15.66 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001788/0.1784, allocations: 0.5805 MB / 0.504 GB, free: 15.07 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.1784, allocations: 0 / 0.504 GB, free: 15.07 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001137/0.1796, allocations: 390.4 kB / 0.5043 GB, free: 14.68 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.18, allocations: 38.91 kB / 0.5044 GB, free: 14.64 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1811, allocations: 0.5105 MB / 0.5049 GB, free: 14.1 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1815, allocations: 0.7525 MB / 0.5056 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001215/0.1816, allocations: 25.92 kB / 0.5056 GB, free: 13.3 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.1817, allocations: 31.42 kB / 0.5057 GB, free: 13.27 MB / 382.1 MB
Notification: Performance of SimCode: time 7.41e-07/0.1817, allocations: 0 / 0.5057 GB, free: 13.27 MB / 382.1 MB
Notification: Performance of Templates: time 0.01415/0.1958, allocations: 7.406 MB / 0.5129 GB, free: 5.883 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.138905831612647]
Failed to read output from testmodel.py, exit status != 0:
0.20396633446216583 0.410369501 0.27117340500000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbcbc4617b0>