Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001285/0.001285, allocations: 110 kB / 18.93 MB, free: 2.945 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.388/1.388, allocations: 225.6 MB / 247.7 MB, free: 13.44 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.001537/0.001537, allocations: 195 kB / 303.1 MB, free: 8.719 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.5335/0.5335, allocations: 99.65 MB / 458 MB, free: 3.988 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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII")
translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003381/0.003381, allocations: 83.88 kB / 0.613 GB, free: 6.488 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1941, allocations: 76.97 MB / 0.6882 GB, free: 9.348 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.3515/0.5456, allocations: 22.04 MB / 0.7097 GB, free: 4.738 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01248/0.5581, allocations: 4.901 MB / 0.7145 GB, free: 2.199 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.007701/0.5658, allocations: 45.16 kB / 0.7146 GB, free: 2.199 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004048/0.5698, allocations: 0.8872 MB / 0.7154 GB, free: 1.715 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0117/0.5815, allocations: 2.302 MB / 0.7177 GB, free: 80 kB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.007727/0.5893, allocations: 2.076 MB / 0.7197 GB, free: 15.02 MB / 0.4981 GB
Notification: Performance of NFFlatten.flatten: time 0.01287/0.6021, allocations: 5.8 MB / 0.7254 GB, free: 12.05 MB / 0.4981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.6056, allocations: 0.9265 MB / 0.7263 GB, free: 11.52 MB / 0.4981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00733/0.6129, allocations: 2.411 MB / 0.7286 GB, free: 10.3 MB / 0.4981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00733/0.6202, allocations: 2.983 MB / 0.7315 GB, free: 8.801 MB / 0.4981 GB
Notification: Performance of NFPackage.collectConstants: time 0.002833/0.6231, allocations: 443.4 kB / 0.732 GB, free: 8.801 MB / 0.4981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.627, allocations: 0.5857 MB / 0.7325 GB, free: 8.758 MB / 0.4981 GB
Notification: Performance of NFScalarize.scalarize: time 0.0031/0.6301, allocations: 1.169 MB / 0.7337 GB, free: 7.953 MB / 0.4981 GB
Notification: Performance of NFVerifyModel.verify: time 0.006951/0.6371, allocations: 2.629 MB / 0.7362 GB, free: 6.184 MB / 0.4981 GB
Notification: Performance of NFConvertDAE.convert: time 0.01422/0.6513, allocations: 6.296 MB / 0.7424 GB, free: 1.703 MB / 0.4981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6513, allocations: 0 / 0.7424 GB, free: 1.703 MB / 0.4981 GB
Notification: Performance of FrontEnd: time 1.764e-06/0.6513, allocations: 0 / 0.7424 GB, free: 1.703 MB / 0.4981 GB
Notification: Performance of Transformations before backend: time 0.0003493/0.6517, allocations: 4 kB / 0.7424 GB, free: 1.699 MB / 0.4981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 894
 * Number of variables: 894
Notification: Performance of Generate backend data structure: time 0.04072/0.6924, allocations: 9.946 MB / 0.7521 GB, free: 11.87 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.6924, allocations: 17.02 kB / 0.7521 GB, free: 11.86 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02934/0.7218, allocations: 4.037 MB / 0.7561 GB, free: 10.2 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008475/0.7302, allocations: 2.602 MB / 0.7586 GB, free: 8.109 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001492/0.7317, allocations: 0.9573 MB / 0.7595 GB, free: 7.016 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.7335, allocations: 352.5 kB / 0.7599 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.7495, allocations: 4.739 MB / 0.7645 GB, free: 1.902 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.7497, allocations: 3.984 kB / 0.7645 GB, free: 1.898 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.7508, allocations: 140 kB / 0.7646 GB, free: 1.762 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-05/0.7509, allocations: 84.75 kB / 0.7647 GB, free: 1.68 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.7639, allocations: 4.259 MB / 0.7689 GB, free: 13.41 MB / 0.5294 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 preOpt removeSimpleEquations (simulation): time 0.04834/0.8122, allocations: 18.09 MB / 0.7866 GB, free: 10.14 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01482/0.827, allocations: 4.364 MB / 0.7908 GB, free: 5.777 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.007138/0.8342, allocations: 2.481 MB / 0.7932 GB, free: 3.289 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.8349, allocations: 85.3 kB / 0.7933 GB, free: 3.207 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009245/0.8442, allocations: 3.185 MB / 0.7964 GB, free: 15.98 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=384): time 8.426e-06/0.8442, allocations: 0 / 0.7964 GB, free: 15.98 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=384): time 0.331/1.175, allocations: 67.49 MB / 0.8623 GB, free: 12.32 MB / 0.6231 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.175, allocations: 145.8 kB / 0.8625 GB, free: 12.15 MB / 0.6231 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006249/1.182, allocations: 3.254 MB / 0.8657 GB, free: 8.879 MB / 0.6231 GB
Notification: Performance of collectPreVariables (initialization): time 0.001065/1.183, allocations: 93.7 kB / 0.8657 GB, free: 8.781 MB / 0.6231 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001921/1.185, allocations: 2.009 MB / 0.8677 GB, free: 6.762 MB / 0.6231 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002443/1.187, allocations: 1.379 MB / 0.8691 GB, free: 5.371 MB / 0.6231 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/1.189, allocations: 0.6785 MB / 0.8697 GB, free: 4.68 MB / 0.6231 GB
Notification: Performance of setup shared object (initialization): time 0.0001308/1.189, allocations: 305.1 kB / 0.87 GB, free: 4.379 MB / 0.6231 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.006721/1.196, allocations: 2.605 MB / 0.8726 GB, free: 1.766 MB / 0.6231 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007688/1.203, allocations: 3.234 MB / 0.8757 GB, free: 14.31 MB / 0.6387 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.08021/1.283, allocations: 18.99 MB / 0.8943 GB, free: 11.05 MB / 0.6544 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/1.283, allocations: 4 kB / 0.8943 GB, free: 11.04 MB / 0.6544 GB
Notification: Performance of matching and sorting (n=542) (initialization): time 0.06617/1.35, allocations: 17.19 MB / 0.911 GB, free: 9.809 MB / 0.67 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.35, allocations: 67.41 kB / 0.9111 GB, free: 9.73 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/1.35, allocations: 16 kB / 0.9111 GB, free: 9.715 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.03005/1.38, allocations: 7.154 MB / 0.9181 GB, free: 2.555 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004107/1.384, allocations: 0.6903 MB / 0.9188 GB, free: 1.863 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0992/1.483, allocations: 33.24 MB / 0.9512 GB, free: 480 kB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006866/1.49, allocations: 0.6299 MB / 0.9519 GB, free: 15.84 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008038/1.491, allocations: 156 kB / 0.952 GB, free: 15.68 MB / 0.7169 GB
Warning: Assuming fixed start value for the following 5 variables:
         order5.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order3.w:VARIABLE(flow=false start = 1.0 fixed = true )  \"Rotor speed [pu]\" type: Real
         order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
         order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true )  \"q-axis transient voltage\" type: Real
         order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 65
 * 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 (407):
 * Single equations (assignments): 404
 * 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
   {(92,44,5.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002119/1.493, allocations: 0.6799 MB / 0.9527 GB, free: 14.99 MB / 0.7169 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.494, allocations: 480.9 kB / 0.9531 GB, free: 14.52 MB / 0.7169 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06246/1.557, allocations: 16.74 MB / 0.9695 GB, free: 13.7 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.475e-05/1.557, allocations: 36 kB / 0.9695 GB, free: 13.66 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/1.557, allocations: 35.92 kB / 0.9696 GB, free: 13.63 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.321e-05/1.557, allocations: 15.94 kB / 0.9696 GB, free: 13.61 MB / 0.7325 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.342/1.899, allocations: 21.73 MB / 0.9908 GB, free: 237.4 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.899, allocations: 0 / 0.9908 GB, free: 237.4 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.901, allocations: 389.6 kB / 0.9912 GB, free: 237.4 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.02802/1.929, allocations: 7.372 MB / 0.9984 GB, free: 237.4 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008216/1.93, allocations: 70.42 kB / 0.9984 GB, free: 237.4 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07851/2.009, allocations: 31.63 MB / 1.029 GB, free: 226.8 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/2.009, allocations: 3.391 kB / 1.029 GB, free: 226.8 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06063/2.069, allocations: 20.15 MB / 1.049 GB, free: 219.2 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001542/2.071, allocations: 0.5044 MB / 1.049 GB, free: 218.8 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/2.072, allocations: 64 kB / 1.05 GB, free: 218.7 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004501/2.076, allocations: 381.8 kB / 1.05 GB, free: 218.5 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00285/2.079, allocations: 0.8215 MB / 1.051 GB, free: 218 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003439/2.08, allocations: 91.94 kB / 1.051 GB, free: 217.9 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.002698/2.082, allocations: 2.138 MB / 1.053 GB, free: 216.1 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 1e-07/2.082, allocations: 0 / 1.053 GB, free: 216.1 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.004903/2.087, allocations: 1.812 MB / 1.055 GB, free: 214.4 MB / 0.7325 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248):
 * Single equations (assignments): 245
 * 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
   {(100,36,5.5%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,6)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005478/2.088, allocations: 198.4 kB / 1.055 GB, free: 214.2 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.02417/2.112, allocations: 8.801 MB / 1.063 GB, free: 205.5 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 5.992e-06/2.112, allocations: 0.5 kB / 1.063 GB, free: 205.5 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.01878/2.131, allocations: 5.913 MB / 1.069 GB, free: 199.5 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/2.135, allocations: 385.7 kB / 1.07 GB, free: 199.2 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/2.15, allocations: 8.11 MB / 1.078 GB, free: 191.1 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/2.152, allocations: 2.451 MB / 1.08 GB, free: 188.6 MB / 0.7325 GB
Notification: Performance of simCode: alias equations: time 0.001667/2.153, allocations: 379.9 kB / 1.08 GB, free: 188.2 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/2.154, allocations: 247.4 kB / 1.081 GB, free: 188 MB / 0.7325 GB
Notification: Performance of SimCode: time 1.021e-06/2.154, allocations: 0 / 1.081 GB, free: 188 MB / 0.7325 GB
Notification: Performance of Templates: time 0.1174/2.272, allocations: 94.47 MB / 1.173 GB, free: 93.58 MB / 0.7325 GB
"
[Timeout remaining time 658]
make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660]
(rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 10.369165793061256]
Failed to read output from testmodel.py, exit status != 0:
2.282693514600396 2.290660846 1.636667823
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f062e3717b0>