Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 188.5 kB / 7.461 MB, free: 496 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 221.4 MB / 229.3 MB, free: 7.695 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 89.44 kB / 280.1 MB, free: 5.148 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4219/0.4219, allocations: 78.05 MB / 409 MB, free: 19.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 5.541e-06/5.671e-06, allocations: 0 / 484.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2555, allocations: 69.34 MB / 0.5407 GB, free: 23.92 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.3952, allocations: 122.8 MB / 0.6606 GB, free: 1.879 MB / 478.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.3955, allocations: 91.94 kB / 0.6607 GB, free: 1.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.3543/0.7498, allocations: 59.76 MB / 0.7191 GB, free: 98.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000219/0.7501, allocations: 52 kB / 0.7191 GB, free: 98.52 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.007401/0.7575, allocations: 2.816 MB / 0.7219 GB, free: 95.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7576, allocations: 8.031 kB / 0.7219 GB, free: 95.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003832/0.7614, allocations: 0.6757 MB / 0.7226 GB, free: 94.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.7647, allocations: 1.604 MB / 0.7241 GB, free: 93.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/0.7652, allocations: 485 kB / 0.7246 GB, free: 92.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.7657, allocations: 99.91 kB / 0.7247 GB, free: 92.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003017/0.7687, allocations: 1.513 MB / 0.7262 GB, free: 91.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.7717, allocations: 1.625 MB / 0.7277 GB, free: 89.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.7718, allocations: 0 / 0.7277 GB, free: 89.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.772, allocations: 4 kB / 0.7277 GB, free: 89.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.772, allocations: 36 kB / 0.7278 GB, free: 89.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.7861, allocations: 7.644 MB / 0.7352 GB, free: 81.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.7881, allocations: 1.094 MB / 0.7363 GB, free: 80.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.7894, allocations: 0.8618 MB / 0.7372 GB, free: 79.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.7896, allocations: 29.11 kB / 0.7372 GB, free: 79.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.7897, allocations: 55.78 kB / 0.7372 GB, free: 79.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=163): time 4.017e-06/0.7897, allocations: 0 / 0.7372 GB, free: 79.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=163): time 0.01764/0.8073, allocations: 5.69 MB / 0.7428 GB, free: 73.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.8074, allocations: 282.3 kB / 0.7431 GB, free: 73.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.8107, allocations: 1.584 MB / 0.7446 GB, free: 71.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004375/0.8112, allocations: 25.7 kB / 0.7446 GB, free: 71.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.8116, allocations: 0.576 MB / 0.7452 GB, free: 71.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/0.8128, allocations: 0.5581 MB / 0.7457 GB, free: 70.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.8131, allocations: 0 / 0.7457 GB, free: 70.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8132, allocations: 377.9 kB / 0.7461 GB, free: 70.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.8148, allocations: 0.7812 MB / 0.7469 GB, free: 69.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.8164, allocations: 1.097 MB / 0.7479 GB, free: 68.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.8183, allocations: 0.8883 MB / 0.7488 GB, free: 67.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.8183, allocations: 4 kB / 0.7488 GB, free: 67.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.005667/0.824, allocations: 2.736 MB / 0.7515 GB, free: 64.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.8244, allocations: 2.69 MB / 0.7541 GB, free: 61.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.8244, allocations: 8 kB / 0.7541 GB, free: 61.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008587/0.833, allocations: 2.428 MB / 0.7565 GB, free: 59.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.835, allocations: 387.5 kB / 0.7569 GB, free: 58.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.8409, allocations: 3.127 MB / 0.7599 GB, free: 55.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/0.8444, allocations: 342.2 kB / 0.7602 GB, free: 55.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/0.8449, allocations: 71.98 kB / 0.7603 GB, free: 55.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.845, allocations: 4 kB / 0.7603 GB, free: 55.36 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005609/0.8506, allocations: 2.382 MB / 0.7626 GB, free: 52.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.8506, allocations: 15.97 kB / 0.7627 GB, free: 52.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008492/0.8591, allocations: 2.428 MB / 0.765 GB, free: 50.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.8609, allocations: 347.5 kB / 0.7654 GB, free: 50.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006182/0.8671, allocations: 3.901 MB / 0.7692 GB, free: 46.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.8703, allocations: 282.4 kB / 0.7694 GB, free: 45.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.8707, allocations: 75.97 kB / 0.7695 GB, free: 45.8 MB / 494.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gGOV1.min_select.u[3]:VARIABLE() type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1.gGOV1_Power.s7.local_reset,gGOV1.gGOV1_Power.s2.local_reset,gGOV1.gGOV1_Turb.s3.local_reset,gGOV1.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006418/0.8713, allocations: 140.6 kB / 0.7696 GB, free: 45.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/0.8721, allocations: 229.1 kB / 0.7699 GB, free: 45.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/0.8892, allocations: 5.717 MB / 0.7754 GB, free: 39.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.8893, allocations: 16 kB / 0.7755 GB, free: 39.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8893, allocations: 4 kB / 0.7755 GB, free: 39.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.751e-05/0.8894, allocations: 11.88 kB / 0.7755 GB, free: 39.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02218/0.9116, allocations: 8.173 MB / 0.7835 GB, free: 31.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.9116, allocations: 4 kB / 0.7835 GB, free: 31.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.9135, allocations: 247.7 kB / 0.7837 GB, free: 31.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007025/0.9205, allocations: 2.135 MB / 0.7858 GB, free: 29.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004197/0.921, allocations: 19.98 kB / 0.7858 GB, free: 29.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.9401, allocations: 8.619 MB / 0.7942 GB, free: 20.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.9402, allocations: 7.984 kB / 0.7942 GB, free: 20.2 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01964/0.9598, allocations: 7.186 MB / 0.8012 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008371/0.9607, allocations: 357.7 kB / 0.8016 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008854/0.9616, allocations: 8 kB / 0.8016 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/0.9646, allocations: 235.8 kB / 0.8018 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005786/0.9652, allocations: 176.9 kB / 0.802 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/0.9654, allocations: 48 kB / 0.802 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 0.001969/0.9674, allocations: 1.18 MB / 0.8032 GB, free: 10.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003948/0.9713, allocations: 0.9312 MB / 0.8041 GB, free: 10.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1.gGOV1_Temp.s6.y,gGOV1.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1.gGOV1_Turb.s3.y,gGOV1.gGOV1_Turb.s5.state,gGOV1.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1.gGOV1_Accel.s8.x,gGOV1.gGOV1_Power.s2.y,gGOV1.gGOV1_Power.s7.y,gGOV1.gGOV1_Power.s0.state,gGOV1.gGOV1_Power.s1.x,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005551/0.9719, allocations: 169 kB / 0.8042 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01554/0.9875, allocations: 5.096 MB / 0.8092 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.9875, allocations: 8.062 kB / 0.8092 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006455/0.994, allocations: 2.111 MB / 0.8113 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.9959, allocations: 202 kB / 0.8115 GB, free: 2.418 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009561/1.005, allocations: 3.563 MB / 0.815 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.008, allocations: 1.694 MB / 0.8166 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/1.008, allocations: 7.938 kB / 0.8166 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.07725/1.085, allocations: 45.44 MB / 0.861 GB, free: 15.76 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe 2>&1)