[: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.128/1.128, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.104/1.232, allocations: 27.5 MB / 145.7 MB, free: 4.18 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/1.359, allocations: 25.15 MB / 170.8 MB, free: 1.848 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06599/1.425, allocations: 35 MB / 205.9 MB, free: 2.688 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.425, allocations: 71.89 kB / 205.9 MB, free: 2.617 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.03365/1.459, allocations: 6.839 MB / 212.8 MB, free: 11.72 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.459, allocations: 11.94 kB / 212.8 MB, free: 11.71 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.459, allocations: 31.62 kB / 212.8 MB, free: 11.68 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/1.46, allocations: 250.8 kB / 213 MB, free: 11.39 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/1.46, allocations: 8 kB / 213.1 MB, free: 11.38 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/1.46, allocations: 23.91 kB / 213.1 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007285/1.46, allocations: 229 kB / 213.3 MB, free: 11.14 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.462, allocations: 286.8 kB / 213.6 MB, free: 10.85 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/1.462, allocations: 0 / 213.6 MB, free: 10.85 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/1.462, allocations: 0 / 213.6 MB, free: 10.85 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.959e-05/1.462, allocations: 8 kB / 213.6 MB, free: 10.84 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/1.466, allocations: 0.8043 MB / 214.4 MB, free: 9.988 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.467, allocations: 289.6 kB / 214.7 MB, free: 9.699 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/1.468, allocations: 168.8 kB / 214.8 MB, free: 9.531 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-05/1.468, allocations: 4.594 kB / 214.8 MB, free: 9.527 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/1.468, allocations: 38.56 kB / 214.9 MB, free: 9.48 MB / 186.7 MB Notification: Performance of pre-optimization done (n=36): time 4.899e-06/1.468, allocations: 0 / 214.9 MB, free: 9.48 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.006424/1.474, allocations: 1.335 MB / 216.2 MB, free: 8.051 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/1.475, allocations: 85.11 kB / 216.3 MB, free: 7.949 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/1.475, allocations: 161.8 kB / 216.5 MB, free: 7.785 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/1.475, allocations: 33.7 kB / 216.5 MB, free: 7.746 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.475, allocations: 120.7 kB / 216.6 MB, free: 7.625 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/1.476, allocations: 138 kB / 216.7 MB, free: 7.488 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/1.476, allocations: 0 / 216.7 MB, free: 7.488 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002695/1.476, allocations: 331 kB / 217.1 MB, free: 7.156 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/1.477, allocations: 148.7 kB / 217.2 MB, free: 7.008 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/1.477, allocations: 187.7 kB / 217.4 MB, free: 6.816 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/1.478, allocations: 152 kB / 217.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.478, allocations: 0 / 217.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001425/1.479, allocations: 477.7 kB / 218 MB, free: 6.191 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.479, allocations: 4 kB / 218 MB, free: 6.188 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/1.479, allocations: 0 / 218 MB, free: 6.188 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008524/1.48, allocations: 160.7 kB / 218.2 MB, free: 6.027 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/1.481, allocations: 71.77 kB / 218.2 MB, free: 5.957 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/1.485, allocations: 1.97 MB / 220.2 MB, free: 3.867 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/1.485, allocations: 32.19 kB / 220.2 MB, free: 3.836 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/1.485, allocations: 27.84 kB / 220.3 MB, free: 3.809 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gear.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002873/1.486, allocations: 117 kB / 220.4 MB, free: 3.688 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.486, allocations: 23.72 kB / 220.4 MB, free: 3.664 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/1.486, allocations: 30.78 kB / 220.4 MB, free: 3.633 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/1.486, allocations: 4 kB / 220.4 MB, free: 3.629 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.486, allocations: 0 / 220.4 MB, free: 3.629 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.486, allocations: 7.984 kB / 220.5 MB, free: 3.621 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/1.489, allocations: 0.9887 MB / 221.4 MB, free: 2.574 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.489, allocations: 8.031 kB / 221.4 MB, free: 2.566 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/1.49, allocations: 71.8 kB / 221.5 MB, free: 2.496 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006946/1.49, allocations: 144.8 kB / 221.7 MB, free: 2.352 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/1.49, allocations: 8 kB / 221.7 MB, free: 2.344 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/1.494, allocations: 1.896 MB / 223.6 MB, free: 348 kB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.494, allocations: 8 kB / 223.6 MB, free: 340 kB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002/1.496, allocations: 0.7612 MB / 224.3 MB, free: 15.54 MB / 202.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002843/1.499, allocations: 1.366 MB / 225.7 MB, free: 14.14 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/1.5, allocations: 152.6 kB / 225.8 MB, free: 13.98 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/1.5, allocations: 4 kB / 225.9 MB, free: 13.97 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/1.5, allocations: 32.03 kB / 225.9 MB, free: 13.94 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.5, allocations: 43.92 kB / 225.9 MB, free: 13.9 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/1.5, allocations: 15.98 kB / 225.9 MB, free: 13.88 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0001799/1.501, allocations: 127.3 kB / 226.1 MB, free: 13.76 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001605/1.502, allocations: 95.98 kB / 226.2 MB, free: 13.66 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000356/1.503, allocations: 135.9 kB / 226.3 MB, free: 13.52 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/1.504, allocations: 476.9 kB / 226.8 MB, free: 13.05 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.504, allocations: 0 / 226.8 MB, free: 13.05 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008484/1.505, allocations: 325.3 kB / 227.1 MB, free: 12.72 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/1.505, allocations: 16.17 kB / 227.1 MB, free: 12.7 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/1.507, allocations: 0.5342 MB / 227.6 MB, free: 12.14 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006983/1.508, allocations: 0.8203 MB / 228.4 MB, free: 11.3 MB / 202.7 MB Notification: Performance of SimCode: time 1.112e-06/1.508, allocations: 0 / 228.4 MB, free: 11.3 MB / 202.7 MB