Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9086/0.9086, allocations: 177.2 MB / 200.2 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 156.6 kB / 256.7 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2694/0.2694, allocations: 80.36 MB / 393.5 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5562 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.642e-05, allocations: 6.281 kB / 0.5562 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004569/0.004595, allocations: 5.889 MB / 0.562 GB, free: 6.164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.007068, allocations: 1.966 MB / 0.5639 GB, free: 4.191 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.0074, allocations: 12 kB / 0.5639 GB, free: 4.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.00792, allocations: 237.8 kB / 0.5641 GB, free: 3.945 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.00913, allocations: 0.8805 MB / 0.565 GB, free: 3.062 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.009857, allocations: 0.6407 MB / 0.5656 GB, free: 2.426 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009663/0.01082, allocations: 1.643 MB / 0.5672 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.01109, allocations: 214.9 kB / 0.5674 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.01177, allocations: 0.9312 MB / 0.5683 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.01231, allocations: 0.6931 MB / 0.569 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.01243, allocations: 136 kB / 0.5691 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.01272, allocations: 283.8 kB / 0.5694 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.01292, allocations: 346.5 kB / 0.5697 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.01321, allocations: 482.4 kB / 0.5702 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.01438, allocations: 1.775 MB / 0.5719 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01438, allocations: 0 / 0.5719 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01439, allocations: 7.938 kB / 0.5719 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.0144, allocations: 0 / 0.5719 GB, free: 11.91 MB / 0.4948 GB 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.004557/0.01895, allocations: 2.867 MB / 0.5747 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.019, allocations: 12.03 kB / 0.5747 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.02149, allocations: 0.7952 MB / 0.5755 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.02255, allocations: 0.8583 MB / 0.5763 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.02281, allocations: 333.3 kB / 0.5767 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.02294, allocations: 88 kB / 0.5767 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.02438, allocations: 1.127 MB / 0.5779 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.0244, allocations: 0 / 0.5779 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.02447, allocations: 28 kB / 0.5779 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.02449, allocations: 23.94 kB / 0.5779 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.02586, allocations: 1.021 MB / 0.5789 GB, free: 4.586 MB / 0.4948 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.003968/0.02982, allocations: 2.887 MB / 0.5817 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/0.03353, allocations: 2.034 MB / 0.5837 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/0.03433, allocations: 0.6504 MB / 0.5843 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.498e-05/0.03441, allocations: 16.98 kB / 0.5844 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009883/0.0354, allocations: 0.8546 MB / 0.5852 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=97): time 2.174e-06/0.0354, allocations: 0 / 0.5852 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97): time 0.0142/0.0496, allocations: 7.095 MB / 0.5921 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.04965, allocations: 111.8 kB / 0.5922 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.05068, allocations: 1.102 MB / 0.5933 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.05076, allocations: 49.7 kB / 0.5933 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.05102, allocations: 0.5092 MB / 0.5938 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.05127, allocations: 368.9 kB / 0.5942 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.05159, allocations: 279.5 kB / 0.5945 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.05166, allocations: 305.1 kB / 0.5948 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009987/0.05266, allocations: 0.8232 MB / 0.5956 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.05373, allocations: 0.9994 MB / 0.5965 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2261/0.2799, allocations: 5.984 MB / 0.6024 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.2799, allocations: 0 / 0.6024 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.007139/0.287, allocations: 4.456 MB / 0.6067 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.2871, allocations: 59.84 kB / 0.6068 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2871, allocations: 4.938 kB / 0.6068 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/0.2906, allocations: 1.63 MB / 0.6084 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.2913, allocations: 277.1 kB / 0.6086 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.3038, allocations: 8.298 MB / 0.6167 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.305, allocations: 211 kB / 0.617 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/0.3051, allocations: 56.77 kB / 0.617 GB, free: 87.18 MB / 0.5105 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 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 (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,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.3056, allocations: 311.9 kB / 0.6173 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.3057, allocations: 130.1 kB / 0.6174 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007515/0.3132, allocations: 3.899 MB / 0.6212 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3132, allocations: 9.219 kB / 0.6212 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3132, allocations: 9.812 kB / 0.6213 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.3132, allocations: 6.734 kB / 0.6213 GB, free: 85.9 MB / 0.5105 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.008317/0.3216, allocations: 4.938 MB / 0.6261 GB, free: 84.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3216, allocations: 0 / 0.6261 GB, free: 84.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.3219, allocations: 105.9 kB / 0.6262 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.3249, allocations: 1.58 MB / 0.6277 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.3249, allocations: 26.91 kB / 0.6278 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.336, allocations: 9.202 MB / 0.6367 GB, free: 78.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.336, allocations: 0 / 0.6367 GB, free: 78.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007429/0.3435, allocations: 4.812 MB / 0.6414 GB, free: 76.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.3437, allocations: 150.5 kB / 0.6416 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.3438, allocations: 27.38 kB / 0.6416 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.3444, allocations: 104.2 kB / 0.6417 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.3447, allocations: 203.3 kB / 0.6419 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.3447, allocations: 31.7 kB / 0.6419 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006564/0.3454, allocations: 0.7444 MB / 0.6427 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.3454, allocations: 0 / 0.6427 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001095/0.3465, allocations: 486.9 kB / 0.6431 GB, free: 75.2 MB / 0.5105 GB 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.0002465/0.3467, allocations: 143.8 kB / 0.6433 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003305/0.35, allocations: 2.505 MB / 0.6457 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.35, allocations: 7.188 kB / 0.6457 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.352, allocations: 1.549 MB / 0.6472 GB, free: 70.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.3525, allocations: 109.5 kB / 0.6473 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.3548, allocations: 2.315 MB / 0.6496 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3551, allocations: 0.5359 MB / 0.6501 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3553, allocations: 84.47 kB / 0.6502 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of SimCode: time 9.81e-07/0.3553, allocations: 0 / 0.6502 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.01538/0.3707, allocations: 24.64 MB / 0.6743 GB, free: 43.23 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.017534265294671] Failed to read output from testmodel.py, exit status != 0: 0.3771602129563689 0.382468099 0.366816454 Calling exit ...