Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.001948/0.001948, allocations: 110 kB / 18.94 MB, free: 2.789 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.443/1.443, allocations: 225.6 MB / 247.7 MB, free: 13.25 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.001949/0.001949, allocations: 203.1 kB / 303.1 MB, free: 8.652 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.4794/0.4794, allocations: 79.72 MB / 438.1 MB, free: 5.207 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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII")
translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 83.81 kB / 0.584 GB, free: 7.996 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1632, allocations: 72.13 MB / 0.6544 GB, free: 15.77 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.009071/0.1723, allocations: 6.746 MB / 0.661 GB, free: 8.984 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005281/0.1776, allocations: 2.045 MB / 0.663 GB, free: 6.93 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.1788, allocations: 15.94 kB / 0.663 GB, free: 6.914 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.1797, allocations: 241.9 kB / 0.6632 GB, free: 6.676 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002782/0.1825, allocations: 0.8726 MB / 0.6641 GB, free: 5.805 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.1841, allocations: 0.663 MB / 0.6647 GB, free: 5.148 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002445/0.1866, allocations: 1.706 MB / 0.6664 GB, free: 3.438 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00045/0.187, allocations: 223 kB / 0.6666 GB, free: 3.203 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1881, allocations: 0.7042 MB / 0.6673 GB, free: 2.496 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.1891, allocations: 0.8946 MB / 0.6682 GB, free: 1.598 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.1894, allocations: 132 kB / 0.6683 GB, free: 1.469 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005994/0.19, allocations: 271.9 kB / 0.6686 GB, free: 1.203 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.1903, allocations: 346.6 kB / 0.6689 GB, free: 0.8633 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.191, allocations: 0.7069 MB / 0.6696 GB, free: 156 kB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002133/0.1931, allocations: 1.743 MB / 0.6713 GB, free: 14.4 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1931, allocations: 0 / 0.6713 GB, free: 14.4 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.1931, allocations: 0 / 0.6713 GB, free: 14.4 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 1.916e-05/0.1931, allocations: 0 / 0.6713 GB, free: 14.4 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 192
 * Number of variables: 192
Notification: Performance of Generate backend data structure: time 0.01005/0.2032, allocations: 2.886 MB / 0.6741 GB, free: 11.46 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2032, allocations: 8.031 kB / 0.6741 GB, free: 11.45 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00517/0.2084, allocations: 0.7874 MB / 0.6749 GB, free: 10.66 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.2104, allocations: 0.874 MB / 0.6757 GB, free: 9.75 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.2107, allocations: 264.1 kB / 0.676 GB, free: 9.453 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.2109, allocations: 87.94 kB / 0.6761 GB, free: 9.367 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.2134, allocations: 1.11 MB / 0.6772 GB, free: 8.246 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2135, allocations: 0 / 0.6772 GB, free: 8.246 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.2136, allocations: 32 kB / 0.6772 GB, free: 8.215 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.2136, allocations: 20 kB / 0.6772 GB, free: 8.195 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.2159, allocations: 1.007 MB / 0.6782 GB, free: 7.188 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.00767/0.2235, allocations: 3.841 MB / 0.6819 GB, free: 3.176 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007839/0.2314, allocations: 2.027 MB / 0.6839 GB, free: 1.129 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.233, allocations: 0.6332 MB / 0.6845 GB, free: 0.4922 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.873e-05/0.2331, allocations: 24.91 kB / 0.6846 GB, free: 480 kB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.2349, allocations: 0.8372 MB / 0.6854 GB, free: 15.61 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=98): time 2.445e-06/0.2349, allocations: 0 / 0.6854 GB, free: 15.61 MB / 494.1 MB
Notification: Performance of matching and sorting (n=98): time 0.03059/0.2655, allocations: 6.912 MB / 0.6921 GB, free: 8.672 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2656, allocations: 115.8 kB / 0.6922 GB, free: 8.535 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.2677, allocations: 1.147 MB / 0.6934 GB, free: 7.375 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000295/0.268, allocations: 49.73 kB / 0.6934 GB, free: 7.32 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.2685, allocations: 0.5015 MB / 0.6939 GB, free: 6.812 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004778/0.269, allocations: 384.8 kB / 0.6943 GB, free: 6.434 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000567/0.2696, allocations: 299.5 kB / 0.6946 GB, free: 6.137 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001337/0.2697, allocations: 301.1 kB / 0.6948 GB, free: 5.84 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.2715, allocations: 0.7965 MB / 0.6956 GB, free: 5.043 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.2734, allocations: 0.9694 MB / 0.6966 GB, free: 4.031 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.3744/0.6478, allocations: 5.905 MB / 0.7023 GB, free: 40.87 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.6478, allocations: 1.375 kB / 0.7023 GB, free: 40.87 MB / 494.1 MB
Notification: Performance of matching and sorting (n=204) (initialization): time 0.01582/0.6636, allocations: 4.49 MB / 0.7067 GB, free: 40.64 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.6637, allocations: 61.27 kB / 0.7068 GB, free: 40.58 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.6637, allocations: 3.125 kB / 0.7068 GB, free: 40.58 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007135/0.6708, allocations: 1.669 MB / 0.7084 GB, free: 40.33 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.6726, allocations: 296.3 kB / 0.7087 GB, free: 40.3 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.6948, allocations: 8.534 MB / 0.717 GB, free: 36.52 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.697, allocations: 212.8 kB / 0.7172 GB, free: 36.48 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.6971, allocations: 58.08 kB / 0.7173 GB, free: 36.46 MB / 494.1 MB
Warning: Assuming fixed start value for the following 4 variables:
         order6.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order2.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
         order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 2 ($whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (171):
 * Single equations (assignments): 168
 * Array equations: 0
 * Algorithm blocks: 2
 * 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
   {(20,14,23.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0006435/0.6978, allocations: 304 kB / 0.7176 GB, free: 36.22 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.6981, allocations: 135.9 kB / 0.7177 GB, free: 36.14 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.7112, allocations: 3.885 MB / 0.7215 GB, free: 35.21 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.7112, allocations: 9.906 kB / 0.7215 GB, free: 35.21 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.7113, allocations: 14.69 kB / 0.7215 GB, free: 35.2 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.7113, allocations: 5 kB / 0.7215 GB, free: 35.2 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 postOpt removeSimpleEquations (simulation): time 0.01497/0.7263, allocations: 5.504 MB / 0.7269 GB, free: 32.93 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.7263, allocations: 0 / 0.7269 GB, free: 32.93 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.727, allocations: 106 kB / 0.727 GB, free: 32.9 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005669/0.7327, allocations: 1.591 MB / 0.7286 GB, free: 32.2 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/0.733, allocations: 19.94 kB / 0.7286 GB, free: 32.19 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.7529, allocations: 9.441 MB / 0.7378 GB, free: 25.75 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7529, allocations: 0 / 0.7378 GB, free: 25.75 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/0.7672, allocations: 4.786 MB / 0.7425 GB, free: 20.98 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/0.7678, allocations: 162.8 kB / 0.7426 GB, free: 20.83 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/0.7683, allocations: 20 kB / 0.7426 GB, free: 20.81 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.7699, allocations: 115.8 kB / 0.7427 GB, free: 20.7 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006802/0.7706, allocations: 212.6 kB / 0.743 GB, free: 20.49 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.7708, allocations: 20 kB / 0.743 GB, free: 20.47 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.001344/0.7721, allocations: 0.7713 MB / 0.7437 GB, free: 19.7 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.7721, allocations: 0 / 0.7437 GB, free: 19.7 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.002029/0.7741, allocations: 491.2 kB / 0.7442 GB, free: 19.23 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state)
 * Number of discrete variables: 2 ($whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (66):
 * Single equations (assignments): 63
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(20,12,23.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,6)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/0.7745, allocations: 136.6 kB / 0.7443 GB, free: 19.09 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.006892/0.7814, allocations: 2.486 MB / 0.7468 GB, free: 16.56 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7814, allocations: 0 / 0.7468 GB, free: 16.56 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.004318/0.7857, allocations: 1.562 MB / 0.7483 GB, free: 14.96 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7873, allocations: 116.8 kB / 0.7484 GB, free: 14.85 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.792, allocations: 2.463 MB / 0.7508 GB, free: 12.4 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.7926, allocations: 1.136 MB / 0.7519 GB, free: 11.24 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.000526/0.7931, allocations: 124.3 kB / 0.752 GB, free: 11.11 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.7935, allocations: 83.41 kB / 0.7521 GB, free: 11.04 MB / 494.1 MB
Notification: Performance of SimCode: time 1.502e-06/0.7935, allocations: 3 kB / 0.7521 GB, free: 11.04 MB / 494.1 MB
Notification: Performance of Templates: time 0.04477/0.8383, allocations: 25.89 MB / 0.7774 GB, free: 1.215 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.879387896507978]
Failed to read output from testmodel.py, exit status != 0:
0.8471802836284041 0.864697364 0.667976165
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb22caa17b0>