Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) [: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.564/1.564, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2408/1.805, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/1.892, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/2.178, allocations: 86.2 MB / 380.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/2.179, allocations: 82.67 kB / 380.1 MB, free: 6.098 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.3018/2.481, allocations: 72.8 MB / 452.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/2.481, allocations: 12 kB / 452.9 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/2.497, allocations: 1.75 MB / 454.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/2.515, allocations: 4.47 MB / 459.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/2.516, allocations: 119.9 kB / 459.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/2.517, allocations: 212 kB / 459.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01472/2.532, allocations: 5.339 MB / 464.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/2.553, allocations: 8.252 MB / 473.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/2.553, allocations: 55.55 kB / 473.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006856/2.553, allocations: 31.94 kB / 473.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/2.555, allocations: 0.9268 MB / 474.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1937/2.749, allocations: 42.85 MB / 0.5048 GB, free: 103.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/2.754, allocations: 2.316 MB / 0.5071 GB, free: 102.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002779/2.756, allocations: 1.452 MB / 0.5085 GB, free: 102.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/2.767, allocations: 4.391 MB / 0.5128 GB, free: 101.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/2.767, allocations: 45.78 kB / 0.5128 GB, free: 101.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 4.689e-06/2.767, allocations: 3.562 kB / 0.5128 GB, free: 101.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.02853/2.796, allocations: 8.39 MB / 0.521 GB, free: 99.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/2.796, allocations: 140.6 kB / 0.5212 GB, free: 99.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005422/2.801, allocations: 2.801 MB / 0.5239 GB, free: 98.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003538/2.802, allocations: 27.78 kB / 0.5239 GB, free: 98.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/2.803, allocations: 2.646 MB / 0.5265 GB, free: 97.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/2.804, allocations: 0.5134 MB / 0.527 GB, free: 96.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/2.804, allocations: 0 / 0.527 GB, free: 96.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003324/2.805, allocations: 0.5346 MB / 0.5275 GB, free: 96.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003932/2.809, allocations: 1.821 MB / 0.5293 GB, free: 96.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/2.815, allocations: 5.335 MB / 0.5345 GB, free: 91.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00666/2.821, allocations: 3.108 MB / 0.5376 GB, free: 91.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.408e-05/2.821, allocations: 35.41 kB / 0.5376 GB, free: 91.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.03159/2.853, allocations: 7.439 MB / 0.5449 GB, free: 90.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/2.853, allocations: 6.719 kB / 0.5449 GB, free: 90.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01798/2.871, allocations: 2.782 MB / 0.5476 GB, free: 89.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01854/2.89, allocations: 1.588 MB / 0.5491 GB, free: 89.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007606/2.897, allocations: 1.242 MB / 0.5504 GB, free: 89.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/2.91, allocations: 5.328 MB / 0.5556 GB, free: 86.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/2.917, allocations: 222 kB / 0.5558 GB, free: 86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/2.918, allocations: 352.3 kB / 0.5561 GB, free: 85.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (681): * Single equations (assignments): 672 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001011/2.919, allocations: 429.2 kB / 0.5565 GB, free: 85.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006851/2.92, allocations: 281.7 kB / 0.5568 GB, free: 85.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008987/2.929, allocations: 2.551 MB / 0.5593 GB, free: 84.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008/2.937, allocations: 2.166 MB / 0.5614 GB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/2.937, allocations: 2.938 kB / 0.5614 GB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/2.937, allocations: 7.828 kB / 0.5614 GB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006916/2.944, allocations: 2.733 MB / 0.5641 GB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/2.944, allocations: 1.062 kB / 0.5641 GB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/2.946, allocations: 183.9 kB / 0.5642 GB, free: 82.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005994/2.952, allocations: 0.9768 MB / 0.5652 GB, free: 82.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/2.953, allocations: 21.61 kB / 0.5652 GB, free: 82.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009266/2.962, allocations: 4.806 MB / 0.5699 GB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001012/2.963, allocations: 1.377 MB / 0.5713 GB, free: 77.73 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01241/2.975, allocations: 4.801 MB / 0.5759 GB, free: 73.52 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01496/2.99, allocations: 6.707 MB / 0.5825 GB, free: 67.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/2.991, allocations: 340.1 kB / 0.5828 GB, free: 67.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000605/2.992, allocations: 15.56 kB / 0.5828 GB, free: 67.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/2.995, allocations: 67.67 kB / 0.5829 GB, free: 67.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/2.995, allocations: 55.89 kB / 0.583 GB, free: 67.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/2.995, allocations: 42.66 kB / 0.583 GB, free: 67.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00374/2.999, allocations: 1.859 MB / 0.5848 GB, free: 65.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007034/3.006, allocations: 0.849 MB / 0.5856 GB, free: 64.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005685/3.006, allocations: 149.9 kB / 0.5858 GB, free: 64.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01334/3.02, allocations: 4.882 MB / 0.5906 GB, free: 60.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/3.02, allocations: 8.062 kB / 0.5906 GB, free: 60.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006518/3.026, allocations: 1.868 MB / 0.5924 GB, free: 58.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/3.029, allocations: 301.4 kB / 0.5927 GB, free: 58.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/3.048, allocations: 6.87 MB / 0.5994 GB, free: 51.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005836/3.054, allocations: 3.197 MB / 0.6025 GB, free: 49.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.184e-06/3.054, allocations: 0 / 0.6025 GB, free: 49.48 MB / 394.7 MB