[: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.041/1.041, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0919/1.133, allocations: 27.49 MB / 145.7 MB, free: 4.184 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/1.268, allocations: 25.15 MB / 170.8 MB, free: 1.816 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0637/1.332, allocations: 33.54 MB / 204.4 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.332, allocations: 59.97 kB / 204.4 MB, free: 4.094 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.04957/1.382, allocations: 11.6 MB / 216 MB, free: 8.34 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.382, allocations: 15.88 kB / 216.1 MB, free: 8.324 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/1.382, allocations: 94.95 kB / 216.2 MB, free: 8.23 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/1.383, allocations: 426.9 kB / 216.6 MB, free: 7.773 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/1.383, allocations: 40 kB / 216.6 MB, free: 7.734 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/1.384, allocations: 63.98 kB / 216.7 MB, free: 7.672 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002154/1.386, allocations: 0.656 MB / 217.3 MB, free: 7.016 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/1.388, allocations: 0.7894 MB / 218.1 MB, free: 6.199 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/1.388, allocations: 4 kB / 218.1 MB, free: 6.195 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.388, allocations: 7.891 kB / 218.1 MB, free: 6.188 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/1.388, allocations: 24 kB / 218.2 MB, free: 6.164 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/1.394, allocations: 2.138 MB / 220.3 MB, free: 3.961 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.395, allocations: 0.5537 MB / 220.8 MB, free: 3.391 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/1.396, allocations: 303.8 kB / 221.1 MB, free: 3.09 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/1.396, allocations: 12.77 kB / 221.2 MB, free: 3.078 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009616/1.397, allocations: 390.9 kB / 221.5 MB, free: 2.676 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 6.582e-06/1.397, allocations: 0 / 221.5 MB, free: 2.676 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.001619/1.399, allocations: 0.4981 MB / 222 MB, free: 2.172 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/1.399, allocations: 101.9 kB / 222.1 MB, free: 2.051 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/1.399, allocations: 287.4 kB / 222.4 MB, free: 1.766 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/1.4, allocations: 45.7 kB / 222.5 MB, free: 1.715 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/1.4, allocations: 265.1 kB / 222.7 MB, free: 1.449 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/1.4, allocations: 237 kB / 222.9 MB, free: 1.215 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/1.4, allocations: 0 / 222.9 MB, free: 1.215 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/1.401, allocations: 366.8 kB / 223.3 MB, free: 0.8477 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007393/1.401, allocations: 226.6 kB / 223.5 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.402, allocations: 424.8 kB / 223.9 MB, free: 144 kB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/1.403, allocations: 258.8 kB / 224.2 MB, free: 15.89 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.403, allocations: 0 / 224.2 MB, free: 15.89 MB / 202.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002215/1.406, allocations: 0.7472 MB / 224.9 MB, free: 15.13 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.406, allocations: 4 kB / 224.9 MB, free: 15.12 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.406, allocations: 4 kB / 225 MB, free: 15.12 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.76e-05/1.406, allocations: 12.75 kB / 225 MB, free: 15.11 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/1.407, allocations: 119.7 kB / 225.1 MB, free: 14.99 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/1.407, allocations: 15.94 kB / 225.1 MB, free: 14.98 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/1.407, allocations: 43.72 kB / 225.1 MB, free: 14.93 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.408, allocations: 52 kB / 225.2 MB, free: 14.88 MB / 202.7 MB Warning: Assuming fixed start value for the following 8 variables: 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 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 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 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 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 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 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: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0004537/1.408, allocations: 210.6 kB / 225.4 MB, free: 14.66 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.408, allocations: 59.28 kB / 225.5 MB, free: 14.61 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/1.411, allocations: 0.6187 MB / 226.1 MB, free: 13.98 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/1.411, allocations: 12 kB / 226.1 MB, free: 13.97 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.411, allocations: 8 kB / 226.1 MB, free: 13.96 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.411, allocations: 7.969 kB / 226.1 MB, free: 13.96 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/1.415, allocations: 1.43 MB / 227.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.415, allocations: 0 / 227.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/1.416, allocations: 71.83 kB / 227.6 MB, free: 12.41 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/1.416, allocations: 4 kB / 227.6 MB, free: 12.41 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/1.416, allocations: 11.98 kB / 227.6 MB, free: 12.4 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/1.416, allocations: 7.938 kB / 227.6 MB, free: 12.39 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.416, allocations: 4 kB / 227.6 MB, free: 12.39 MB / 202.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001813/1.418, allocations: 0.6799 MB / 228.3 MB, free: 11.68 MB / 202.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001945/1.42, allocations: 1.067 MB / 229.4 MB, free: 10.58 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/1.42, allocations: 124.4 kB / 229.5 MB, free: 10.44 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/1.42, allocations: 11.94 kB / 229.5 MB, free: 10.43 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/1.421, allocations: 31.97 kB / 229.5 MB, free: 10.4 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/1.421, allocations: 100.8 kB / 229.6 MB, free: 10.3 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.421, allocations: 35.98 kB / 229.7 MB, free: 10.27 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0001967/1.421, allocations: 140.5 kB / 229.8 MB, free: 10.13 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001895/1.423, allocations: 131.9 kB / 229.9 MB, free: 10 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * 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.0004357/1.424, allocations: 149.9 kB / 230.1 MB, free: 9.844 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/1.426, allocations: 0.6775 MB / 230.8 MB, free: 9.172 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.426, allocations: 5.5 kB / 230.8 MB, free: 9.168 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009562/1.427, allocations: 351.6 kB / 231.1 MB, free: 8.828 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/1.427, allocations: 60.44 kB / 231.2 MB, free: 8.77 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/1.43, allocations: 0.8677 MB / 232 MB, free: 7.867 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.432, allocations: 1.032 MB / 233.1 MB, free: 6.809 MB / 202.7 MB Notification: Performance of SimCode: time 2.795e-06/1.432, allocations: 0 / 233.1 MB, free: 6.809 MB / 202.7 MB