[: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.169/1.169, allocations: 111.2 MB / 118.2 MB, free: 11.25 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1725/1.341, allocations: 27.5 MB / 145.7 MB, free: 7.828 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05833/1.399, allocations: 25.17 MB / 170.9 MB, free: 14.63 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/1.578, allocations: 50.22 MB / 221.1 MB, free: 2.941 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.578, allocations: 66.84 kB / 221.1 MB, free: 2.934 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: 2379 * Number of variables: 2379 Notification: Performance of Generate backend data structure: time 1.214/2.793, allocations: 197.8 MB / 419 MB, free: 13.42 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/2.793, allocations: 14.22 kB / 419 MB, free: 13.42 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.354/3.147, allocations: 24.8 MB / 443.8 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03763/3.184, allocations: 8.762 MB / 452.5 MB, free: 9.16 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/3.185, allocations: 236.6 kB / 452.8 MB, free: 8.938 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006205/3.191, allocations: 401.3 kB / 453.2 MB, free: 8.551 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05416/3.246, allocations: 17.58 MB / 470.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1831/3.429, allocations: 19.83 MB / 490.6 MB, free: 45.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007687/3.429, allocations: 48.69 kB / 490.6 MB, free: 45.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006556/3.436, allocations: 21.81 kB / 490.6 MB, free: 45.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0931/3.529, allocations: 8.294 MB / 498.9 MB, free: 45.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.314/4.843, allocations: 123 MB / 0.6073 GB, free: 30.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/4.855, allocations: 5.721 MB / 0.6129 GB, free: 29.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009517/4.865, allocations: 4.308 MB / 0.6171 GB, free: 29.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2489/5.114, allocations: 28.28 MB / 0.6447 GB, free: 35.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/5.114, allocations: 67.88 kB / 0.6448 GB, free: 35.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=286): time 8.997e-06/5.114, allocations: 0 / 0.6448 GB, free: 35.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=312): time 0.113/5.227, allocations: 23.53 MB / 0.6678 GB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/5.227, allocations: 238.1 kB / 0.668 GB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0175/5.244, allocations: 4.597 MB / 0.6725 GB, free: 8.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001366/5.246, allocations: 25.7 kB / 0.6725 GB, free: 8.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005642/5.252, allocations: 4.314 MB / 0.6767 GB, free: 4.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003082/5.255, allocations: 1.122 MB / 0.6778 GB, free: 3.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/5.257, allocations: 0 / 0.6778 GB, free: 3.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.001353/5.258, allocations: 0.676 MB / 0.6785 GB, free: 2.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1334/5.392, allocations: 4.082 MB / 0.6825 GB, free: 61.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01502/5.407, allocations: 9.158 MB / 0.6914 GB, free: 55.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/5.42, allocations: 5.206 MB / 0.6965 GB, free: 55.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002064/5.42, allocations: 50.12 kB / 0.6965 GB, free: 55.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=1147) (initialization): time 0.03921/5.459, allocations: 12.23 MB / 0.7085 GB, free: 54.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/5.459, allocations: 3.562 kB / 0.7085 GB, free: 54.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000389/5.46, allocations: 180.8 kB / 0.7087 GB, free: 54.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005187/5.465, allocations: 0.9606 MB / 0.7096 GB, free: 54.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01473/5.48, allocations: 2.051 MB / 0.7116 GB, free: 54.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/5.493, allocations: 6.914 MB / 0.7184 GB, free: 51.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02932/5.523, allocations: 1.567 MB / 0.7199 GB, free: 51.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003605/5.526, allocations: 0.7425 MB / 0.7206 GB, free: 51.83 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 variables: gearConstraint.actuatedRevolute_b.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real gearConstraint.actuatedRevolute_b.phi:VARIABLE(start = 0.0 unit = "rad" stateSelect=StateSelect.prefer ) "Relative rotation angle from frame_a to frame_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 1044 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007302/5.534, allocations: 0.5549 MB / 0.7212 GB, free: 51.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004636/5.538, allocations: 469.9 kB / 0.7216 GB, free: 51.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/5.555, allocations: 4.493 MB / 0.726 GB, free: 51.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03372/5.589, allocations: 2.507 MB / 0.7284 GB, free: 51.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-05/5.589, allocations: 10.56 kB / 0.7284 GB, free: 51.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001353/5.589, allocations: 16.8 kB / 0.7285 GB, free: 51.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.141/5.73, allocations: 19.33 MB / 0.7473 GB, free: 46.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/5.731, allocations: 3.031 kB / 0.7473 GB, free: 46.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005289/5.736, allocations: 455.2 kB / 0.7478 GB, free: 46.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004268/5.74, allocations: 0.6571 MB / 0.7484 GB, free: 46.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001397/5.742, allocations: 108.9 kB / 0.7485 GB, free: 46.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/5.754, allocations: 5.999 MB / 0.7544 GB, free: 40.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/5.754, allocations: 8.062 kB / 0.7544 GB, free: 40.48 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02951/5.784, allocations: 11.63 MB / 0.7658 GB, free: 30.47 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03926/5.823, allocations: 16.71 MB / 0.7821 GB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005315/5.828, allocations: 1.255 MB / 0.7833 GB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002969/5.831, allocations: 4 kB / 0.7833 GB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02989/5.861, allocations: 1.611 MB / 0.7849 GB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001669/5.863, allocations: 173.1 kB / 0.785 GB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001905/5.865, allocations: 400 kB / 0.7854 GB, free: 14.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.144/6.009, allocations: 3.116 MB / 0.7885 GB, free: 55.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.01441/6.023, allocations: 1.393 MB / 0.7898 GB, free: 55.4 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 222 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001478/6.025, allocations: 156.1 kB / 0.79 GB, free: 55.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0606/6.086, allocations: 11.74 MB / 0.8014 GB, free: 55.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/6.086, allocations: 0 / 0.8014 GB, free: 55.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04482/6.131, allocations: 5.853 MB / 0.8072 GB, free: 54.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/6.136, allocations: 471.8 kB / 0.8076 GB, free: 54.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04952/6.185, allocations: 12.99 MB / 0.8203 GB, free: 52.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02289/6.208, allocations: 6.049 MB / 0.8262 GB, free: 51.8 MB / 266.7 MB Notification: Performance of SimCode: time 3.516e-06/6.208, allocations: 0 / 0.8262 GB, free: 51.8 MB / 266.7 MB