[: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.9731/0.9731, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1045/1.078, allocations: 27.49 MB / 145.7 MB, free: 4.191 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/1.239, allocations: 25.16 MB / 170.8 MB, free: 1.82 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0569/1.296, allocations: 32.48 MB / 203.3 MB, free: 5.207 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.296, allocations: 59.97 kB / 203.4 MB, free: 5.148 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.01235/1.308, allocations: 2.834 MB / 206.2 MB, free: 2.246 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.308, allocations: 11.94 kB / 206.2 MB, free: 2.234 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/1.308, allocations: 27.72 kB / 206.3 MB, free: 2.207 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/1.309, allocations: 214.9 kB / 206.5 MB, free: 1.957 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/1.309, allocations: 8 kB / 206.5 MB, free: 1.949 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/1.309, allocations: 16 kB / 206.5 MB, free: 1.934 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00048/1.309, allocations: 144.8 kB / 206.6 MB, free: 1.793 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/1.31, allocations: 205 kB / 206.8 MB, free: 1.582 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/1.31, allocations: 0 / 206.8 MB, free: 1.582 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/1.31, allocations: 3.984 kB / 206.8 MB, free: 1.578 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.31, allocations: 4 kB / 206.8 MB, free: 1.574 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/1.311, allocations: 0.6154 MB / 207.5 MB, free: 0.9141 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/1.312, allocations: 147.1 kB / 207.6 MB, free: 0.7617 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/1.312, allocations: 73.23 kB / 207.7 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/1.312, allocations: 20.08 kB / 207.7 MB, free: 0.668 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/1.312, allocations: 108.5 kB / 207.8 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of pre-optimization done (n=24): time 8.827e-06/1.312, allocations: 3.938 kB / 207.8 MB, free: 0.5469 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.000411/1.313, allocations: 129.5 kB / 207.9 MB, free: 424 kB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/1.313, allocations: 55.41 kB / 208 MB, free: 356 kB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/1.313, allocations: 133.9 kB / 208.1 MB, free: 212 kB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/1.313, allocations: 33.7 kB / 208.1 MB, free: 172 kB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/1.313, allocations: 128.4 kB / 208.3 MB, free: 36 kB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/1.313, allocations: 55.27 kB / 208.3 MB, free: 15.98 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/1.313, allocations: 0 / 208.3 MB, free: 15.98 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/1.313, allocations: 322.8 kB / 208.6 MB, free: 15.66 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/1.314, allocations: 52.33 kB / 208.7 MB, free: 15.6 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/1.314, allocations: 119.5 kB / 208.8 MB, free: 15.46 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/1.314, allocations: 52.92 kB / 208.9 MB, free: 15.41 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.314, allocations: 7.906 kB / 208.9 MB, free: 15.4 MB / 186.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000543/1.315, allocations: 209.3 kB / 209.1 MB, free: 15.19 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.315, allocations: 4 kB / 209.1 MB, free: 15.19 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.315, allocations: 4 kB / 209.1 MB, free: 15.18 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.315, allocations: 4 kB / 209.1 MB, free: 15.18 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/1.315, allocations: 35.91 kB / 209.1 MB, free: 15.14 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.315, allocations: 4 kB / 209.1 MB, free: 15.14 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.315, allocations: 11.88 kB / 209.1 MB, free: 15.13 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/1.315, allocations: 16.09 kB / 209.2 MB, free: 15.11 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: transition2.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$whenCondition2,$whenCondition1,$PRE.initialStep.localActive,initialStep.localActive,$PRE.initialStep.newActive,initialStep.newActive,$PRE.initialStep.oldActive,initialStep.oldActive,initialStep.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,step.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 0.0002288/1.315, allocations: 135.8 kB / 209.3 MB, free: 14.98 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/1.315, allocations: 11.89 kB / 209.3 MB, free: 14.97 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/1.316, allocations: 166.2 kB / 209.5 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.316, allocations: 4 kB / 209.5 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.316, allocations: 0 / 209.5 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.316, allocations: 0 / 209.5 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/1.317, allocations: 498.9 kB / 209.9 MB, free: 14.27 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.317, allocations: 0 / 209.9 MB, free: 14.27 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/1.317, allocations: 23.92 kB / 210 MB, free: 14.24 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/1.317, allocations: 8 kB / 210 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/1.317, allocations: 4 kB / 210 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.317, allocations: 3.984 kB / 210 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.317, allocations: 3.938 kB / 210 MB, free: 14.22 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004402/1.318, allocations: 255.6 kB / 210.2 MB, free: 13.96 MB / 186.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000593/1.318, allocations: 0.613 MB / 210.9 MB, free: 13.32 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/1.319, allocations: 96.86 kB / 210.9 MB, free: 13.21 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/1.319, allocations: 3.984 kB / 211 MB, free: 13.21 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.319, allocations: 7.938 kB / 211 MB, free: 13.2 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.319, allocations: 23.95 kB / 211 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/1.319, allocations: 12 kB / 211 MB, free: 13.16 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0001246/1.319, allocations: 92.56 kB / 211.1 MB, free: 13.07 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.00142/1.321, allocations: 35.98 kB / 211.1 MB, free: 13.04 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: 19 (transition2.enableFire,step.localActive,transition1.enableFire,initialStep.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,initialStep.active,transition1.fire,transition1.t_start,step.newActive,step.oldActive,step.active,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002196/1.321, allocations: 111.2 kB / 211.2 MB, free: 12.92 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004767/1.321, allocations: 155.9 kB / 211.4 MB, free: 12.77 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.321, allocations: 0 / 211.4 MB, free: 12.77 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/1.322, allocations: 75.94 kB / 211.5 MB, free: 12.7 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/1.322, allocations: 19.92 kB / 211.5 MB, free: 12.68 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/1.323, allocations: 225.9 kB / 211.7 MB, free: 12.43 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/1.323, allocations: 0.7631 MB / 212.5 MB, free: 11.64 MB / 186.7 MB Notification: Performance of SimCode: time 1.092e-06/1.323, allocations: 4 kB / 212.5 MB, free: 11.63 MB / 186.7 MB