[: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 1.389/1.389, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1093/1.499, allocations: 27.49 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/1.668, allocations: 25.16 MB / 170.8 MB, free: 1.832 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08554/1.754, allocations: 33.85 MB / 204.7 MB, free: 3.809 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.754, allocations: 63.97 kB / 204.8 MB, free: 3.746 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.08127/1.835, allocations: 13.68 MB / 218.4 MB, free: 5.91 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.836, allocations: 11.94 kB / 218.4 MB, free: 5.898 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/1.836, allocations: 102.9 kB / 218.6 MB, free: 5.797 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/1.838, allocations: 487.1 kB / 219 MB, free: 5.281 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.838, allocations: 44 kB / 219.1 MB, free: 5.238 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/1.838, allocations: 71.98 kB / 219.1 MB, free: 5.168 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003678/1.842, allocations: 0.7615 MB / 219.9 MB, free: 4.406 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/1.846, allocations: 0.883 MB / 220.8 MB, free: 3.492 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/1.846, allocations: 4 kB / 220.8 MB, free: 3.488 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.846, allocations: 7.984 kB / 220.8 MB, free: 3.48 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/1.846, allocations: 24 kB / 220.8 MB, free: 3.457 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008826/1.855, allocations: 2.687 MB / 223.5 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/1.858, allocations: 0.5994 MB / 224.1 MB, free: 60 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.859, allocations: 346.6 kB / 224.4 MB, free: 15.72 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.859, allocations: 16.69 kB / 224.5 MB, free: 15.71 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/1.861, allocations: 379.5 kB / 224.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of pre-optimization done (n=104): time 5.27e-06/1.861, allocations: 3.938 kB / 224.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of matching and sorting (n=104): time 0.002583/1.863, allocations: 0.5692 MB / 225.4 MB, free: 14.74 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/1.863, allocations: 76.39 kB / 225.5 MB, free: 14.66 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/1.864, allocations: 308.2 kB / 225.8 MB, free: 14.35 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/1.864, allocations: 53.69 kB / 225.8 MB, free: 14.29 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000424/1.865, allocations: 292.9 kB / 226.1 MB, free: 14 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/1.865, allocations: 252.7 kB / 226.4 MB, free: 13.75 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/1.865, allocations: 0 / 226.4 MB, free: 13.75 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002645/1.866, allocations: 366.8 kB / 226.7 MB, free: 13.38 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.867, allocations: 270.6 kB / 227 MB, free: 13.12 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/1.868, allocations: 500 kB / 227.5 MB, free: 12.55 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/1.869, allocations: 298.1 kB / 227.8 MB, free: 12.26 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.869, allocations: 4 kB / 227.8 MB, free: 12.25 MB / 202.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00244/1.872, allocations: 0.8568 MB / 228.6 MB, free: 11.39 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.872, allocations: 4 kB / 228.6 MB, free: 11.38 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.872, allocations: 4 kB / 228.6 MB, free: 11.38 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/1.872, allocations: 16 kB / 228.7 MB, free: 11.36 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/1.872, allocations: 127.6 kB / 228.8 MB, free: 11.24 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/1.873, allocations: 15.94 kB / 228.8 MB, free: 11.22 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/1.873, allocations: 56.09 kB / 228.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/1.873, allocations: 51.98 kB / 228.9 MB, free: 11.12 MB / 202.7 MB Warning: Assuming fixed start value for the following 9 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 compositeStep.transition6a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition4a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition6.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition5.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition4.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition3.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.newActive:DISCRETE(fixed = false protected = true ) "Value of active in the next iteration" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.compositeStep.active,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 166 * 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.0004482/1.874, allocations: 231.8 kB / 229.1 MB, free: 10.88 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/1.874, allocations: 51.44 kB / 229.2 MB, free: 10.83 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/1.876, allocations: 0.6539 MB / 229.8 MB, free: 10.18 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/1.876, allocations: 12 kB / 229.8 MB, free: 10.16 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.876, allocations: 4 kB / 229.8 MB, free: 10.16 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.876, allocations: 3.984 kB / 229.8 MB, free: 10.16 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/1.88, allocations: 1.57 MB / 231.4 MB, free: 8.543 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.88, allocations: 0 / 231.4 MB, free: 8.543 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/1.881, allocations: 75.83 kB / 231.5 MB, free: 8.469 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/1.881, allocations: 4 kB / 231.5 MB, free: 8.465 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/1.881, allocations: 7.984 kB / 231.5 MB, free: 8.457 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/1.881, allocations: 7.938 kB / 231.5 MB, free: 8.449 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.881, allocations: 3.984 kB / 231.5 MB, free: 8.445 MB / 202.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001768/1.883, allocations: 0.697 MB / 232.2 MB, free: 7.73 MB / 202.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001906/1.885, allocations: 1.08 MB / 233.3 MB, free: 6.629 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/1.885, allocations: 128.4 kB / 233.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.885, allocations: 7.984 kB / 233.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/1.886, allocations: 35.97 kB / 233.5 MB, free: 6.441 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/1.886, allocations: 120.8 kB / 233.6 MB, free: 6.324 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/1.886, allocations: 39.89 kB / 233.6 MB, free: 6.285 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0002111/1.886, allocations: 157.2 kB / 233.8 MB, free: 6.133 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001805/1.888, allocations: 135.9 kB / 233.9 MB, free: 6 MB / 202.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: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0003217/1.889, allocations: 159.3 kB / 234.1 MB, free: 5.824 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001981/1.891, allocations: 0.7751 MB / 234.8 MB, free: 5.055 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.891, allocations: 5.625 kB / 234.8 MB, free: 5.051 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009569/1.892, allocations: 379.6 kB / 235.2 MB, free: 4.684 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/1.892, allocations: 52.47 kB / 235.3 MB, free: 4.633 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/1.896, allocations: 1.039 MB / 236.3 MB, free: 3.562 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.897, allocations: 1.055 MB / 237.4 MB, free: 2.48 MB / 202.7 MB Notification: Performance of SimCode: time 1.804e-06/1.897, allocations: 0 / 237.4 MB, free: 2.48 MB / 202.7 MB