Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001403/0.001403, 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.523/1.523, 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.001435/0.001435, allocations: 200.5 kB / 303.1 MB, free: 8.676 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.567/0.567, allocations: 99.64 MB / 458 MB, free: 3.93 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous")
translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 83.86 kB / 0.6129 GB, free: 6.594 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1719, allocations: 76.99 MB / 0.6881 GB, free: 9.441 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008034/0.18, allocations: 6.638 MB / 0.6946 GB, free: 2.77 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00428/0.1843, allocations: 1.994 MB / 0.6965 GB, free: 0.7695 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.1849, allocations: 12 kB / 0.6966 GB, free: 0.7578 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.1856, allocations: 241.9 kB / 0.6968 GB, free: 0.5195 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.3171/0.5027, allocations: 0.8385 MB / 0.6976 GB, free: 10.09 MB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.5045, allocations: 0.6367 MB / 0.6982 GB, free: 10.09 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002435/0.507, allocations: 1.614 MB / 0.6998 GB, free: 10.09 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/0.5074, allocations: 227 kB / 0.7 GB, free: 10.05 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.5085, allocations: 0.6786 MB / 0.7007 GB, free: 9.941 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000872/0.5093, allocations: 0.8445 MB / 0.7015 GB, free: 9.781 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.5095, allocations: 128.7 kB / 0.7016 GB, free: 9.781 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.51, allocations: 251.9 kB / 0.7019 GB, free: 9.781 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.5102, allocations: 328.4 kB / 0.7022 GB, free: 9.73 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004944/0.5107, allocations: 0.6777 MB / 0.7029 GB, free: 9.516 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001882/0.5126, allocations: 1.669 MB / 0.7045 GB, free: 9.242 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5126, allocations: 0 / 0.7045 GB, free: 9.242 MB / 494.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.5126, allocations: 0 / 0.7045 GB, free: 9.242 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 3.194e-05/0.5127, allocations: 0.7031 kB / 0.7045 GB, free: 9.242 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.009831/0.5225, allocations: 2.783 MB / 0.7072 GB, free: 8.23 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5225, allocations: 12.7 kB / 0.7072 GB, free: 8.227 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/0.5278, allocations: 0.7826 MB / 0.708 GB, free: 8.074 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.5298, allocations: 0.8396 MB / 0.7088 GB, free: 7.559 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.53, allocations: 258.9 kB / 0.709 GB, free: 7.336 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.5302, allocations: 82.33 kB / 0.7091 GB, free: 7.309 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.5328, allocations: 1.081 MB / 0.7102 GB, free: 6.898 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.5328, allocations: 2.844 kB / 0.7102 GB, free: 6.898 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/0.5329, allocations: 29.48 kB / 0.7102 GB, free: 6.875 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.5329, allocations: 19.84 kB / 0.7102 GB, free: 6.875 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.5348, allocations: 0.9906 MB / 0.7112 GB, free: 6.543 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.007854/0.5427, allocations: 3.794 MB / 0.7149 GB, free: 4.426 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007939/0.5506, allocations: 1.996 MB / 0.7168 GB, free: 4.02 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.5524, allocations: 0.6134 MB / 0.7174 GB, free: 3.789 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.5525, allocations: 15.42 kB / 0.7175 GB, free: 3.789 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.5544, allocations: 0.8141 MB / 0.7183 GB, free: 3.48 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.5544, allocations: 0.5938 kB / 0.7183 GB, free: 3.48 MB / 494.1 MB
Notification: Performance of matching and sorting (n=96): time 0.03028/0.5847, allocations: 6.907 MB / 0.725 GB, free: 0.9375 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.5847, allocations: 113.7 kB / 0.7251 GB, free: 0.8125 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.5865, allocations: 1.09 MB / 0.7262 GB, free: 200 kB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003466/0.5868, allocations: 42.08 kB / 0.7262 GB, free: 156 kB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007775/0.5876, allocations: 0.5331 MB / 0.7267 GB, free: 15.85 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005813/0.5882, allocations: 370 kB / 0.7271 GB, free: 15.54 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005963/0.5888, allocations: 294.9 kB / 0.7274 GB, free: 15.37 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001685/0.589, allocations: 302.4 kB / 0.7277 GB, free: 15.07 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.5909, allocations: 0.7636 MB / 0.7284 GB, free: 14.68 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.5929, allocations: 0.9402 MB / 0.7293 GB, free: 14.12 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.02641/0.6193, allocations: 5.559 MB / 0.7348 GB, free: 11.27 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.6193, allocations: 3.75 kB / 0.7348 GB, free: 11.27 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=196) (initialization): time 0.01638/0.6357, allocations: 4.325 MB / 0.739 GB, free: 9.152 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.6358, allocations: 57.38 kB / 0.739 GB, free: 9.09 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6358, allocations: 5.594 kB / 0.739 GB, free: 9.09 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006134/0.6419, allocations: 1.5 MB / 0.7405 GB, free: 8.422 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.6439, allocations: 300.4 kB / 0.7408 GB, free: 8.367 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.6666, allocations: 8.183 MB / 0.7488 GB, free: 0.5078 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.6688, allocations: 203 kB / 0.749 GB, free: 316 kB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.6691, allocations: 59.97 kB / 0.749 GB, free: 256 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.001006/0.6702, allocations: 305 kB / 0.7493 GB, free: 15.94 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.6706, allocations: 127.2 kB / 0.7494 GB, free: 15.82 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.6853, allocations: 3.842 MB / 0.7532 GB, free: 11.95 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.6853, allocations: 12 kB / 0.7532 GB, free: 11.93 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.6854, allocations: 8 kB / 0.7532 GB, free: 11.93 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/0.6854, allocations: 11.81 kB / 0.7532 GB, free: 11.92 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.01782/0.7032, allocations: 5.407 MB / 0.7585 GB, free: 6.43 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.7032, allocations: 0 / 0.7585 GB, free: 6.43 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.704, allocations: 100.8 kB / 0.7586 GB, free: 6.332 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006366/0.7103, allocations: 1.589 MB / 0.7602 GB, free: 4.738 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/0.7106, allocations: 27.92 kB / 0.7602 GB, free: 4.711 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/0.7342, allocations: 9.438 MB / 0.7694 GB, free: 11.06 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7342, allocations: 3.938 kB / 0.7694 GB, free: 11.06 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/0.751, allocations: 4.711 MB / 0.774 GB, free: 6.316 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.7516, allocations: 165.8 kB / 0.7742 GB, free: 6.156 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003894/0.752, allocations: 16 kB / 0.7742 GB, free: 6.141 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.7534, allocations: 111.9 kB / 0.7743 GB, free: 6.031 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006819/0.7541, allocations: 208.7 kB / 0.7745 GB, free: 5.824 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.7542, allocations: 24 kB / 0.7745 GB, free: 5.801 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.001415/0.7556, allocations: 0.7274 MB / 0.7752 GB, free: 5.066 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 8e-08/0.7556, allocations: 0 / 0.7752 GB, free: 5.066 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.001754/0.7574, allocations: 479.7 kB / 0.7757 GB, free: 4.598 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.0003332/0.7577, allocations: 131.2 kB / 0.7758 GB, free: 4.457 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.007104/0.7648, allocations: 2.361 MB / 0.7781 GB, free: 2.055 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7648, allocations: 4.25 kB / 0.7781 GB, free: 2.051 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.004933/0.7697, allocations: 1.523 MB / 0.7796 GB, free: 496 kB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7711, allocations: 119.3 kB / 0.7797 GB, free: 380 kB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.776, allocations: 2.284 MB / 0.7819 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/0.7769, allocations: 1.12 MB / 0.783 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0005441/0.7775, allocations: 124.9 kB / 0.7831 GB, free: 12.81 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.7778, allocations: 83.41 kB / 0.7832 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of SimCode: time 1.082e-06/0.7778, allocations: 4 kB / 0.7832 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of Templates: time 0.04456/0.8224, allocations: 24.83 MB / 0.8075 GB, free: 3.949 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660]
(rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.755887712351978]
Failed to read output from testmodel.py, exit status != 0:
0.831524807959795 0.846127071 0.330385371
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f47842457b0>