Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.00133/0.00133, allocations: 110.2 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.419/1.419, allocations: 225.6 MB / 247.7 MB, free: 13.43 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.001635/0.001635, allocations: 188.4 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.4728/0.4728, allocations: 79.73 MB / 438.1 MB, free: 5.312 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII")
translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.86 kB / 0.584 GB, free: 8.008 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1812, allocations: 72.13 MB / 0.6544 GB, free: 15.77 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008875/0.1901, allocations: 6.699 MB / 0.661 GB, free: 9.031 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005207/0.1953, allocations: 2.017 MB / 0.6629 GB, free: 7.012 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008992/0.1962, allocations: 8 kB / 0.6629 GB, free: 7.004 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.197, allocations: 249.9 kB / 0.6632 GB, free: 6.758 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002261/0.1993, allocations: 0.8625 MB / 0.664 GB, free: 5.895 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.2008, allocations: 0.6449 MB / 0.6646 GB, free: 5.254 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002221/0.203, allocations: 1.671 MB / 0.6663 GB, free: 3.578 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.2035, allocations: 219 kB / 0.6665 GB, free: 3.348 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.2046, allocations: 0.7003 MB / 0.6672 GB, free: 2.645 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.2057, allocations: 0.8713 MB / 0.668 GB, free: 1.77 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.2059, allocations: 132 kB / 0.6681 GB, free: 1.641 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.2065, allocations: 263.9 kB / 0.6684 GB, free: 1.383 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00035/0.2068, allocations: 342.6 kB / 0.6687 GB, free: 1.047 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.2075, allocations: 0.6913 MB / 0.6694 GB, free: 360 kB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002152/0.2097, allocations: 1.719 MB / 0.6711 GB, free: 14.62 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2097, allocations: 11.86 kB / 0.6711 GB, free: 14.61 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.693e-06/0.2097, allocations: 0 / 0.6711 GB, free: 14.61 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 1.716e-05/0.2097, allocations: 4 kB / 0.6711 GB, free: 14.61 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: 191
 * Number of variables: 191
Notification: Performance of Generate backend data structure: time 0.009973/0.2197, allocations: 2.855 MB / 0.6739 GB, free: 11.7 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2197, allocations: 8.031 kB / 0.6739 GB, free: 11.69 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.2248, allocations: 0.7835 MB / 0.6747 GB, free: 10.91 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.2266, allocations: 0.8661 MB / 0.6755 GB, free: 9.996 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/0.2269, allocations: 252.2 kB / 0.6757 GB, free: 9.711 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.2271, allocations: 91.94 kB / 0.6758 GB, free: 9.621 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.2295, allocations: 1.094 MB / 0.6769 GB, free: 8.516 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.2295, allocations: 3.938 kB / 0.6769 GB, free: 8.512 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.2296, allocations: 32 kB / 0.6769 GB, free: 8.48 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.2296, allocations: 19.98 kB / 0.6769 GB, free: 8.461 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.2318, allocations: 1.003 MB / 0.6779 GB, free: 7.457 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.007427/0.2393, allocations: 3.806 MB / 0.6816 GB, free: 3.48 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007736/0.247, allocations: 2.01 MB / 0.6836 GB, free: 1.453 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.2486, allocations: 0.6293 MB / 0.6842 GB, free: 0.8203 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.2487, allocations: 20.98 kB / 0.6842 GB, free: 0.8008 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.2505, allocations: 0.8217 MB / 0.685 GB, free: 15.96 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=97): time 2.866e-06/0.2505, allocations: 0 / 0.685 GB, free: 15.96 MB / 494.1 MB
Notification: Performance of matching and sorting (n=97): time 0.03087/0.2814, allocations: 7.049 MB / 0.6919 GB, free: 8.883 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2815, allocations: 115.8 kB / 0.692 GB, free: 8.746 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.2834, allocations: 1.131 MB / 0.6931 GB, free: 7.602 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.2837, allocations: 41.7 kB / 0.6932 GB, free: 7.555 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.2842, allocations: 0.5054 MB / 0.6937 GB, free: 7.043 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.2846, allocations: 380.8 kB / 0.694 GB, free: 6.668 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005545/0.2852, allocations: 291.5 kB / 0.6943 GB, free: 6.379 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001403/0.2853, allocations: 301.1 kB / 0.6946 GB, free: 6.082 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.2871, allocations: 0.7886 MB / 0.6954 GB, free: 5.293 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.2891, allocations: 0.9577 MB / 0.6963 GB, free: 4.293 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.402/0.6911, allocations: 5.78 MB / 0.702 GB, free: 41.16 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.6911, allocations: 0.8125 kB / 0.702 GB, free: 41.16 MB / 494.1 MB
Notification: Performance of matching and sorting (n=200) (initialization): time 0.01593/0.707, allocations: 4.435 MB / 0.7063 GB, free: 40.97 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.7071, allocations: 63.95 kB / 0.7063 GB, free: 40.91 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.7071, allocations: 4 kB / 0.7063 GB, free: 40.91 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006865/0.714, allocations: 1.637 MB / 0.7079 GB, free: 40.66 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.7158, allocations: 287.5 kB / 0.7082 GB, free: 40.64 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/0.7389, allocations: 8.512 MB / 0.7165 GB, free: 36.86 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.7413, allocations: 209.7 kB / 0.7167 GB, free: 36.81 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.7414, allocations: 57.66 kB / 0.7168 GB, free: 36.8 MB / 494.1 MB
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
         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
         order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true )  \"Rotor angle\" type: Real
         order5.e1q:VARIABLE(start = order5.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 (167):
 * Single equations (assignments): 164
 * 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.0007242/0.7422, allocations: 313.6 kB / 0.7171 GB, free: 36.55 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.7424, allocations: 133 kB / 0.7172 GB, free: 36.48 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.7559, allocations: 3.877 MB / 0.721 GB, free: 35.54 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.7559, allocations: 10.53 kB / 0.721 GB, free: 35.54 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.756, allocations: 5.938 kB / 0.721 GB, free: 35.54 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.756, allocations: 4.875 kB / 0.721 GB, free: 35.54 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.01491/0.7709, allocations: 5.458 MB / 0.7264 GB, free: 33.54 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.7709, allocations: 0 / 0.7264 GB, free: 33.54 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.7717, allocations: 104.4 kB / 0.7265 GB, free: 33.52 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00523/0.7769, allocations: 1.59 MB / 0.728 GB, free: 32.82 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/0.7771, allocations: 19.84 kB / 0.728 GB, free: 32.8 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.7956, allocations: 9.473 MB / 0.7373 GB, free: 26.34 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7956, allocations: 3.812 kB / 0.7373 GB, free: 26.34 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.8092, allocations: 4.745 MB / 0.7419 GB, free: 21.69 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/0.8098, allocations: 152.8 kB / 0.7421 GB, free: 21.55 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.81, allocations: 31.42 kB / 0.7421 GB, free: 21.52 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.8112, allocations: 111.8 kB / 0.7422 GB, free: 21.41 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005674/0.8118, allocations: 204.6 kB / 0.7424 GB, free: 21.21 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.8119, allocations: 28 kB / 0.7424 GB, free: 21.19 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0009623/0.8128, allocations: 0.7578 MB / 0.7432 GB, free: 20.43 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.8128, allocations: 0 / 0.7432 GB, free: 20.43 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.00148/0.8143, allocations: 496.8 kB / 0.7436 GB, free: 19.95 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 11 (order2.delta,order2.w,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 (65):
 * Single equations (assignments): 62
 * 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
   {(18,14,25.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,6)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.8146, allocations: 127.6 kB / 0.7438 GB, free: 19.82 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.006473/0.821, allocations: 2.462 MB / 0.7462 GB, free: 17.31 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.8211, allocations: 0 / 0.7462 GB, free: 17.31 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.004225/0.8253, allocations: 1.528 MB / 0.7476 GB, free: 15.75 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.8268, allocations: 120.1 kB / 0.7478 GB, free: 15.64 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.8318, allocations: 2.398 MB / 0.7501 GB, free: 13.26 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.8323, allocations: 1.128 MB / 0.7512 GB, free: 12.1 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0004907/0.8328, allocations: 120.1 kB / 0.7513 GB, free: 11.98 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.833, allocations: 79.42 kB / 0.7514 GB, free: 11.9 MB / 494.1 MB
Notification: Performance of SimCode: time 1.753e-06/0.833, allocations: 0 / 0.7514 GB, free: 11.9 MB / 494.1 MB
Notification: Performance of Templates: time 0.04192/0.875, allocations: 25.59 MB / 0.7764 GB, free: 2.375 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.822117989882827]
Failed to read output from testmodel.py, exit status != 0:
0.8837319454178214 0.90027444 0.6872217549999999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1a2ab497b0>