[: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.007/1.007, allocations: 111.2 MB / 118.2 MB, free: 5.723 MB / 98.76 MB Notification: Performance of FrontEnd - loaded program: time 0.0772/1.084, allocations: 27.5 MB / 145.7 MB, free: 10.23 MB / 130.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/1.206, allocations: 25.15 MB / 170.9 MB, free: 12.39 MB / 146.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09031/1.296, allocations: 50.82 MB / 221.7 MB, free: 9.48 MB / 194.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.296, allocations: 71.95 kB / 221.7 MB, free: 9.41 MB / 194.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 1.308/2.605, allocations: 203.4 MB / 425.1 MB, free: 40.58 MB / 242.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/2.605, allocations: 13.47 kB / 425.1 MB, free: 40.58 MB / 242.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2883/2.893, allocations: 22.56 MB / 447.7 MB, free: 39.4 MB / 242.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/2.92, allocations: 7.059 MB / 454.8 MB, free: 39.03 MB / 242.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006523/2.921, allocations: 232.6 kB / 455 MB, free: 39.03 MB / 242.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006498/2.927, allocations: 397.9 kB / 455.4 MB, free: 39.03 MB / 242.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05444/2.982, allocations: 19.06 MB / 474.4 MB, free: 38.99 MB / 242.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07018/3.052, allocations: 21.24 MB / 495.7 MB, free: 26.34 MB / 242.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004055/3.052, allocations: 51.16 kB / 495.7 MB, free: 26.31 MB / 242.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005887/3.058, allocations: 24 kB / 495.7 MB, free: 26.29 MB / 242.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1102/3.168, allocations: 9.212 MB / 0.4931 GB, free: 19.97 MB / 242.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.43/4.599, allocations: 132.4 MB / 0.6224 GB, free: 18.85 MB / 242.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/4.615, allocations: 7.239 MB / 0.6295 GB, free: 17.98 MB / 242.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01266/4.628, allocations: 5.749 MB / 0.6351 GB, free: 17.86 MB / 242.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3521/4.98, allocations: 39 MB / 0.6732 GB, free: 29.11 MB / 258.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.723e-05/4.98, allocations: 75.75 kB / 0.6732 GB, free: 29.05 MB / 258.8 MB Notification: Performance of pre-optimization done (n=355): time 1.078e-05/4.98, allocations: 2.062 kB / 0.6732 GB, free: 29.05 MB / 258.8 MB Notification: Performance of matching and sorting (n=404): time 0.1713/5.151, allocations: 31.82 MB / 0.7043 GB, free: 6.637 MB / 258.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/5.152, allocations: 196.4 kB / 0.7045 GB, free: 6.406 MB / 258.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01899/5.171, allocations: 4.439 MB / 0.7088 GB, free: 2.609 MB / 258.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002229/5.173, allocations: 25.7 kB / 0.7089 GB, free: 2.578 MB / 258.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1179/5.291, allocations: 4.328 MB / 0.7131 GB, free: 50.54 MB / 258.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00322/5.294, allocations: 1.428 MB / 0.7145 GB, free: 49.71 MB / 258.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002234/5.296, allocations: 2.438 kB / 0.7145 GB, free: 49.71 MB / 258.8 MB Notification: Performance of setup shared object (initialization): time 0.0007632/5.297, allocations: 0.719 MB / 0.7152 GB, free: 49.39 MB / 258.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01486/5.312, allocations: 5.611 MB / 0.7207 GB, free: 49.37 MB / 258.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01909/5.331, allocations: 10.78 MB / 0.7312 GB, free: 42.75 MB / 258.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02197/5.353, allocations: 6.713 MB / 0.7378 GB, free: 42.69 MB / 258.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002634/5.354, allocations: 53.22 kB / 0.7378 GB, free: 42.69 MB / 258.8 MB Notification: Performance of matching and sorting (n=1272) (initialization): time 0.07432/5.428, allocations: 15.68 MB / 0.7531 GB, free: 41.87 MB / 258.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/5.428, allocations: 3.906 kB / 0.7531 GB, free: 41.87 MB / 258.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005341/5.428, allocations: 185 kB / 0.7533 GB, free: 41.87 MB / 258.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007461/5.436, allocations: 1.128 MB / 0.7544 GB, free: 41.69 MB / 258.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02354/5.46, allocations: 2.409 MB / 0.7567 GB, free: 41.43 MB / 258.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/5.474, allocations: 5.596 MB / 0.7622 GB, free: 38.69 MB / 258.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03725/5.511, allocations: 2 MB / 0.7642 GB, free: 38.65 MB / 258.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004011/5.515, allocations: 0.8707 MB / 0.765 GB, free: 38.56 MB / 258.8 MB Warning: Assuming fixed start value for the following 2 variables: r2.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real r1.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 832 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1201): * Single equations (assignments): 1181 * Array equations: 19 * 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: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00533/5.521, allocations: 0.5712 MB / 0.7656 GB, free: 38.09 MB / 258.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/5.523, allocations: 469.2 kB / 0.766 GB, free: 37.84 MB / 258.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02317/5.546, allocations: 7.945 MB / 0.7738 GB, free: 35.09 MB / 258.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04337/5.589, allocations: 3.168 MB / 0.7769 GB, free: 35.07 MB / 258.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.273e-05/5.589, allocations: 7.125 kB / 0.7769 GB, free: 35.07 MB / 258.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001259/5.589, allocations: 16.97 kB / 0.7769 GB, free: 35.07 MB / 258.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2219/5.811, allocations: 26.39 MB / 0.8027 GB, free: 19.3 MB / 258.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-05/5.811, allocations: 320 / 0.8027 GB, free: 19.3 MB / 258.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008626/5.82, allocations: 0.6773 MB / 0.8033 GB, free: 18.75 MB / 258.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004933/5.825, allocations: 0.8683 MB / 0.8042 GB, free: 18.12 MB / 258.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001817/5.827, allocations: 144.3 kB / 0.8043 GB, free: 18.04 MB / 258.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1309/5.958, allocations: 5.449 MB / 0.8096 GB, free: 41.46 MB / 258.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/5.958, allocations: 4.938 kB / 0.8096 GB, free: 41.46 MB / 258.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05368/6.012, allocations: 17.58 MB / 0.8268 GB, free: 40.27 MB / 258.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07879/6.09, allocations: 25.09 MB / 0.8513 GB, free: 34.79 MB / 258.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01001/6.1, allocations: 1.602 MB / 0.8529 GB, free: 34.29 MB / 258.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005328/6.106, allocations: 7.781 kB / 0.8529 GB, free: 34.29 MB / 258.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04475/6.151, allocations: 1.731 MB / 0.8546 GB, free: 34.29 MB / 258.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002394/6.153, allocations: 188.9 kB / 0.8548 GB, free: 34.27 MB / 258.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003053/6.156, allocations: 374.1 kB / 0.8551 GB, free: 34.23 MB / 258.8 MB Notification: Performance of sort global known variables: time 0.01324/6.17, allocations: 2.96 MB / 0.858 GB, free: 33.15 MB / 258.8 MB Notification: Performance of remove unused functions: time 0.02438/6.194, allocations: 1.601 MB / 0.8596 GB, free: 33.14 MB / 258.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (345): * Single equations (assignments): 325 * Array equations: 19 * 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: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002625/6.197, allocations: 166.3 kB / 0.8597 GB, free: 33.06 MB / 258.8 MB Notification: Performance of simCode: created initialization part: time 0.126/6.323, allocations: 16.65 MB / 0.876 GB, free: 28.29 MB / 258.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/6.323, allocations: 4 kB / 0.876 GB, free: 28.29 MB / 258.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1092/6.432, allocations: 9.06 MB / 0.8848 GB, free: 21.48 MB / 258.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007361/6.44, allocations: 371.2 kB / 0.8852 GB, free: 21.16 MB / 258.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1693/6.609, allocations: 14.87 MB / 0.8997 GB, free: 43.42 MB / 258.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02501/6.634, allocations: 6.259 MB / 0.9058 GB, free: 42.55 MB / 258.8 MB Notification: Performance of SimCode: time 2.074e-06/6.634, allocations: 3.75 kB / 0.9058 GB, free: 42.55 MB / 258.8 MB