[: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.9958/0.9958, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08279/1.079, allocations: 27.5 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/1.205, allocations: 25.15 MB / 170.8 MB, free: 1.828 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06171/1.267, allocations: 33.03 MB / 203.9 MB, free: 4.645 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.267, allocations: 63.97 kB / 203.9 MB, free: 4.582 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.01611/1.283, allocations: 2.961 MB / 206.9 MB, free: 1.562 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/1.283, allocations: 19.92 kB / 206.9 MB, free: 1.543 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/1.283, allocations: 19.72 kB / 206.9 MB, free: 1.523 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/1.284, allocations: 218.8 kB / 207.1 MB, free: 1.27 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/1.284, allocations: 11.98 kB / 207.2 MB, free: 1.258 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/1.284, allocations: 16 kB / 207.2 MB, free: 1.242 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007015/1.285, allocations: 152.9 kB / 207.3 MB, free: 1.094 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/1.286, allocations: 228.2 kB / 207.5 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.286, allocations: 0 / 207.5 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/1.286, allocations: 3.906 kB / 207.5 MB, free: 0.8398 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/1.286, allocations: 8 kB / 207.6 MB, free: 0.832 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/1.288, allocations: 0.8856 MB / 208.4 MB, free: 15.89 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.289, allocations: 131.1 kB / 208.6 MB, free: 15.75 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/1.289, allocations: 69.31 kB / 208.6 MB, free: 15.68 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/1.289, allocations: 4.172 kB / 208.6 MB, free: 15.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/1.289, allocations: 108.4 kB / 208.7 MB, free: 15.56 MB / 186.7 MB Notification: Performance of pre-optimization done (n=23): time 6.131e-06/1.289, allocations: 0 / 208.7 MB, free: 15.56 MB / 186.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005767/1.29, allocations: 140.6 kB / 208.9 MB, free: 15.42 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/1.29, allocations: 55.41 kB / 208.9 MB, free: 15.35 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/1.29, allocations: 136.8 kB / 209.1 MB, free: 15.21 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/1.29, allocations: 37.69 kB / 209.1 MB, free: 15.17 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/1.29, allocations: 128.3 kB / 209.2 MB, free: 15.04 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.29, allocations: 55.25 kB / 209.3 MB, free: 14.98 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/1.291, allocations: 4 kB / 209.3 MB, free: 14.98 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/1.291, allocations: 330.8 kB / 209.6 MB, free: 14.65 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/1.291, allocations: 56.59 kB / 209.7 MB, free: 14.59 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/1.291, allocations: 121.6 kB / 209.8 MB, free: 14.44 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/1.292, allocations: 60.91 kB / 209.8 MB, free: 14.38 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.292, allocations: 0 / 209.8 MB, free: 14.38 MB / 186.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006328/1.293, allocations: 217.2 kB / 210.1 MB, free: 14.16 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.293, allocations: 8 kB / 210.1 MB, free: 14.16 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.293, allocations: 0 / 210.1 MB, free: 14.16 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.293, allocations: 7.984 kB / 210.1 MB, free: 14.15 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/1.293, allocations: 35.92 kB / 210.1 MB, free: 14.11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.293, allocations: 11.97 kB / 210.1 MB, free: 14.1 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/1.293, allocations: 11.84 kB / 210.1 MB, free: 14.09 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.293, allocations: 16.28 kB / 210.2 MB, free: 14.07 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: 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: 10 * Number of states: 0 () * Number of discrete variables: 30 ($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,$PRE.timer.entryTime,timer.entryTime,SetBoolean1.y,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001915/1.293, allocations: 126.9 kB / 210.3 MB, free: 13.95 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/1.293, allocations: 15.89 kB / 210.3 MB, free: 13.93 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/1.294, allocations: 154.2 kB / 210.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/1.294, allocations: 7.906 kB / 210.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.294, allocations: 3.984 kB / 210.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.294, allocations: 0 / 210.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.295, allocations: 0.5099 MB / 211 MB, free: 13.2 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.295, allocations: 0 / 211 MB, free: 13.2 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.295, allocations: 16 kB / 211 MB, free: 13.19 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/1.295, allocations: 4 kB / 211 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/1.295, allocations: 3.984 kB / 211 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/1.295, allocations: 0 / 211 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.295, allocations: 7.938 kB / 211 MB, free: 13.17 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004188/1.296, allocations: 247.6 kB / 211.2 MB, free: 12.91 MB / 186.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005412/1.296, allocations: 0.6129 MB / 211.8 MB, free: 12.28 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/1.296, allocations: 96.84 kB / 211.9 MB, free: 12.17 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/1.296, allocations: 0 / 211.9 MB, free: 12.17 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/1.297, allocations: 8 kB / 212 MB, free: 12.16 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/1.297, allocations: 23.95 kB / 212 MB, free: 12.14 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/1.297, allocations: 11.91 kB / 212 MB, free: 12.12 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.562e-05/1.297, allocations: 93.81 kB / 212.1 MB, free: 12.04 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001424/1.298, allocations: 35.98 kB / 212.1 MB, free: 12 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 (step.active,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,transition2.enableFire,timer.entryTime,SetBoolean1.y,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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.0001979/1.299, allocations: 111 kB / 212.2 MB, free: 11.88 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004522/1.299, allocations: 159.9 kB / 212.4 MB, free: 11.73 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.299, allocations: 0 / 212.4 MB, free: 11.73 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/1.299, allocations: 75.88 kB / 212.5 MB, free: 11.65 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.299, allocations: 15.98 kB / 212.5 MB, free: 11.64 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/1.3, allocations: 224.5 kB / 212.7 MB, free: 11.39 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/1.301, allocations: 0.7675 MB / 213.5 MB, free: 10.6 MB / 186.7 MB Notification: Performance of SimCode: time 8.01e-07/1.301, allocations: 0 / 213.5 MB, free: 10.6 MB / 186.7 MB