Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.001328/0.001328, 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.426/1.426, allocations: 225.6 MB / 247.7 MB, free: 13.29 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.001521/0.001521, allocations: 191.2 kB / 303.1 MB, free: 8.66 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5072/0.5072, allocations: 79.72 MB / 438.1 MB, free: 5.273 MB / 302.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2")
translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 87.88 kB / 0.584 GB, free: 8.016 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1527, allocations: 72.13 MB / 0.6544 GB, free: 15.79 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007232/0.16, allocations: 5.712 MB / 0.66 GB, free: 10.04 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004134/0.1641, allocations: 1.751 MB / 0.6617 GB, free: 8.285 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.1652, allocations: 11.94 kB / 0.6617 GB, free: 8.273 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000695/0.1659, allocations: 194.3 kB / 0.6619 GB, free: 8.082 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002254/0.1682, allocations: 0.7404 MB / 0.6626 GB, free: 7.34 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1695, allocations: 0.5574 MB / 0.6632 GB, free: 6.789 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001696/0.1712, allocations: 1.233 MB / 0.6644 GB, free: 5.551 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.1716, allocations: 187.5 kB / 0.6645 GB, free: 5.352 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.1723, allocations: 0.529 MB / 0.6651 GB, free: 4.82 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.1734, allocations: 0.6534 MB / 0.6657 GB, free: 4.164 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.1736, allocations: 84 kB / 0.6658 GB, free: 4.082 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.1741, allocations: 223.9 kB / 0.666 GB, free: 3.863 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.1744, allocations: 242.9 kB / 0.6662 GB, free: 3.625 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.175, allocations: 0.5359 MB / 0.6667 GB, free: 3.086 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002006/0.177, allocations: 1.346 MB / 0.6681 GB, free: 1.734 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.177, allocations: 0 / 0.6681 GB, free: 1.734 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.794e-06/0.177, allocations: 0 / 0.6681 GB, free: 1.734 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 1.814e-05/0.1771, allocations: 0 / 0.6681 GB, free: 1.734 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 166
 * Number of variables: 166
Notification: Performance of Generate backend data structure: time 0.007786/0.1848, allocations: 2.284 MB / 0.6703 GB, free: 15.41 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1849, allocations: 8.031 kB / 0.6703 GB, free: 15.41 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/0.19, allocations: 0.7641 MB / 0.671 GB, free: 14.64 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.1915, allocations: 0.6491 MB / 0.6717 GB, free: 13.96 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.1919, allocations: 243.5 kB / 0.6719 GB, free: 13.69 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.192, allocations: 75.94 kB / 0.672 GB, free: 13.61 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.1941, allocations: 0.9434 MB / 0.6729 GB, free: 12.66 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1941, allocations: 3.938 kB / 0.6729 GB, free: 12.66 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.1942, allocations: 28 kB / 0.6729 GB, free: 12.63 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.1942, allocations: 16 kB / 0.6729 GB, free: 12.61 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.1964, allocations: 0.9733 MB / 0.6739 GB, free: 11.64 MB / 478.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.0063/0.2027, allocations: 3.084 MB / 0.6769 GB, free: 8.41 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.2047, allocations: 0.7843 MB / 0.6777 GB, free: 7.621 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.2061, allocations: 0.628 MB / 0.6783 GB, free: 6.988 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.2062, allocations: 8.656 kB / 0.6783 GB, free: 6.977 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.2062, allocations: 47.16 kB / 0.6783 GB, free: 6.922 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=81): time 2.615e-06/0.2062, allocations: 0 / 0.6783 GB, free: 6.922 MB / 478.1 MB
Notification: Performance of matching and sorting (n=81): time 0.02717/0.2334, allocations: 6.581 MB / 0.6848 GB, free: 332 kB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.2335, allocations: 64 kB / 0.6848 GB, free: 256 kB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.2349, allocations: 0.7866 MB / 0.6856 GB, free: 15.46 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.2351, allocations: 45.7 kB / 0.6856 GB, free: 15.41 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.2355, allocations: 437 kB / 0.6861 GB, free: 14.97 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.2359, allocations: 301.4 kB / 0.6863 GB, free: 14.68 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.2363, allocations: 174.6 kB / 0.6865 GB, free: 14.5 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001937/0.2365, allocations: 345.9 kB / 0.6868 GB, free: 14.15 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.238, allocations: 0.6386 MB / 0.6875 GB, free: 13.52 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.2396, allocations: 0.7627 MB / 0.6882 GB, free: 12.72 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/0.2575, allocations: 4.457 MB / 0.6926 GB, free: 8.227 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.2575, allocations: 4 kB / 0.6926 GB, free: 8.223 MB / 494.1 MB
Notification: Performance of matching and sorting (n=127) (initialization): time 0.01422/0.2717, allocations: 4.008 MB / 0.6965 GB, free: 4.199 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.2717, allocations: 11.94 kB / 0.6965 GB, free: 4.188 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2717, allocations: 0 / 0.6965 GB, free: 4.188 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006397/0.2781, allocations: 1.862 MB / 0.6983 GB, free: 2.32 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.279, allocations: 163.8 kB / 0.6985 GB, free: 2.16 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3299/0.6089, allocations: 8.997 MB / 0.7073 GB, free: 40.32 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.6104, allocations: 156 kB / 0.7074 GB, free: 40.31 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.6105, allocations: 35.5 kB / 0.7074 GB, free: 40.3 MB / 494.1 MB
Warning: Assuming fixed start value for the following 2 variables:
         order21.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order21.delta:VARIABLE(flow=false start = order21.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 (92):
 * Single equations (assignments): 91
 * 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 prepare postOptimizeDAE: time 0.0003973/0.6109, allocations: 220.4 kB / 0.7076 GB, free: 40.13 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.6111, allocations: 110.4 kB / 0.7078 GB, free: 40.08 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.6242, allocations: 3.785 MB / 0.7114 GB, free: 39.34 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.6242, allocations: 8.312 kB / 0.7115 GB, free: 39.34 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6243, allocations: 7.578 kB / 0.7115 GB, free: 39.33 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/0.6243, allocations: 8.609 kB / 0.7115 GB, free: 39.33 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.6395, allocations: 5.254 MB / 0.7166 GB, free: 37.58 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.6395, allocations: 3.938 kB / 0.7166 GB, free: 37.57 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.64, allocations: 92.28 kB / 0.7167 GB, free: 37.57 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005778/0.6458, allocations: 1.743 MB / 0.7184 GB, free: 37.26 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.646, allocations: 11.38 kB / 0.7184 GB, free: 37.25 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/0.6632, allocations: 7.995 MB / 0.7262 GB, free: 33.42 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6632, allocations: 0 / 0.7262 GB, free: 33.42 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.6764, allocations: 4.661 MB / 0.7308 GB, free: 31.36 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.6768, allocations: 116.6 kB / 0.7309 GB, free: 31.29 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6769, allocations: 12 kB / 0.7309 GB, free: 31.27 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/0.6778, allocations: 95.11 kB / 0.731 GB, free: 31.23 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005907/0.6784, allocations: 207.7 kB / 0.7312 GB, free: 31.09 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.6785, allocations: 19.69 kB / 0.7312 GB, free: 31.08 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0005432/0.679, allocations: 0.5315 MB / 0.7317 GB, free: 30.78 MB / 494.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.679, allocations: 4 kB / 0.7317 GB, free: 30.78 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.0011/0.6801, allocations: 398.8 kB / 0.7321 GB, free: 30.73 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (order21.delta,order21.w)
 * 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 (48):
 * Single equations (assignments): 47
 * 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.0002052/0.6803, allocations: 118.8 kB / 0.7322 GB, free: 30.62 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.005697/0.686, allocations: 2.2 MB / 0.7344 GB, free: 29.52 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.686, allocations: 0 / 0.7344 GB, free: 29.52 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003959/0.69, allocations: 1.436 MB / 0.7358 GB, free: 28.76 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.6907, allocations: 85.77 kB / 0.7358 GB, free: 28.7 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.6935, allocations: 1.691 MB / 0.7375 GB, free: 27 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.6938, allocations: 1.025 MB / 0.7385 GB, free: 25.95 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0002544/0.6941, allocations: 81.8 kB / 0.7386 GB, free: 25.87 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.6943, allocations: 55.44 kB / 0.7386 GB, free: 25.82 MB / 494.1 MB
Notification: Performance of SimCode: time 1.523e-06/0.6943, allocations: 0 / 0.7386 GB, free: 25.82 MB / 494.1 MB
Notification: Performance of Templates: time 0.02851/0.7228, allocations: 23.25 MB / 0.7613 GB, free: 2.617 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.409851334989071]
Failed to read output from testmodel.py, exit status != 0:
0.7303752219304442 0.745775818 0.5653539129999999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f11e91457b0>