Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",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.653/1.653, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1968/1.85, allocations: 41.12 MB / 219.3 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.084/1.934, allocations: 38.76 MB / 258 MB, free: 4.34 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/2.212, allocations: 75.26 MB / 333.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/2.213, allocations: 85.44 kB / 333.4 MB, free: 12.85 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.3648/2.578, allocations: 60.37 MB / 393.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/2.578, allocations: 16 kB / 393.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02092/2.599, allocations: 1.787 MB / 395.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/2.622, allocations: 4.789 MB / 400.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/2.623, allocations: 72 kB / 400.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/2.624, allocations: 135.9 kB / 400.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01235/2.637, allocations: 4.185 MB / 404.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/2.656, allocations: 6.441 MB / 411.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/2.656, allocations: 51.53 kB / 411.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/2.658, allocations: 24 kB / 411.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/2.66, allocations: 0.7842 MB / 412 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1716/2.831, allocations: 33.37 MB / 445.4 MB, free: 102.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/2.839, allocations: 2.272 MB / 447.7 MB, free: 101.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/2.844, allocations: 1.351 MB / 449 MB, free: 101.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/2.846, allocations: 0.6292 MB / 449.6 MB, free: 101.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/2.846, allocations: 55.55 kB / 449.7 MB, free: 101.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 7.654e-06/2.846, allocations: 0 / 449.7 MB, free: 101.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.124/2.97, allocations: 22.84 MB / 472.5 MB, free: 96.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/2.971, allocations: 168.9 kB / 472.7 MB, free: 96.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005585/2.976, allocations: 2.328 MB / 475 MB, free: 95.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004931/2.977, allocations: 25.7 kB / 475 MB, free: 95.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/2.979, allocations: 1.986 MB / 477 MB, free: 94.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/2.98, allocations: 0.5538 MB / 477.6 MB, free: 93.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006709/2.98, allocations: 0 / 477.6 MB, free: 93.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004086/2.981, allocations: 0.5195 MB / 478.1 MB, free: 93.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006306/2.987, allocations: 2.075 MB / 480.2 MB, free: 92.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009176/2.996, allocations: 5.051 MB / 485.2 MB, free: 86.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03518/3.032, allocations: 6.973 MB / 492.2 MB, free: 80.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/3.032, allocations: 31.91 kB / 492.2 MB, free: 80.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.05827/3.09, allocations: 11.71 MB / 0.4921 GB, free: 70.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/3.09, allocations: 7.594 kB / 0.4921 GB, free: 70.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0463/3.136, allocations: 7.596 MB / 0.4996 GB, free: 64.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02422/3.161, allocations: 1.9 MB / 0.5014 GB, free: 62.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/3.173, allocations: 1.174 MB / 0.5026 GB, free: 61.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/3.187, allocations: 7.032 MB / 0.5094 GB, free: 53.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01308/3.2, allocations: 351 kB / 0.5098 GB, free: 53.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/3.202, allocations: 327.5 kB / 0.5101 GB, free: 52.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * Number of states: 0 () * Number of discrete variables: 15 (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 (602): * Single equations (assignments): 587 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003495/3.206, allocations: 362.2 kB / 0.5104 GB, free: 52.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/3.207, allocations: 236.9 kB / 0.5106 GB, free: 52.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/3.209, allocations: 345.2 kB / 0.511 GB, free: 51.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0498/3.258, allocations: 7.596 MB / 0.5184 GB, free: 44.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.38e-05/3.258, allocations: 6.844 kB / 0.5184 GB, free: 44.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/3.258, allocations: 7.984 kB / 0.5184 GB, free: 44.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/3.273, allocations: 4.638 MB / 0.5229 GB, free: 39.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/3.273, allocations: 0 / 0.5229 GB, free: 39.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/3.276, allocations: 223.7 kB / 0.5231 GB, free: 39.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01736/3.293, allocations: 2.058 MB / 0.5252 GB, free: 37.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000624/3.294, allocations: 39.95 kB / 0.5252 GB, free: 37.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/3.309, allocations: 8.399 MB / 0.5334 GB, free: 28.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00196/3.311, allocations: 2.724 MB / 0.5361 GB, free: 25.47 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05545/3.366, allocations: 10.86 MB / 0.5467 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05835/3.424, allocations: 13.36 MB / 0.5597 GB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/3.426, allocations: 313.9 kB / 0.56 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00146/3.427, allocations: 19.89 kB / 0.56 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003924/3.431, allocations: 131.8 kB / 0.5602 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005118/3.432, allocations: 71.88 kB / 0.5602 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/3.432, allocations: 51.22 kB / 0.5603 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.1346/3.567, allocations: 1.553 MB / 0.5618 GB, free: 114.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007236/3.574, allocations: 0.8287 MB / 0.5626 GB, free: 114.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET139865258049129.x[3],$STATESET139865258049129.x[2],$STATESET139865258049129.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET139865258049128.x[3],$STATESET139865258049128.x[2],$STATESET139865258049128.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009347/3.575, allocations: 170 kB / 0.5628 GB, free: 114.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01786/3.593, allocations: 5.847 MB / 0.5685 GB, free: 114.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/3.593, allocations: 3.281 kB / 0.5685 GB, free: 114.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01409/3.607, allocations: 2.971 MB / 0.5714 GB, free: 113.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/3.611, allocations: 236.4 kB / 0.5716 GB, free: 113.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/3.634, allocations: 6.82 MB / 0.5783 GB, free: 112 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006148/3.64, allocations: 2.628 MB / 0.5808 GB, free: 111.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/3.64, allocations: 0 / 0.5808 GB, free: 111.2 MB / 346.7 MB