Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_1_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.615/1.615, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2958/1.911, allocations: 41.13 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/2.022, allocations: 38.74 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2971/2.319, allocations: 80.89 MB / 338.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/2.319, allocations: 84.08 kB / 339 MB, free: 7.332 MB / 282.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.3977/2.717, allocations: 72.65 MB / 411.6 MB, free: 3.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/2.717, allocations: 8 kB / 411.6 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0227/2.74, allocations: 1.734 MB / 413.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1553/2.895, allocations: 4.464 MB / 417.8 MB, free: 114.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/2.896, allocations: 116.2 kB / 417.9 MB, free: 114.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/2.898, allocations: 215.1 kB / 418.2 MB, free: 114.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0212/2.919, allocations: 5.339 MB / 423.5 MB, free: 114.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/2.94, allocations: 8.254 MB / 431.7 MB, free: 112.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/2.94, allocations: 56.78 kB / 431.8 MB, free: 112.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001374/2.941, allocations: 30.5 kB / 431.8 MB, free: 112.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001836/2.943, allocations: 0.9318 MB / 432.8 MB, free: 112.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06714/3.011, allocations: 42.84 MB / 475.6 MB, free: 83.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005166/3.016, allocations: 2.317 MB / 477.9 MB, free: 81.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/3.019, allocations: 1.459 MB / 479.4 MB, free: 81.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/3.031, allocations: 4.374 MB / 483.8 MB, free: 78.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/3.031, allocations: 46.84 kB / 483.8 MB, free: 78.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.23e-06/3.031, allocations: 0 / 483.8 MB, free: 78.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.04901/3.08, allocations: 8.382 MB / 492.2 MB, free: 75.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/3.08, allocations: 143.8 kB / 492.3 MB, free: 74.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/3.091, allocations: 2.796 MB / 495.1 MB, free: 73.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/3.091, allocations: 27.02 kB / 495.1 MB, free: 73.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/3.093, allocations: 2.646 MB / 497.8 MB, free: 71.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/3.094, allocations: 0.52 MB / 498.3 MB, free: 71.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000653/3.095, allocations: 0 / 498.3 MB, free: 71.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003826/3.096, allocations: 0.5378 MB / 498.8 MB, free: 70.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00443/3.1, allocations: 1.807 MB / 0.4889 GB, free: 68.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007476/3.108, allocations: 5.324 MB / 0.4941 GB, free: 62.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/3.115, allocations: 3.088 MB / 0.4971 GB, free: 59.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/3.115, allocations: 36 kB / 0.4972 GB, free: 59.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02254/3.138, allocations: 6.998 MB / 0.504 GB, free: 53.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/3.138, allocations: 4 kB / 0.504 GB, free: 53.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008035/3.146, allocations: 2.336 MB / 0.5063 GB, free: 51.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005992/3.152, allocations: 1.073 MB / 0.5073 GB, free: 50.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007967/3.16, allocations: 1.26 MB / 0.5086 GB, free: 49.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/3.168, allocations: 4.456 MB / 0.5129 GB, free: 45.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007247/3.175, allocations: 215.9 kB / 0.5131 GB, free: 45.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/3.177, allocations: 351.5 kB / 0.5135 GB, free: 44.77 MB / 346.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): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.00103/3.178, allocations: 416.7 kB / 0.5139 GB, free: 44.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008317/3.179, allocations: 284.1 kB / 0.5141 GB, free: 44.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009446/3.188, allocations: 2.543 MB / 0.5166 GB, free: 42.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008282/3.196, allocations: 2.184 MB / 0.5187 GB, free: 40.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/3.197, allocations: 0 / 0.5187 GB, free: 40.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.52e-05/3.197, allocations: 11.03 kB / 0.5188 GB, free: 40.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008491/3.205, allocations: 2.723 MB / 0.5214 GB, free: 38.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/3.205, allocations: 0 / 0.5214 GB, free: 38.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/3.208, allocations: 188.4 kB / 0.5216 GB, free: 37.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006011/3.214, allocations: 0.9653 MB / 0.5225 GB, free: 37.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003543/3.214, allocations: 26.14 kB / 0.5226 GB, free: 37.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009421/3.223, allocations: 4.81 MB / 0.5273 GB, free: 32.81 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001066/3.225, allocations: 1.375 MB / 0.5286 GB, free: 31.35 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01283/3.237, allocations: 4.817 MB / 0.5333 GB, free: 26.65 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01861/3.256, allocations: 6.704 MB / 0.5399 GB, free: 19.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/3.258, allocations: 329.4 kB / 0.5402 GB, free: 19.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/3.259, allocations: 15.98 kB / 0.5402 GB, free: 19.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004232/3.264, allocations: 67.89 kB / 0.5402 GB, free: 19.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/3.264, allocations: 56.56 kB / 0.5403 GB, free: 19.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/3.264, allocations: 39.98 kB / 0.5403 GB, free: 19.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004951/3.269, allocations: 1.857 MB / 0.5422 GB, free: 17.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007987/3.277, allocations: 0.8383 MB / 0.543 GB, free: 16.68 MB / 346.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.0007935/3.278, allocations: 157 kB / 0.5431 GB, free: 16.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01521/3.293, allocations: 4.851 MB / 0.5479 GB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/3.293, allocations: 0 / 0.5479 GB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006684/3.3, allocations: 1.869 MB / 0.5497 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/3.303, allocations: 297.6 kB / 0.55 GB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/3.324, allocations: 6.877 MB / 0.5567 GB, free: 2.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1616/3.486, allocations: 3.198 MB / 0.5598 GB, free: 101.2 MB / 346.7 MB Notification: Performance of SimCode: time 2.384e-06/3.486, allocations: 0 / 0.5598 GB, free: 101.2 MB / 346.7 MB