Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.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.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU") [: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.003542/0.003542, allocations: 186.2 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 221.4 MB / 229.3 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009401, allocations: 101.8 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4126/0.4126, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.665e-06/7.695e-06, allocations: 4 kB / 484.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2846, allocations: 69.34 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.4834, allocations: 123 MB / 0.6609 GB, free: 13.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.4838, allocations: 87.94 kB / 0.6609 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.3642/0.848, allocations: 60.49 MB / 0.72 GB, free: 90.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001705/0.8482, allocations: 55.84 kB / 0.7201 GB, free: 90.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.006866/0.8551, allocations: 2.844 MB / 0.7229 GB, free: 88.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.8552, allocations: 11.97 kB / 0.7229 GB, free: 88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.8587, allocations: 0.6834 MB / 0.7235 GB, free: 87.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.8615, allocations: 1.632 MB / 0.7251 GB, free: 85.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004531/0.862, allocations: 485.1 kB / 0.7256 GB, free: 85.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.8623, allocations: 99.84 kB / 0.7257 GB, free: 85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002736/0.865, allocations: 1.533 MB / 0.7272 GB, free: 83.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.8677, allocations: 1.658 MB / 0.7288 GB, free: 81.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.8678, allocations: 3.938 kB / 0.7288 GB, free: 81.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.8679, allocations: 0 / 0.7288 GB, free: 81.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.868, allocations: 44 kB / 0.7288 GB, free: 81.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.8808, allocations: 7.761 MB / 0.7364 GB, free: 73.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.8827, allocations: 1.114 MB / 0.7375 GB, free: 72.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.8839, allocations: 0.8735 MB / 0.7384 GB, free: 71.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.8841, allocations: 36.97 kB / 0.7384 GB, free: 71.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.8841, allocations: 51.88 kB / 0.7384 GB, free: 71.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=165): time 3.516e-06/0.8842, allocations: 0 / 0.7384 GB, free: 71.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=165): time 0.01715/0.9013, allocations: 5.67 MB / 0.744 GB, free: 65.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.9014, allocations: 308 kB / 0.7443 GB, free: 65.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.9038, allocations: 1.597 MB / 0.7458 GB, free: 63.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.9041, allocations: 25.7 kB / 0.7459 GB, free: 63.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.9043, allocations: 0.5916 MB / 0.7464 GB, free: 63.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007093/0.9051, allocations: 0.5581 MB / 0.747 GB, free: 62.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.9052, allocations: 0 / 0.747 GB, free: 62.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.9053, allocations: 381.8 kB / 0.7474 GB, free: 62.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.9066, allocations: 0.7929 MB / 0.7481 GB, free: 61.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.9081, allocations: 1.114 MB / 0.7492 GB, free: 60.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.9097, allocations: 0.9039 MB / 0.7501 GB, free: 59.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9097, allocations: 0 / 0.7501 GB, free: 59.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005079/0.9148, allocations: 2.775 MB / 0.7528 GB, free: 56.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005216/0.9153, allocations: 2.686 MB / 0.7554 GB, free: 53.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.9153, allocations: 8 kB / 0.7554 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008348/0.9237, allocations: 2.436 MB / 0.7578 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.9255, allocations: 403.3 kB / 0.7582 GB, free: 50.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/0.9307, allocations: 3.123 MB / 0.7612 GB, free: 47.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/0.9337, allocations: 346.2 kB / 0.7616 GB, free: 47.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.9339, allocations: 75.97 kB / 0.7617 GB, free: 47.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.9339, allocations: 7.938 kB / 0.7617 GB, free: 47.32 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004557/0.9385, allocations: 2.413 MB / 0.764 GB, free: 44.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.9385, allocations: 12 kB / 0.764 GB, free: 44.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0082/0.9467, allocations: 2.424 MB / 0.7664 GB, free: 42.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.9484, allocations: 347.5 kB / 0.7667 GB, free: 42.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/0.9541, allocations: 3.893 MB / 0.7705 GB, free: 38.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.957, allocations: 278.6 kB / 0.7708 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.9573, allocations: 71.98 kB / 0.7709 GB, free: 37.74 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gGOV1DU.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 (gGOV1DU.gGOV1_Power.s7.local_reset,gGOV1DU.gGOV1_Power.s2.local_reset,gGOV1DU.gGOV1_Turb.s3.local_reset,gGOV1DU.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 192 * 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.00048/0.9578, allocations: 146.1 kB / 0.771 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.9583, allocations: 241 kB / 0.7712 GB, free: 37.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/0.975, allocations: 5.838 MB / 0.7769 GB, free: 31.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.975, allocations: 16 kB / 0.7769 GB, free: 31.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.975, allocations: 0 / 0.7769 GB, free: 31.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.975, allocations: 15.81 kB / 0.777 GB, free: 31.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/0.9948, allocations: 8.211 MB / 0.785 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.9948, allocations: 4 kB / 0.785 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.9963, allocations: 259.7 kB / 0.7852 GB, free: 22.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00672/1.003, allocations: 2.131 MB / 0.7873 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/1.003, allocations: 15.98 kB / 0.7873 GB, free: 20.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/1.021, allocations: 8.612 MB / 0.7957 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.021, allocations: 4 kB / 0.7957 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01814/1.039, allocations: 7.17 MB / 0.8027 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007625/1.04, allocations: 361.6 kB / 0.8031 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/1.041, allocations: 8 kB / 0.8031 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002426/1.043, allocations: 243.8 kB / 0.8033 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/1.043, allocations: 185.7 kB / 0.8035 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.044, allocations: 43.98 kB / 0.8035 GB, free: 3.938 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001633/1.045, allocations: 1.196 MB / 0.8047 GB, free: 2.727 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002346/1.048, allocations: 0.9429 MB / 0.8056 GB, free: 1.781 MB / 490.7 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,gGOV1DU.gGOV1_Temp.s6.y,gGOV1DU.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1DU.gGOV1_Turb.s3.y,gGOV1DU.gGOV1_Turb.s5.state,gGOV1DU.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1DU.gGOV1_Accel.s8.x,gGOV1DU.gGOV1_Power.s2.y,gGOV1DU.gGOV1_Power.s7.y,gGOV1DU.gGOV1_Power.s0.state,gGOV1DU.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 (120): * Single equations (assignments): 118 * 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.0003517/1.048, allocations: 175.1 kB / 0.8058 GB, free: 1.602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01512/1.063, allocations: 5.137 MB / 0.8108 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.063, allocations: 0 / 0.8108 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0068/1.07, allocations: 2.127 MB / 0.8129 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.072, allocations: 216 kB / 0.8131 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/1.081, allocations: 3.608 MB / 0.8166 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.083, allocations: 1.711 MB / 0.8183 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/1.083, allocations: 0 / 0.8183 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of Templates: time 0.1161/1.199, allocations: 46.08 MB / 0.8633 GB, free: 6.781 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.pipe 2>&1)