Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.00127/0.00127, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.409/1.409, allocations: 225.6 MB / 247.7 MB, free: 13.26 MB / 206.1 MB
"
[Timeout remaining time 178]
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.001435/0.001435, allocations: 185.8 kB / 303.1 MB, free: 8.68 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5386/0.5386, allocations: 99.64 MB / 458 MB, free: 3.945 MB / 318.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2")
translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003365/0.003365, allocations: 84.14 kB / 0.6129 GB, free: 6.605 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1722, allocations: 76.99 MB / 0.6881 GB, free: 9.453 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.007607/0.1798, allocations: 5.81 MB / 0.6938 GB, free: 3.605 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004256/0.1841, allocations: 1.759 MB / 0.6955 GB, free: 1.844 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008254/0.1849, allocations: 11.94 kB / 0.6955 GB, free: 1.832 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008296/0.1857, allocations: 202.3 kB / 0.6957 GB, free: 1.633 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002691/0.1884, allocations: 0.744 MB / 0.6964 GB, free: 0.8867 MB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1899, allocations: 0.5581 MB / 0.697 GB, free: 344 kB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.3454/0.5353, allocations: 1.245 MB / 0.6982 GB, free: 10.2 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.5358, allocations: 182.3 kB / 0.6984 GB, free: 10.16 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.5367, allocations: 0.5384 MB / 0.6989 GB, free: 10.09 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.5375, allocations: 0.6489 MB / 0.6995 GB, free: 9.953 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.5376, allocations: 89.56 kB / 0.6996 GB, free: 9.953 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.5382, allocations: 232 kB / 0.6998 GB, free: 9.953 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000182/0.5384, allocations: 241.2 kB / 0.7001 GB, free: 9.91 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003808/0.5387, allocations: 0.5484 MB / 0.7006 GB, free: 9.73 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001312/0.5401, allocations: 1.358 MB / 0.7019 GB, free: 9.512 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.5401, allocations: 0 / 0.7019 GB, free: 9.512 MB / 494.1 MB
Notification: Performance of FrontEnd: time 2.054e-06/0.5401, allocations: 0 / 0.7019 GB, free: 9.512 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 1.403e-05/0.5401, allocations: 1.125 kB / 0.7019 GB, free: 9.512 MB / 494.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 167
 * Number of variables: 167
Notification: Performance of Generate backend data structure: time 0.007371/0.5474, allocations: 2.307 MB / 0.7042 GB, free: 8.773 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5475, allocations: 15.52 kB / 0.7042 GB, free: 8.77 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004956/0.5524, allocations: 0.7656 MB / 0.7049 GB, free: 8.688 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.5538, allocations: 0.6569 MB / 0.7056 GB, free: 8.402 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.5541, allocations: 253.5 kB / 0.7058 GB, free: 8.211 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.5543, allocations: 77.95 kB / 0.7059 GB, free: 8.203 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.5565, allocations: 0.9523 MB / 0.7068 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5566, allocations: 1.453 kB / 0.7068 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.5566, allocations: 25.5 kB / 0.7069 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.5566, allocations: 17.69 kB / 0.7069 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.5586, allocations: 0.9785 MB / 0.7078 GB, free: 8.062 MB / 494.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00514/0.5638, allocations: 3.117 MB / 0.7109 GB, free: 6.305 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.5656, allocations: 0.7709 MB / 0.7116 GB, free: 6.023 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.567, allocations: 0.6299 MB / 0.7122 GB, free: 5.793 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.418e-05/0.5671, allocations: 14.53 kB / 0.7123 GB, free: 5.793 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.5671, allocations: 38.86 kB / 0.7123 GB, free: 5.75 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=82): time 2.745e-06/0.5671, allocations: 0 / 0.7123 GB, free: 5.75 MB / 494.1 MB
Notification: Performance of matching and sorting (n=82): time 0.03049/0.5976, allocations: 6.658 MB / 0.7188 GB, free: 4.695 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.5977, allocations: 60.92 kB / 0.7188 GB, free: 4.633 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.5989, allocations: 0.8052 MB / 0.7196 GB, free: 4.238 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002293/0.5992, allocations: 41.83 kB / 0.7197 GB, free: 4.195 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.5994, allocations: 436.9 kB / 0.7201 GB, free: 3.812 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.5997, allocations: 310.4 kB / 0.7204 GB, free: 3.551 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.6001, allocations: 179.5 kB / 0.7206 GB, free: 3.438 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 7.371e-05/0.6001, allocations: 348.2 kB / 0.7209 GB, free: 3.102 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.6016, allocations: 0.6426 MB / 0.7215 GB, free: 2.785 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.6031, allocations: 0.7768 MB / 0.7223 GB, free: 2.328 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/0.6216, allocations: 4.494 MB / 0.7267 GB, free: 136 kB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.6217, allocations: 2.562 kB / 0.7267 GB, free: 136 kB / 494.1 MB
Notification: Performance of matching and sorting (n=131) (initialization): time 0.0155/0.6372, allocations: 4.085 MB / 0.7307 GB, free: 14.19 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.6372, allocations: 13.7 kB / 0.7307 GB, free: 14.19 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.6372, allocations: 1.531 kB / 0.7307 GB, free: 14.19 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007319/0.6445, allocations: 1.789 MB / 0.7324 GB, free: 13.41 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.6457, allocations: 169.1 kB / 0.7326 GB, free: 13.38 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02536/0.671, allocations: 9.228 MB / 0.7416 GB, free: 7.699 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.6727, allocations: 158.5 kB / 0.7417 GB, free: 7.605 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.6729, allocations: 36.73 kB / 0.7418 GB, free: 7.594 MB / 0.4981 GB
Warning: Assuming fixed start value for the following 2 variables:
         order31.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order31.delta:VARIABLE(flow=false start = order31.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (95):
 * Single equations (assignments): 94
 * 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
   {(25,12)}
Notification: Performance of prepare postOptimizeDAE: time 0.0006827/0.6736, allocations: 240.8 kB / 0.742 GB, free: 7.402 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.6739, allocations: 108.6 kB / 0.7421 GB, free: 7.297 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.6883, allocations: 3.792 MB / 0.7458 GB, free: 3.516 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.6883, allocations: 15.03 kB / 0.7458 GB, free: 3.504 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6883, allocations: 0 / 0.7458 GB, free: 3.504 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.6883, allocations: 3.984 kB / 0.7458 GB, free: 3.5 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/0.7062, allocations: 5.293 MB / 0.751 GB, free: 14.12 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.7062, allocations: 0 / 0.751 GB, free: 14.12 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.7069, allocations: 87.7 kB / 0.7511 GB, free: 14.04 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006812/0.7137, allocations: 1.744 MB / 0.7528 GB, free: 12.3 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.7139, allocations: 19.98 kB / 0.7528 GB, free: 12.28 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/0.7357, allocations: 7.968 MB / 0.7606 GB, free: 4.207 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7357, allocations: 0 / 0.7606 GB, free: 4.207 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.7521, allocations: 4.687 MB / 0.7652 GB, free: 15.54 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.7526, allocations: 115.1 kB / 0.7653 GB, free: 15.42 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.7529, allocations: 16 kB / 0.7653 GB, free: 15.41 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.7541, allocations: 91.89 kB / 0.7654 GB, free: 15.32 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000765/0.7549, allocations: 212.6 kB / 0.7656 GB, free: 15.11 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.755, allocations: 20.69 kB / 0.7656 GB, free: 15.09 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.001104/0.7561, allocations: 0.5417 MB / 0.7661 GB, free: 14.54 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.7561, allocations: 0 / 0.7661 GB, free: 14.54 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.002008/0.7581, allocations: 411.7 kB / 0.7665 GB, free: 14.13 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (order31.delta,order31.w,order31.e1q)
 * 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 (49):
 * Single equations (assignments): 48
 * 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
   {(26,10)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003655/0.7585, allocations: 110.5 kB / 0.7666 GB, free: 14.02 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.007526/0.766, allocations: 2.232 MB / 0.7688 GB, free: 11.8 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.766, allocations: 0.5625 kB / 0.7688 GB, free: 11.8 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.005092/0.7711, allocations: 1.434 MB / 0.7702 GB, free: 10.36 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.7722, allocations: 75.86 kB / 0.7703 GB, free: 10.29 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.7763, allocations: 1.771 MB / 0.772 GB, free: 8.512 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008621/0.7772, allocations: 1.025 MB / 0.773 GB, free: 7.457 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0003599/0.7776, allocations: 81 kB / 0.7731 GB, free: 7.379 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.7778, allocations: 63.42 kB / 0.7731 GB, free: 7.316 MB / 0.5294 GB
Notification: Performance of SimCode: time 1.423e-06/0.7778, allocations: 0 / 0.7731 GB, free: 7.316 MB / 0.5294 GB
Notification: Performance of Templates: time 0.04472/0.8225, allocations: 23.57 MB / 0.7962 GB, free: 15.8 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile [Timeout 660]
(rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.720431094989181]
Failed to read output from testmodel.py, exit status != 0:
0.8339720740914345 0.8482183719999999 0.30491636099999997
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd3712457b0>