[: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(Modelica): time 0.9162/0.9162, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1176/1.034, allocations: 27.5 MB / 145.7 MB, free: 4.188 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/1.164, allocations: 25.15 MB / 170.8 MB, free: 1.828 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05675/1.22, allocations: 32.99 MB / 203.8 MB, free: 4.703 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/1.221, allocations: 55.97 kB / 203.9 MB, free: 4.648 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00958/1.23, allocations: 2.165 MB / 206.1 MB, free: 2.418 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.23, allocations: 11.94 kB / 206.1 MB, free: 2.406 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/1.23, allocations: 19.83 kB / 206.1 MB, free: 2.387 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/1.23, allocations: 171.4 kB / 206.3 MB, free: 2.18 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.231, allocations: 4 kB / 206.3 MB, free: 2.176 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/1.231, allocations: 8 kB / 206.3 MB, free: 2.168 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001741/1.231, allocations: 40.56 kB / 206.3 MB, free: 2.129 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/1.231, allocations: 89.59 kB / 206.4 MB, free: 2.035 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.231, allocations: 7.906 kB / 206.4 MB, free: 2.027 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/1.231, allocations: 0 / 206.4 MB, free: 2.027 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.231, allocations: 0 / 206.4 MB, free: 2.027 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/1.232, allocations: 317.3 kB / 206.7 MB, free: 1.68 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/1.232, allocations: 70.5 kB / 206.8 MB, free: 1.602 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/1.232, allocations: 44.92 kB / 206.8 MB, free: 1.555 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/1.232, allocations: 0 / 206.8 MB, free: 1.555 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/1.232, allocations: 150.6 kB / 207 MB, free: 1.383 MB / 170.7 MB Notification: Performance of pre-optimization done (n=11): time 1.824e-06/1.232, allocations: 0 / 207 MB, free: 1.383 MB / 170.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003343/1.233, allocations: 117.6 kB / 207.1 MB, free: 1.262 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.233, allocations: 166.2 kB / 207.2 MB, free: 1.062 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.233, allocations: 122.8 kB / 207.4 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/1.233, allocations: 29.7 kB / 207.4 MB, free: 0.8984 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/1.233, allocations: 92.14 kB / 207.5 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/1.233, allocations: 27.64 kB / 207.5 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/1.233, allocations: 0 / 207.5 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/1.233, allocations: 322.8 kB / 207.8 MB, free: 464 kB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/1.233, allocations: 39.98 kB / 207.9 MB, free: 424 kB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/1.233, allocations: 32 kB / 207.9 MB, free: 392 kB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/1.234, allocations: 39.56 kB / 207.9 MB, free: 356 kB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.234, allocations: 0 / 207.9 MB, free: 356 kB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003608/1.234, allocations: 129.4 kB / 208.1 MB, free: 220 kB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.234, allocations: 4 kB / 208.1 MB, free: 216 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/1.234, allocations: 0 / 208.1 MB, free: 216 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.234, allocations: 7.906 kB / 208.1 MB, free: 208 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.833e-05/1.234, allocations: 0 / 208.1 MB, free: 208 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/1.234, allocations: 0 / 208.1 MB, free: 208 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/1.234, allocations: 11.94 kB / 208.1 MB, free: 196 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/1.234, allocations: 4 kB / 208.1 MB, free: 192 kB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$PRE.table2.y,table2.y,$PRE.table2.nextTime,table2.nextTime,$PRE.table2.index,table2.index,$PRE.table1.y,table1.y,$PRE.table1.nextTime,table1.nextTime,$PRE.table1.index,table1.index,And1.u2,And1.y,$PRE.Pre1.u,Pre1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001581/1.234, allocations: 175.8 kB / 208.3 MB, free: 0 / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/1.235, allocations: 15.98 kB / 208.3 MB, free: 15.98 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/1.235, allocations: 16.36 kB / 208.3 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/1.235, allocations: 0 / 208.3 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.235, allocations: 0 / 208.3 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.235, allocations: 0 / 208.3 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/1.235, allocations: 186.1 kB / 208.5 MB, free: 15.74 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.235, allocations: 0 / 208.5 MB, free: 15.74 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/1.235, allocations: 0 / 208.5 MB, free: 15.74 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.235, allocations: 0 / 208.5 MB, free: 15.74 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.235, allocations: 15.89 kB / 208.5 MB, free: 15.72 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.235, allocations: 0 / 208.5 MB, free: 15.72 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.235, allocations: 0 / 208.5 MB, free: 15.72 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003396/1.235, allocations: 160.9 kB / 208.6 MB, free: 15.55 MB / 186.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004705/1.236, allocations: 0.5286 MB / 209.2 MB, free: 15 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/1.236, allocations: 85.16 kB / 209.3 MB, free: 14.89 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/1.236, allocations: 4 kB / 209.3 MB, free: 14.89 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/1.236, allocations: 11.98 kB / 209.3 MB, free: 14.88 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/1.236, allocations: 11.98 kB / 209.3 MB, free: 14.87 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.236, allocations: 8 kB / 209.3 MB, free: 14.86 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.539e-05/1.236, allocations: 104 kB / 209.4 MB, free: 14.76 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001275/1.238, allocations: 55.88 kB / 209.5 MB, free: 14.7 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$whenCondition2,table2.y,table2.nextTime,table2.index,table1.y,table1.nextTime,table1.index,And1.u2,And1.y,Pre1.u) * Number of discrete states: 9 (Pre1.u,table1.y,table1.nextTime,table1.index,$whenCondition1,table2.y,table2.nextTime,table2.index,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0003329/1.238, allocations: 151.2 kB / 209.6 MB, free: 14.55 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003485/1.238, allocations: 190.8 kB / 209.8 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.238, allocations: 0 / 209.8 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/1.238, allocations: 139.6 kB / 209.9 MB, free: 14.19 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/1.239, allocations: 7.906 kB / 209.9 MB, free: 14.18 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/1.239, allocations: 160.4 kB / 210.1 MB, free: 14 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/1.24, allocations: 0.7153 MB / 210.8 MB, free: 13.26 MB / 186.7 MB Notification: Performance of SimCode: time 6.72e-07/1.24, allocations: 0 / 210.8 MB, free: 13.26 MB / 186.7 MB