[: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.289/1.289, allocations: 111.2 MB / 118.2 MB, free: 15.63 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09888/1.388, allocations: 27.5 MB / 145.7 MB, free: 4.156 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/1.555, allocations: 25.15 MB / 170.9 MB, free: 1.75 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/1.69, allocations: 45.6 MB / 216.5 MB, free: 7.996 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004212/1.691, allocations: 71.95 kB / 216.5 MB, free: 7.926 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: 1772 * Number of variables: 1772 Notification: Performance of Generate backend data structure: time 1.165/2.856, allocations: 159.6 MB / 376.1 MB, free: 30.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.688e-05/2.857, allocations: 14.47 kB / 376.1 MB, free: 30.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.297/3.154, allocations: 22.27 MB / 398.4 MB, free: 28.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03133/3.185, allocations: 7.572 MB / 406 MB, free: 28.08 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005161/3.186, allocations: 164.9 kB / 406.1 MB, free: 28.08 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005034/3.191, allocations: 286.6 kB / 406.4 MB, free: 28.08 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03838/3.229, allocations: 14.2 MB / 420.6 MB, free: 19.65 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05469/3.284, allocations: 15.85 MB / 436.4 MB, free: 4.281 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003482/3.284, allocations: 43.17 kB / 436.5 MB, free: 4.254 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003772/3.288, allocations: 12 kB / 436.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09446/3.382, allocations: 7.179 MB / 443.7 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.041/4.424, allocations: 99.17 MB / 0.5301 GB, free: 27.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/4.435, allocations: 4.975 MB / 0.535 GB, free: 24.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/4.446, allocations: 3.58 MB / 0.5385 GB, free: 21.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3168/4.763, allocations: 21.51 MB / 0.5595 GB, free: 61.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/4.763, allocations: 60.38 kB / 0.5595 GB, free: 60.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=217): time 7.855e-06/4.763, allocations: 3.844 kB / 0.5596 GB, free: 60.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=255): time 0.1047/4.868, allocations: 21.36 MB / 0.5804 GB, free: 58.2 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/4.868, allocations: 260 kB / 0.5807 GB, free: 57.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/4.879, allocations: 3.865 MB / 0.5844 GB, free: 57.53 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009818/4.88, allocations: 25.7 kB / 0.5845 GB, free: 57.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003015/4.883, allocations: 3.4 MB / 0.5878 GB, free: 55.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002099/4.885, allocations: 0.9325 MB / 0.5887 GB, free: 54.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/4.886, allocations: 0 / 0.5887 GB, free: 54.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005688/4.887, allocations: 0.6178 MB / 0.5893 GB, free: 54.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0101/4.897, allocations: 3.563 MB / 0.5928 GB, free: 54.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01379/4.911, allocations: 7.837 MB / 0.6004 GB, free: 48.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/4.922, allocations: 4.556 MB / 0.6049 GB, free: 46.92 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/4.922, allocations: 48.44 kB / 0.6049 GB, free: 46.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.03925/4.962, allocations: 11.07 MB / 0.6157 GB, free: 43.81 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/4.962, allocations: 6.766 kB / 0.6157 GB, free: 43.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005068/4.962, allocations: 152.9 kB / 0.6159 GB, free: 43.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009266/4.972, allocations: 1.374 MB / 0.6172 GB, free: 43.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01395/4.986, allocations: 1.706 MB / 0.6189 GB, free: 43.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/5.006, allocations: 7.402 MB / 0.6261 GB, free: 37.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02291/5.029, allocations: 1.221 MB / 0.6273 GB, free: 36.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002835/5.031, allocations: 0.6121 MB / 0.6279 GB, free: 36.2 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 27 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 872 * Array equations: 12 * 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 {(6,69.4%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004228/5.036, allocations: 479.9 kB / 0.6284 GB, free: 35.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002781/5.039, allocations: 390.8 kB / 0.6287 GB, free: 35.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/5.055, allocations: 4.378 MB / 0.633 GB, free: 31.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0268/5.082, allocations: 1.901 MB / 0.6349 GB, free: 30.7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-05/5.082, allocations: 10.75 kB / 0.6349 GB, free: 30.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.153e-05/5.082, allocations: 17.62 kB / 0.6349 GB, free: 30.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.115/5.197, allocations: 16.15 MB / 0.6507 GB, free: 18.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/5.197, allocations: 0 / 0.6507 GB, free: 18.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/5.201, allocations: 335.5 kB / 0.651 GB, free: 18.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006715/5.208, allocations: 1.144 MB / 0.6521 GB, free: 17.81 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009651/5.209, allocations: 80.34 kB / 0.6522 GB, free: 17.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/5.225, allocations: 6.702 MB / 0.6587 GB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/5.225, allocations: 7.938 kB / 0.6587 GB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1529/5.378, allocations: 11.09 MB / 0.6696 GB, free: 53.6 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03812/5.416, allocations: 15.23 MB / 0.6844 GB, free: 52.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004302/5.42, allocations: 1.071 MB / 0.6855 GB, free: 52.44 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/5.423, allocations: 8.859 kB / 0.6855 GB, free: 52.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01703/5.44, allocations: 1.025 MB / 0.6865 GB, free: 52.44 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008089/5.441, allocations: 108.6 kB / 0.6866 GB, free: 52.44 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007248/5.441, allocations: 223.8 kB / 0.6868 GB, free: 52.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.006935/5.448, allocations: 2.615 MB / 0.6894 GB, free: 52.26 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.01152/5.46, allocations: 1.172 MB / 0.6905 GB, free: 52.26 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 170 * Array equations: 12 * 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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/5.461, allocations: 154.4 kB / 0.6906 GB, free: 52.17 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0399/5.501, allocations: 9.083 MB / 0.6995 GB, free: 50.12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/5.501, allocations: 6.75 kB / 0.6995 GB, free: 50.12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02589/5.527, allocations: 3.966 MB / 0.7034 GB, free: 49.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/5.534, allocations: 411.8 kB / 0.7038 GB, free: 48.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05375/5.588, allocations: 10.61 MB / 0.7142 GB, free: 45.19 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02317/5.611, allocations: 4.816 MB / 0.7189 GB, free: 41.68 MB / 250.7 MB Notification: Performance of SimCode: time 3.297e-06/5.611, allocations: 0 / 0.7189 GB, free: 41.68 MB / 250.7 MB