Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.002042/0.002042, allocations: 112.7 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.472/1.472, 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.001632/0.001632, allocations: 195.2 kB / 303.1 MB, free: 8.688 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.6112/0.6112, allocations: 99.65 MB / 458 MB, free: 3.957 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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII")
translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 83.86 kB / 0.6129 GB, free: 6.629 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1838, allocations: 76.99 MB / 0.6881 GB, free: 9.469 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.01202/0.1958, allocations: 6.622 MB / 0.6946 GB, free: 2.812 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006322/0.2021, allocations: 1.994 MB / 0.6965 GB, free: 0.8125 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.2034, allocations: 11.94 kB / 0.6965 GB, free: 0.8008 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2047, allocations: 246 kB / 0.6968 GB, free: 0.5586 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.3288/0.5336, allocations: 0.8428 MB / 0.6976 GB, free: 10.05 MB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.5353, allocations: 0.6362 MB / 0.6982 GB, free: 10.05 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002463/0.5377, allocations: 1.614 MB / 0.6998 GB, free: 10.05 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.5382, allocations: 230 kB / 0.7 GB, free: 10.01 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.5392, allocations: 0.6747 MB / 0.7007 GB, free: 9.898 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.54, allocations: 0.8384 MB / 0.7015 GB, free: 9.738 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.5402, allocations: 123.4 kB / 0.7016 GB, free: 9.738 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005126/0.5407, allocations: 260.9 kB / 0.7019 GB, free: 9.738 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.541, allocations: 325.2 kB / 0.7022 GB, free: 9.688 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.5415, allocations: 0.6766 MB / 0.7028 GB, free: 9.473 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001902/0.5434, allocations: 1.671 MB / 0.7045 GB, free: 9.199 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5434, allocations: 0 / 0.7045 GB, free: 9.199 MB / 494.1 MB
Notification: Performance of FrontEnd: time 1.442e-06/0.5434, allocations: 0 / 0.7045 GB, free: 9.199 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 2.339e-05/0.5434, allocations: 0 / 0.7045 GB, free: 9.199 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: 190
 * Number of variables: 190
Notification: Performance of Generate backend data structure: time 0.009437/0.5528, allocations: 2.798 MB / 0.7072 GB, free: 8.211 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5529, allocations: 12.64 kB / 0.7072 GB, free: 8.207 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.5579, allocations: 0.7779 MB / 0.708 GB, free: 8.059 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.5597, allocations: 0.8308 MB / 0.7088 GB, free: 7.547 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.56, allocations: 264.3 kB / 0.709 GB, free: 7.32 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.5601, allocations: 86.69 kB / 0.7091 GB, free: 7.293 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.5624, allocations: 1.082 MB / 0.7102 GB, free: 6.883 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5624, allocations: 0 / 0.7102 GB, free: 6.883 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.5625, allocations: 32.19 kB / 0.7102 GB, free: 6.859 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5625, allocations: 17.28 kB / 0.7102 GB, free: 6.859 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.5645, allocations: 0.9921 MB / 0.7112 GB, free: 6.527 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.007626/0.5721, allocations: 3.783 MB / 0.7149 GB, free: 4.418 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.008213/0.5803, allocations: 2 MB / 0.7168 GB, free: 4.008 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.5824, allocations: 0.618 MB / 0.7174 GB, free: 3.773 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.5825, allocations: 18.69 kB / 0.7175 GB, free: 3.773 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001894/0.5844, allocations: 0.8129 MB / 0.7182 GB, free: 3.465 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.466e-06/0.5844, allocations: 0 / 0.7182 GB, free: 3.465 MB / 494.1 MB
Notification: Performance of matching and sorting (n=96): time 0.03023/0.6146, allocations: 6.904 MB / 0.725 GB, free: 0.9375 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6147, allocations: 113.9 kB / 0.7251 GB, free: 0.8125 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.6165, allocations: 1.09 MB / 0.7262 GB, free: 200 kB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.6167, allocations: 45.52 kB / 0.7262 GB, free: 152 kB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007983/0.6175, allocations: 0.531 MB / 0.7267 GB, free: 15.85 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006849/0.6182, allocations: 370.6 kB / 0.7271 GB, free: 15.54 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007179/0.6189, allocations: 288.8 kB / 0.7274 GB, free: 15.37 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0002616/0.6192, allocations: 305.7 kB / 0.7276 GB, free: 15.07 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.621, allocations: 0.7641 MB / 0.7284 GB, free: 14.68 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.6231, allocations: 0.9398 MB / 0.7293 GB, free: 14.12 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.02617/0.6493, allocations: 5.557 MB / 0.7347 GB, free: 11.27 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.6493, allocations: 4.844 kB / 0.7347 GB, free: 11.27 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=196) (initialization): time 0.01598/0.6653, allocations: 4.323 MB / 0.739 GB, free: 9.156 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.6654, allocations: 67.27 kB / 0.739 GB, free: 9.086 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.6654, allocations: 2.719 kB / 0.739 GB, free: 9.086 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006008/0.6714, allocations: 1.505 MB / 0.7405 GB, free: 8.418 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.6734, allocations: 300.8 kB / 0.7408 GB, free: 8.367 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/0.6964, allocations: 8.175 MB / 0.7488 GB, free: 0.5547 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.6986, allocations: 211 kB / 0.749 GB, free: 356 kB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.6988, allocations: 55.97 kB / 0.749 GB, free: 300 kB / 0.4981 GB
Warning: Assuming fixed start value for the following 4 variables:
         order4.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
         order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
         order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true )  \"q-axis transient voltage\" 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 (166):
 * Single equations (assignments): 163
 * 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
   {(18,13,25.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0007491/0.6995, allocations: 305 kB / 0.7493 GB, free: 15.99 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.6998, allocations: 131.2 kB / 0.7494 GB, free: 15.86 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.7144, allocations: 3.842 MB / 0.7532 GB, free: 12.02 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.7144, allocations: 8 kB / 0.7532 GB, free: 12.01 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.7145, allocations: 8 kB / 0.7532 GB, free: 12 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/0.7145, allocations: 7.922 kB / 0.7532 GB, free: 11.99 MB / 0.5137 GB
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.01743/0.7319, allocations: 5.401 MB / 0.7585 GB, free: 6.508 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.7319, allocations: 4.031 kB / 0.7585 GB, free: 6.504 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.7326, allocations: 107.8 kB / 0.7586 GB, free: 6.398 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006334/0.739, allocations: 1.584 MB / 0.7601 GB, free: 4.812 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.7392, allocations: 24 kB / 0.7602 GB, free: 4.789 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/0.7634, allocations: 9.447 MB / 0.7694 GB, free: 11.13 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7634, allocations: 0 / 0.7694 GB, free: 11.13 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.7798, allocations: 4.716 MB / 0.774 GB, free: 6.383 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/0.7805, allocations: 150.8 kB / 0.7741 GB, free: 6.234 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.7808, allocations: 24 kB / 0.7742 GB, free: 6.211 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.7821, allocations: 107.9 kB / 0.7743 GB, free: 6.105 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006734/0.7828, allocations: 200.6 kB / 0.7745 GB, free: 5.906 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.7828, allocations: 31.98 kB / 0.7745 GB, free: 5.875 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.00129/0.7841, allocations: 0.7313 MB / 0.7752 GB, free: 5.137 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.7841, allocations: 0 / 0.7752 GB, free: 5.137 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.001502/0.7856, allocations: 467.7 kB / 0.7756 GB, free: 4.68 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64):
 * Single equations (assignments): 61
 * 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
   {(19,13,24.4%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,6)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003018/0.7859, allocations: 144.3 kB / 0.7758 GB, free: 4.535 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.006792/0.7927, allocations: 2.357 MB / 0.7781 GB, free: 2.137 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7927, allocations: 0.75 kB / 0.7781 GB, free: 2.137 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.004697/0.7974, allocations: 1.529 MB / 0.7796 GB, free: 0.5664 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.7985, allocations: 132.7 kB / 0.7797 GB, free: 452 kB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.8028, allocations: 2.279 MB / 0.7819 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.8036, allocations: 1.124 MB / 0.783 GB, free: 13.01 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0004415/0.8041, allocations: 118.4 kB / 0.7831 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.8044, allocations: 79.41 kB / 0.7832 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of SimCode: time 9.32e-07/0.8044, allocations: 0 / 0.7832 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of Templates: time 0.04598/0.8504, allocations: 24.83 MB / 0.8075 GB, free: 4.035 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660]
(rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.116538102738559]
Failed to read output from testmodel.py, exit status != 0:
0.8601579461246729 0.874722083 0.328002032
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa9af4817b0>