[: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 0.9941/0.9941, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1349/1.129, allocations: 27.51 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/1.275, allocations: 25.16 MB / 170.9 MB, free: 1.848 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09086/1.365, allocations: 50.37 MB / 221.2 MB, free: 3.297 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.366, allocations: 71.97 kB / 221.3 MB, free: 3.227 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2089 * Number of variables: 2089 Notification: Performance of Generate backend data structure: time 1.238/2.604, allocations: 180.1 MB / 401.3 MB, free: 30.04 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/2.604, allocations: 14.75 kB / 401.4 MB, free: 30.04 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2653/2.869, allocations: 20.9 MB / 422.3 MB, free: 20.6 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/2.894, allocations: 6.468 MB / 428.7 MB, free: 14.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004641/2.895, allocations: 196 kB / 428.9 MB, free: 14.38 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005946/2.901, allocations: 331.9 kB / 429.2 MB, free: 14.05 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1448/3.046, allocations: 16.84 MB / 446.1 MB, free: 46.39 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05922/3.105, allocations: 18.64 MB / 464.7 MB, free: 44.65 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003698/3.105, allocations: 43.31 kB / 464.8 MB, free: 44.65 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005362/3.111, allocations: 17.59 kB / 464.8 MB, free: 44.65 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09886/3.21, allocations: 8.423 MB / 473.2 MB, free: 44.64 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.142/4.352, allocations: 117.9 MB / 0.5772 GB, free: 27.16 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/4.364, allocations: 5.808 MB / 0.5829 GB, free: 26.28 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009746/4.374, allocations: 3.98 MB / 0.5868 GB, free: 26.17 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2885/4.662, allocations: 29.33 MB / 0.6154 GB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.003e-05/4.662, allocations: 57.83 kB / 0.6155 GB, free: 3.82 MB / 234.7 MB Notification: Performance of pre-optimization done (n=252): time 1.103e-05/4.662, allocations: 3.891 kB / 0.6155 GB, free: 3.82 MB / 234.7 MB Notification: Performance of matching and sorting (n=259): time 0.1563/4.819, allocations: 17.25 MB / 0.6323 GB, free: 41.34 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/4.819, allocations: 180.4 kB / 0.6325 GB, free: 41.16 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/4.83, allocations: 4.101 MB / 0.6365 GB, free: 40.75 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001256/4.831, allocations: 25.7 kB / 0.6365 GB, free: 40.72 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00345/4.835, allocations: 3.91 MB / 0.6404 GB, free: 38.37 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002284/4.837, allocations: 0.9579 MB / 0.6413 GB, free: 37.81 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002059/4.839, allocations: 0 / 0.6413 GB, free: 37.81 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0008866/4.84, allocations: 0.6564 MB / 0.6419 GB, free: 37.49 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01175/4.852, allocations: 4.118 MB / 0.6459 GB, free: 37.47 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0152/4.867, allocations: 9.002 MB / 0.6547 GB, free: 31.11 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/4.88, allocations: 5.067 MB / 0.6597 GB, free: 29.98 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/4.88, allocations: 49.72 kB / 0.6597 GB, free: 29.98 MB / 234.7 MB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.04793/4.928, allocations: 12.06 MB / 0.6715 GB, free: 26.44 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/4.928, allocations: 6.5 kB / 0.6715 GB, free: 26.44 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003556/4.929, allocations: 178.2 kB / 0.6717 GB, free: 26.44 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/4.933, allocations: 0.9132 MB / 0.6726 GB, free: 26.32 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01458/4.948, allocations: 1.966 MB / 0.6745 GB, free: 26.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00999/4.958, allocations: 4.555 MB / 0.6789 GB, free: 23.71 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03702/4.995, allocations: 1.745 MB / 0.6806 GB, free: 23.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003507/4.999, allocations: 0.7648 MB / 0.6814 GB, free: 23.6 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 799 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (1011): * Single equations (assignments): 993 * Array equations: 17 * 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.004576/5.003, allocations: 0.5213 MB / 0.6819 GB, free: 23.16 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/5.005, allocations: 392.9 kB / 0.6823 GB, free: 22.95 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/5.021, allocations: 4.365 MB / 0.6865 GB, free: 19.86 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04094/5.062, allocations: 2.818 MB / 0.6893 GB, free: 18.13 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-05/5.062, allocations: 7.875 kB / 0.6893 GB, free: 18.13 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-05/5.062, allocations: 14.41 kB / 0.6893 GB, free: 18.12 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2917/5.354, allocations: 20.51 MB / 0.7093 GB, free: 37.29 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/5.354, allocations: 1.781 kB / 0.7093 GB, free: 37.29 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00471/5.359, allocations: 383.3 kB / 0.7097 GB, free: 37.29 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004069/5.363, allocations: 0.6388 MB / 0.7103 GB, free: 37.28 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001261/5.364, allocations: 125 kB / 0.7105 GB, free: 37.28 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008859/5.373, allocations: 4.107 MB / 0.7145 GB, free: 36.02 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/5.373, allocations: 6.312 kB / 0.7145 GB, free: 36.02 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02995/5.403, allocations: 11.49 MB / 0.7257 GB, free: 35.32 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03988/5.443, allocations: 16.57 MB / 0.7419 GB, free: 29.81 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004649/5.448, allocations: 1.209 MB / 0.7431 GB, free: 29.43 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002976/5.451, allocations: 8.703 kB / 0.7431 GB, free: 29.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02513/5.476, allocations: 1.501 MB / 0.7445 GB, free: 29.43 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009938/5.477, allocations: 113.7 kB / 0.7446 GB, free: 29.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001086/5.478, allocations: 308.2 kB / 0.7449 GB, free: 29.39 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.008233/5.487, allocations: 2.729 MB / 0.7476 GB, free: 28.38 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.01393/5.501, allocations: 1.252 MB / 0.7488 GB, free: 28.38 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 182 * Array equations: 17 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001399/5.502, allocations: 153.2 kB / 0.749 GB, free: 28.29 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.07597/5.578, allocations: 12.36 MB / 0.761 GB, free: 22.2 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/5.578, allocations: 0 / 0.761 GB, free: 22.2 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05542/5.633, allocations: 6.46 MB / 0.7673 GB, free: 17.44 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/5.638, allocations: 339.9 kB / 0.7677 GB, free: 17.14 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/5.676, allocations: 11.33 MB / 0.7787 GB, free: 7.188 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02097/5.697, allocations: 5.551 MB / 0.7842 GB, free: 3.648 MB / 234.7 MB Notification: Performance of SimCode: time 1.623e-06/5.697, allocations: 4.547 kB / 0.7842 GB, free: 3.648 MB / 234.7 MB