[: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.9995/0.9995, allocations: 111.2 MB / 118.2 MB, free: 15.63 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1002/1.1, allocations: 27.51 MB / 145.7 MB, free: 4.148 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/1.239, allocations: 25.15 MB / 170.9 MB, free: 1.82 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07332/1.313, allocations: 40.78 MB / 211.6 MB, free: 12.87 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.313, allocations: 71.95 kB / 211.7 MB, free: 12.8 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: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.714/2.027, allocations: 128.1 MB / 339.8 MB, free: 9.836 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/2.027, allocations: 11.94 kB / 339.8 MB, free: 9.824 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3209/2.348, allocations: 17.5 MB / 357.3 MB, free: 62.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/2.359, allocations: 3.029 MB / 360.3 MB, free: 62.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/2.36, allocations: 144.5 kB / 360.5 MB, free: 62.26 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004158/2.364, allocations: 249.4 kB / 360.7 MB, free: 62.26 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03465/2.399, allocations: 12.85 MB / 373.6 MB, free: 62.23 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04227/2.441, allocations: 14.26 MB / 387.8 MB, free: 58.67 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002711/2.441, allocations: 42.94 kB / 387.9 MB, free: 58.66 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003616/2.445, allocations: 16.12 kB / 387.9 MB, free: 58.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.08164/2.527, allocations: 7.01 MB / 394.9 MB, free: 57.16 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9111/3.438, allocations: 91.55 MB / 486.4 MB, free: 41.89 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006316/3.444, allocations: 3.051 MB / 489.5 MB, free: 41 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004163/3.449, allocations: 1.774 MB / 491.3 MB, free: 40.89 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/3.449, allocations: 32.27 kB / 491.3 MB, free: 40.89 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/3.449, allocations: 73.25 kB / 491.4 MB, free: 40.84 MB / 234.7 MB Notification: Performance of pre-optimization done (n=205): time 7.864e-06/3.449, allocations: 0 / 491.4 MB, free: 40.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=205): time 0.02414/3.473, allocations: 5.033 MB / 496.4 MB, free: 40.68 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/3.473, allocations: 408.6 kB / 496.8 MB, free: 40.21 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00872/3.482, allocations: 3.067 MB / 499.9 MB, free: 39.89 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007097/3.483, allocations: 29.7 kB / 499.9 MB, free: 39.85 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/3.485, allocations: 3.079 MB / 0.4912 GB, free: 38.18 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/3.487, allocations: 0.7998 MB / 0.492 GB, free: 37.73 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/3.488, allocations: 6.359 kB / 0.492 GB, free: 37.73 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0006969/3.489, allocations: 0.6432 MB / 0.4926 GB, free: 37.4 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007407/3.497, allocations: 2.758 MB / 0.4953 GB, free: 37.39 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/3.508, allocations: 7.245 MB / 0.5024 GB, free: 31.4 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01359/3.522, allocations: 4.476 MB / 0.5067 GB, free: 29.69 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003259/3.522, allocations: 48 kB / 0.5068 GB, free: 29.64 MB / 234.7 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.02929/3.551, allocations: 9.14 MB / 0.5157 GB, free: 22.05 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/3.551, allocations: 6.812 kB / 0.5157 GB, free: 22.05 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006657/3.552, allocations: 328.3 kB / 0.516 GB, free: 21.76 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/3.552, allocations: 236 kB / 0.5162 GB, free: 21.53 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/3.564, allocations: 1.838 MB / 0.518 GB, free: 19.95 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002516/3.565, allocations: 317.1 kB / 0.5183 GB, free: 19.68 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02029/3.585, allocations: 1.689 MB / 0.52 GB, free: 18.33 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002258/3.587, allocations: 0.6142 MB / 0.5206 GB, free: 17.77 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 893 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002557/3.59, allocations: 499 kB / 0.5211 GB, free: 17.28 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/3.591, allocations: 296.2 kB / 0.5214 GB, free: 16.99 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/3.595, allocations: 1.238 MB / 0.5226 GB, free: 15.99 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02795/3.623, allocations: 3.222 MB / 0.5257 GB, free: 13.77 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.611e-05/3.624, allocations: 4 kB / 0.5257 GB, free: 13.76 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.102e-05/3.624, allocations: 12.34 kB / 0.5257 GB, free: 13.76 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09127/3.715, allocations: 13.07 MB / 0.5385 GB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/3.715, allocations: 12 kB / 0.5385 GB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/3.72, allocations: 471.4 kB / 0.5389 GB, free: 0.6172 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.772e-05/3.72, allocations: 16 kB / 0.539 GB, free: 0.6016 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007868/3.721, allocations: 109.2 kB / 0.5391 GB, free: 0.4961 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/3.721, allocations: 27.84 kB / 0.5391 GB, free: 480 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/3.721, allocations: 15.94 kB / 0.5391 GB, free: 464 kB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1087/3.829, allocations: 7.911 MB / 0.5468 GB, free: 45.11 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02346/3.853, allocations: 10.8 MB / 0.5574 GB, free: 42.76 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/3.854, allocations: 436 kB / 0.5578 GB, free: 42.5 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/3.856, allocations: 29.09 kB / 0.5578 GB, free: 42.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01454/3.87, allocations: 0.9107 MB / 0.5587 GB, free: 42.5 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/3.871, allocations: 119.2 kB / 0.5588 GB, free: 42.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005933/3.871, allocations: 227.4 kB / 0.559 GB, free: 42.5 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.004855/3.876, allocations: 1.995 MB / 0.561 GB, free: 42.35 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.01065/3.887, allocations: 1.136 MB / 0.5621 GB, free: 42.25 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 154 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009427/3.888, allocations: 191.2 kB / 0.5623 GB, free: 42.16 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.02112/3.909, allocations: 6.478 MB / 0.5686 GB, free: 42.15 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/3.909, allocations: 3.188 kB / 0.5686 GB, free: 42.15 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01049/3.92, allocations: 2.204 MB / 0.5708 GB, free: 42.14 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/3.922, allocations: 225.3 kB / 0.571 GB, free: 42.13 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/3.948, allocations: 9.157 MB / 0.5799 GB, free: 39.07 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01193/3.96, allocations: 4.083 MB / 0.5839 GB, free: 37.7 MB / 234.7 MB Notification: Performance of SimCode: time 1.863e-06/3.96, allocations: 0 / 0.5839 GB, free: 37.7 MB / 234.7 MB