[: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.022/1.022, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1286/1.15, allocations: 27.5 MB / 145.7 MB, free: 4.18 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/1.312, allocations: 25.15 MB / 170.8 MB, free: 1.824 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08963/1.401, allocations: 36.24 MB / 207.1 MB, free: 1.449 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/1.402, allocations: 63.97 kB / 207.1 MB, free: 1.387 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.05381/1.456, allocations: 8.714 MB / 215.9 MB, free: 8.609 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/1.456, allocations: 11.94 kB / 215.9 MB, free: 8.598 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/1.456, allocations: 39.53 kB / 215.9 MB, free: 8.559 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/1.457, allocations: 295.5 kB / 216.2 MB, free: 8.227 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/1.457, allocations: 15.91 kB / 216.2 MB, free: 8.211 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.457, allocations: 28 kB / 216.2 MB, free: 8.184 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001348/1.458, allocations: 401.3 kB / 216.6 MB, free: 7.793 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/1.46, allocations: 420.5 kB / 217 MB, free: 7.375 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/1.46, allocations: 11.89 kB / 217.1 MB, free: 7.363 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/1.46, allocations: 0 / 217.1 MB, free: 7.363 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.354e-05/1.46, allocations: 15.98 kB / 217.1 MB, free: 7.348 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/1.464, allocations: 1.087 MB / 218.2 MB, free: 6.211 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.465, allocations: 382 kB / 218.5 MB, free: 5.832 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007878/1.466, allocations: 254.6 kB / 218.8 MB, free: 5.582 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/1.466, allocations: 12.5 kB / 218.8 MB, free: 5.57 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/1.466, allocations: 43.06 kB / 218.8 MB, free: 5.52 MB / 186.7 MB Notification: Performance of pre-optimization done (n=47): time 3.527e-06/1.466, allocations: 3.938 kB / 218.8 MB, free: 5.516 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.006958/1.473, allocations: 1.794 MB / 220.6 MB, free: 3.629 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/1.473, allocations: 85.61 kB / 220.7 MB, free: 3.527 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/1.474, allocations: 208 kB / 220.9 MB, free: 3.316 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/1.474, allocations: 33.7 kB / 221 MB, free: 3.277 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.474, allocations: 140.8 kB / 221.1 MB, free: 3.133 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.474, allocations: 181.5 kB / 221.3 MB, free: 2.953 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/1.474, allocations: 4 kB / 221.3 MB, free: 2.949 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/1.475, allocations: 342.8 kB / 221.6 MB, free: 2.605 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/1.475, allocations: 241.2 kB / 221.8 MB, free: 2.367 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/1.476, allocations: 285.1 kB / 222.1 MB, free: 2.078 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.478, allocations: 221.4 kB / 222.3 MB, free: 1.859 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.478, allocations: 0 / 222.3 MB, free: 1.859 MB / 186.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002872/1.481, allocations: 0.7507 MB / 223.1 MB, free: 1.098 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.481, allocations: 4 kB / 223.1 MB, free: 1.094 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.481, allocations: 3.938 kB / 223.1 MB, free: 1.09 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/1.482, allocations: 436.6 kB / 223.5 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/1.483, allocations: 79.88 kB / 223.6 MB, free: 0.582 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.485, allocations: 1.041 MB / 224.6 MB, free: 15.51 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/1.486, allocations: 76.06 kB / 224.7 MB, free: 15.44 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.486, allocations: 31.98 kB / 224.7 MB, free: 15.41 MB / 202.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" 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: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * 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: 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003575/1.487, allocations: 121.5 kB / 224.9 MB, free: 15.28 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/1.487, allocations: 31.62 kB / 224.9 MB, free: 15.25 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/1.487, allocations: 51.3 kB / 224.9 MB, free: 15.2 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/1.487, allocations: 8 kB / 225 MB, free: 15.2 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.487, allocations: 4 kB / 225 MB, free: 15.19 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/1.487, allocations: 3.984 kB / 225 MB, free: 15.19 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/1.495, allocations: 1.445 MB / 226.4 MB, free: 13.69 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/1.496, allocations: 7.906 kB / 226.4 MB, free: 13.68 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/1.497, allocations: 75.89 kB / 226.5 MB, free: 13.61 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/1.499, allocations: 418.6 kB / 226.9 MB, free: 13.2 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.499, allocations: 11.98 kB / 226.9 MB, free: 13.18 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/1.501, allocations: 0.9813 MB / 227.9 MB, free: 12.18 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.501, allocations: 12 kB / 227.9 MB, free: 12.17 MB / 202.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003237/1.504, allocations: 1.097 MB / 229 MB, free: 11.05 MB / 202.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004138/1.509, allocations: 1.792 MB / 230.8 MB, free: 9.223 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/1.509, allocations: 176.6 kB / 231 MB, free: 9.031 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.509, allocations: 12 kB / 231 MB, free: 9.02 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008052/1.51, allocations: 63.94 kB / 231 MB, free: 8.957 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/1.51, allocations: 96.25 kB / 231.1 MB, free: 8.863 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.51, allocations: 31.97 kB / 231.2 MB, free: 8.832 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0002396/1.511, allocations: 160.5 kB / 231.3 MB, free: 8.676 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001627/1.512, allocations: 123.9 kB / 231.4 MB, free: 8.555 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: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/1.513, allocations: 151.1 kB / 231.6 MB, free: 8.395 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/1.515, allocations: 0.5305 MB / 232.1 MB, free: 7.863 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.515, allocations: 4.062 kB / 232.1 MB, free: 7.859 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009629/1.516, allocations: 292.1 kB / 232.4 MB, free: 7.574 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/1.516, allocations: 32.31 kB / 232.4 MB, free: 7.543 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/1.519, allocations: 0.646 MB / 233.1 MB, free: 6.875 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/1.52, allocations: 0.8522 MB / 233.9 MB, free: 5.996 MB / 202.7 MB Notification: Performance of SimCode: time 1.122e-06/1.52, allocations: 0 / 233.9 MB, free: 5.996 MB / 202.7 MB