Running command: translateModel(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock") [: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 loadModel(OpenHPL): time 2.223/2.223, allocations: 258 MB / 265 MB, free: 5.289 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 1.017e-05/1.039e-05, allocations: 0 / 327.4 MB, free: 6.707 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.314, allocations: 60.22 MB / 387.7 MB, free: 14.34 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4458, allocations: 88.64 MB / 476.3 MB, free: 5.57 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.4462, allocations: 83.94 kB / 476.4 MB, free: 5.488 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.9438/1.39, allocations: 142.4 MB / 0.6043 GB, free: 18.84 MB / 434.8 MB Notification: Performance of Transformations before backend: time 0.0002221/1.39, allocations: 220 kB / 0.6045 GB, free: 18.63 MB / 434.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4046 * Number of variables: 4046 Notification: Performance of Generate backend data structure: time 0.04386/1.434, allocations: 11.24 MB / 0.6155 GB, free: 7.297 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.434, allocations: 8.031 kB / 0.6155 GB, free: 7.289 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/1.44, allocations: 1.102 MB / 0.6166 GB, free: 6.172 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/1.458, allocations: 5.137 MB / 0.6216 GB, free: 0.9766 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005806/1.459, allocations: 368 kB / 0.6219 GB, free: 0.6172 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004274/1.463, allocations: 0.6407 MB / 0.6225 GB, free: 15.97 MB / 450.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07555/1.538, allocations: 34.43 MB / 0.6562 GB, free: 13.52 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06576/1.604, allocations: 21.99 MB / 0.6776 GB, free: 7.492 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006451/1.605, allocations: 15.91 kB / 0.6777 GB, free: 7.477 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004958/1.61, allocations: 0 / 0.6777 GB, free: 7.477 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002729/1.613, allocations: 1.759 MB / 0.6794 GB, free: 5.715 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2887/1.902, allocations: 51.95 MB / 0.7301 GB, free: 174.7 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/1.921, allocations: 9.365 MB / 0.7392 GB, free: 168.8 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01526/1.937, allocations: 8.071 MB / 0.7471 GB, free: 161.5 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008939/1.938, allocations: 234.3 kB / 0.7474 GB, free: 161.3 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.801e-05/1.938, allocations: 164.9 kB / 0.7475 GB, free: 161.1 MB / 498.8 MB Notification: Performance of pre-optimization done (n=1323): time 1.833e-05/1.938, allocations: 0 / 0.7475 GB, free: 161.1 MB / 498.8 MB Notification: Performance of matching and sorting (n=1323): time 0.03705/1.975, allocations: 16.62 MB / 0.7637 GB, free: 146.6 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/1.975, allocations: 185.8 kB / 0.7639 GB, free: 146.4 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/1.976, allocations: 425 kB / 0.7643 GB, free: 146.1 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001774/1.978, allocations: 28.61 kB / 0.7643 GB, free: 146.1 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/1.979, allocations: 3.607 MB / 0.7679 GB, free: 143.5 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004417/1.984, allocations: 4.28 MB / 0.772 GB, free: 139.6 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/1.985, allocations: 0 / 0.772 GB, free: 139.6 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0006864/1.986, allocations: 0.8106 MB / 0.7728 GB, free: 138.9 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01419/2, allocations: 7.316 MB / 0.78 GB, free: 132.3 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01679/2.017, allocations: 8.443 MB / 0.7882 GB, free: 124.5 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01991/2.037, allocations: 9.057 MB / 0.7971 GB, free: 116.1 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.044e-05/2.037, allocations: 7.938 kB / 0.7971 GB, free: 116.1 MB / 498.8 MB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.04262/2.08, allocations: 17.99 MB / 0.8147 GB, free: 98.05 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/2.08, allocations: 5.25 kB / 0.8147 GB, free: 98.04 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-05/2.08, allocations: 20 kB / 0.8147 GB, free: 98.02 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/2.08, allocations: 64 kB / 0.8147 GB, free: 97.96 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02019/2.1, allocations: 2.649 MB / 0.8173 GB, free: 95.31 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001547/2.101, allocations: 79.86 kB / 0.8174 GB, free: 95.23 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009/2.11, allocations: 0.7916 MB / 0.8182 GB, free: 94.43 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003097/2.113, allocations: 443.7 kB / 0.8186 GB, free: 94 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 4 (kP.boundaryCon[2,2],kP.boundaryCon[2,1],kP.boundaryCon[1,2],kP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1429): * Single equations (assignments): 1428 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003872/2.117, allocations: 274.5 kB / 0.8189 GB, free: 93.72 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00247/2.119, allocations: 450.4 kB / 0.8193 GB, free: 93.28 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06046/2.18, allocations: 20.73 MB / 0.8395 GB, free: 72.54 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001735/2.18, allocations: 147.9 kB / 0.8397 GB, free: 72.4 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.756e-05/2.18, allocations: 3.875 kB / 0.8397 GB, free: 72.4 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003434/2.18, allocations: 71.72 kB / 0.8397 GB, free: 72.33 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1053/2.286, allocations: 35.18 MB / 0.8741 GB, free: 37.31 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/2.286, allocations: 12 kB / 0.8741 GB, free: 37.3 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02056/2.306, allocations: 2.762 MB / 0.8768 GB, free: 34.53 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/2.307, allocations: 60 kB / 0.8769 GB, free: 34.47 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00254/2.309, allocations: 191.7 kB / 0.877 GB, free: 34.29 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.328e-05/2.309, allocations: 67.77 kB / 0.8771 GB, free: 34.22 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/2.309, allocations: 15.94 kB / 0.8771 GB, free: 34.21 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.066/2.375, allocations: 32.16 MB / 0.9085 GB, free: 1.582 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/2.376, allocations: 0.7109 MB / 0.9092 GB, free: 0.8438 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003203/2.379, allocations: 39.97 kB / 0.9093 GB, free: 0.8047 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00836/2.388, allocations: 251.4 kB / 0.9095 GB, free: 0.5625 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1827/2.57, allocations: 0.7984 MB / 0.9103 GB, free: 173 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004165/2.574, allocations: 449.1 kB / 0.9107 GB, free: 173 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.0005673/2.575, allocations: 281.7 kB / 0.911 GB, free: 173 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.01334/2.588, allocations: 3.421 MB / 0.9143 GB, free: 173 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (U[1],U[2],U[3],U[4],U[5],U[6],U[7],U[8],U[9],U[10],U[11],U[12],U[13],U[14],U[15],U[16],U[17],U[18],U[19],U[20],U[21],U[22],U[23],U[24],U[25],U[26],U[27],U[28],U[29],U[30],U[31],U[32],U[33],U[34],U[35],U[36],U[37],U[38],U[39],U[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1511): * Single equations (assignments): 1511 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00324/2.592, allocations: 368.9 kB / 0.9147 GB, free: 172.9 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.04334/2.635, allocations: 17.79 MB / 0.932 GB, free: 172.6 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 9.249e-06/2.635, allocations: 3.594 kB / 0.932 GB, free: 172.6 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01959/2.655, allocations: 9.741 MB / 0.9416 GB, free: 170 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/2.658, allocations: 215.3 kB / 0.9418 GB, free: 169.9 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06558/2.724, allocations: 26.1 MB / 0.9672 GB, free: 155.8 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02538/2.749, allocations: 7.964 MB / 0.975 GB, free: 150 MB / 498.8 MB Notification: Performance of SimCode: time 1.491e-06/2.75, allocations: 0 / 0.975 GB, free: 150 MB / 498.8 MB Notification: Performance of Templates: time 0.2665/3.016, allocations: 141.4 MB / 1.113 GB, free: 17.48 MB / 498.8 MB