Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001634/0.001634, 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.399/1.399, allocations: 225.6 MB / 247.7 MB, free: 13.28 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.001611/0.001611, allocations: 193.8 kB / 303.1 MB, free: 8.672 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.4674/0.4674, allocations: 79.71 MB / 438.1 MB, free: 5.254 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII")
translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 79.86 kB / 0.584 GB, free: 8.027 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1581, allocations: 72.14 MB / 0.6544 GB, free: 15.79 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007787/0.1659, allocations: 6.543 MB / 0.6608 GB, free: 9.203 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003894/0.1698, allocations: 1.982 MB / 0.6627 GB, free: 7.219 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.1702, allocations: 12 kB / 0.6628 GB, free: 7.207 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.1708, allocations: 241.9 kB / 0.663 GB, free: 6.969 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001805/0.1726, allocations: 0.8486 MB / 0.6638 GB, free: 6.121 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.1739, allocations: 0.6512 MB / 0.6644 GB, free: 5.477 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001723/0.1757, allocations: 1.608 MB / 0.666 GB, free: 3.863 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003878/0.176, allocations: 226.9 kB / 0.6662 GB, free: 3.625 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007777/0.1768, allocations: 0.6691 MB / 0.6669 GB, free: 2.953 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009452/0.1778, allocations: 0.8401 MB / 0.6677 GB, free: 2.109 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.178, allocations: 124 kB / 0.6678 GB, free: 1.988 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1784, allocations: 263.8 kB / 0.6681 GB, free: 1.73 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.1787, allocations: 330.6 kB / 0.6684 GB, free: 1.406 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006098/0.1793, allocations: 0.6757 MB / 0.6691 GB, free: 0.7266 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001774/0.1811, allocations: 1.669 MB / 0.6707 GB, free: 15.05 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1811, allocations: 7.938 kB / 0.6707 GB, free: 15.04 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.383e-06/0.1811, allocations: 0 / 0.6707 GB, free: 15.04 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 1.411e-05/0.1811, allocations: 0 / 0.6707 GB, free: 15.04 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: 189
 * Number of variables: 189
Notification: Performance of Generate backend data structure: time 0.00919/0.1903, allocations: 2.793 MB / 0.6734 GB, free: 12.2 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1904, allocations: 8.031 kB / 0.6734 GB, free: 12.19 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005041/0.1954, allocations: 0.7835 MB / 0.6742 GB, free: 11.4 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.1972, allocations: 0.8268 MB / 0.675 GB, free: 10.53 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.1975, allocations: 264.1 kB / 0.6752 GB, free: 10.23 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.1977, allocations: 80 kB / 0.6753 GB, free: 10.16 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.2, allocations: 1.083 MB / 0.6764 GB, free: 9.062 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2001, allocations: 4 kB / 0.6764 GB, free: 9.059 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2002, allocations: 35.98 kB / 0.6764 GB, free: 9.023 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2002, allocations: 20 kB / 0.6764 GB, free: 9.004 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.2024, allocations: 0.9838 MB / 0.6774 GB, free: 8.02 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.00692/0.2093, allocations: 3.747 MB / 0.6811 GB, free: 4.105 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007794/0.2171, allocations: 1.996 MB / 0.683 GB, free: 2.086 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.2185, allocations: 0.6175 MB / 0.6836 GB, free: 1.465 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/0.2186, allocations: 16.98 kB / 0.6836 GB, free: 1.449 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001749/0.2204, allocations: 0.8216 MB / 0.6844 GB, free: 0.6055 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=95): time 2.565e-06/0.2204, allocations: 4 kB / 0.6844 GB, free: 0.6016 MB / 478.1 MB
Notification: Performance of matching and sorting (n=95): time 0.03136/0.2517, allocations: 7.002 MB / 0.6913 GB, free: 9.574 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2518, allocations: 123.8 kB / 0.6914 GB, free: 9.43 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.2538, allocations: 1.095 MB / 0.6925 GB, free: 8.32 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.2541, allocations: 45.7 kB / 0.6925 GB, free: 8.27 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.2546, allocations: 0.4975 MB / 0.693 GB, free: 7.766 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.255, allocations: 364.9 kB / 0.6933 GB, free: 7.406 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/0.2555, allocations: 283.5 kB / 0.6936 GB, free: 7.125 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001568/0.2557, allocations: 305.2 kB / 0.6939 GB, free: 6.824 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.2575, allocations: 0.7574 MB / 0.6946 GB, free: 6.066 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.2594, allocations: 0.9187 MB / 0.6955 GB, free: 5.105 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.3364/0.5958, allocations: 5.545 MB / 0.7009 GB, free: 42.39 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.5958, allocations: 1.406 kB / 0.7009 GB, free: 42.39 MB / 494.1 MB
Notification: Performance of matching and sorting (n=192) (initialization): time 0.0152/0.611, allocations: 4.336 MB / 0.7052 GB, free: 42.21 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/0.611, allocations: 59.39 kB / 0.7052 GB, free: 42.15 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6111, allocations: 3.438 kB / 0.7052 GB, free: 42.15 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006796/0.6179, allocations: 1.596 MB / 0.7068 GB, free: 42.13 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.6196, allocations: 277.5 kB / 0.7071 GB, free: 42.11 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/0.6434, allocations: 8.411 MB / 0.7153 GB, free: 38.36 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.6458, allocations: 206.6 kB / 0.7155 GB, free: 38.32 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.6459, allocations: 55.38 kB / 0.7155 GB, free: 38.31 MB / 494.1 MB
Warning: Assuming fixed start value for the following 4 variables:
         order3.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
         order3.delta:VARIABLE(flow=false start = order3.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 (160):
 * Single equations (assignments): 157
 * 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
   {(19,14,24.4%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0007392/0.6467, allocations: 310.3 kB / 0.7158 GB, free: 38.07 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.6469, allocations: 130.6 kB / 0.716 GB, free: 38 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.6601, allocations: 3.841 MB / 0.7197 GB, free: 37.09 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.6601, allocations: 13.81 kB / 0.7197 GB, free: 37.08 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.6601, allocations: 6.375 kB / 0.7197 GB, free: 37.08 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.6601, allocations: 4.984 kB / 0.7197 GB, free: 37.08 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.0147/0.6748, allocations: 5.408 MB / 0.725 GB, free: 34.72 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.6748, allocations: 1.281 kB / 0.725 GB, free: 34.72 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/0.6755, allocations: 96.83 kB / 0.7251 GB, free: 34.7 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00565/0.6811, allocations: 1.595 MB / 0.7267 GB, free: 34 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.6813, allocations: 23.84 kB / 0.7267 GB, free: 33.99 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/0.7004, allocations: 9.453 MB / 0.7359 GB, free: 27.54 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7005, allocations: 4 kB / 0.7359 GB, free: 27.54 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.7142, allocations: 4.706 MB / 0.7405 GB, free: 23.18 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.7147, allocations: 156 kB / 0.7407 GB, free: 23.04 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/0.7152, allocations: 17.75 kB / 0.7407 GB, free: 23.02 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.7165, allocations: 115.8 kB / 0.7408 GB, free: 22.91 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/0.7172, allocations: 200.7 kB / 0.741 GB, free: 22.71 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.7173, allocations: 31.92 kB / 0.741 GB, free: 22.68 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.00109/0.7184, allocations: 0.734 MB / 0.7417 GB, free: 21.95 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.7184, allocations: 0 / 0.7417 GB, free: 21.95 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.001711/0.7201, allocations: 473.1 kB / 0.7422 GB, free: 21.5 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63):
 * Single equations (assignments): 60
 * 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.0003081/0.7204, allocations: 134.1 kB / 0.7423 GB, free: 21.36 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.006151/0.7265, allocations: 2.376 MB / 0.7446 GB, free: 18.93 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7266, allocations: 4 kB / 0.7446 GB, free: 18.93 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.004057/0.7306, allocations: 1.532 MB / 0.7461 GB, free: 17.36 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.7318, allocations: 113 kB / 0.7462 GB, free: 17.25 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.7356, allocations: 2.242 MB / 0.7484 GB, free: 15.03 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.7361, allocations: 1.12 MB / 0.7495 GB, free: 13.88 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0004252/0.7365, allocations: 120.1 kB / 0.7496 GB, free: 13.76 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.7368, allocations: 83.41 kB / 0.7497 GB, free: 13.68 MB / 494.1 MB
Notification: Performance of SimCode: time 8.42e-07/0.7368, allocations: 4 kB / 0.7497 GB, free: 13.67 MB / 494.1 MB
Notification: Performance of Templates: time 0.04109/0.7779, allocations: 24.99 MB / 0.7741 GB, free: 4.75 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.690959510393441]
Failed to read output from testmodel.py, exit status != 0:
0.7866899641230702 0.803511787 0.619178377
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f711da397b0>