Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",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.708/1.708, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1901/1.898, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/2, allocations: 38.77 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/2.318, allocations: 80.91 MB / 338.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/2.318, allocations: 86.19 kB / 339 MB, free: 7.305 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: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.9418/3.26, allocations: 186.6 MB / 0.5133 GB, free: 22.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/3.26, allocations: 8 kB / 0.5133 GB, free: 22.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05258/3.313, allocations: 3.541 MB / 0.5168 GB, free: 18.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05415/3.367, allocations: 13.11 MB / 0.5296 GB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006627/3.368, allocations: 272 kB / 0.5298 GB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004973/3.373, allocations: 0.5113 MB / 0.5303 GB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3031/3.676, allocations: 13.23 MB / 0.5432 GB, free: 69.42 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06529/3.741, allocations: 18.65 MB / 0.5615 GB, free: 64.82 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007293/3.742, allocations: 131.8 kB / 0.5616 GB, free: 64.82 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003192/3.745, allocations: 52.59 kB / 0.5616 GB, free: 64.82 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006815/3.752, allocations: 2.23 MB / 0.5638 GB, free: 64.8 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1676/3.92, allocations: 91.61 MB / 0.6533 GB, free: 22.03 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/3.935, allocations: 7.033 MB / 0.6601 GB, free: 18.61 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01287/3.948, allocations: 6.106 MB / 0.6661 GB, free: 15.87 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005812/3.954, allocations: 2.226 MB / 0.6683 GB, free: 13.85 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.28e-05/3.954, allocations: 74.72 kB / 0.6683 GB, free: 13.79 MB / 362.8 MB Notification: Performance of pre-optimization done (n=314): time 7.404e-06/3.954, allocations: 0 / 0.6683 GB, free: 13.79 MB / 362.8 MB Notification: Performance of matching and sorting (n=411): time 0.8889/4.843, allocations: 128 MB / 0.7934 GB, free: 51.61 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/4.843, allocations: 200.6 kB / 0.7936 GB, free: 51.39 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/4.86, allocations: 5.63 MB / 0.7991 GB, free: 46.59 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001664/4.861, allocations: 25.7 kB / 0.7991 GB, free: 46.55 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1951/5.057, allocations: 5.325 MB / 0.8043 GB, free: 79.42 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004786/5.061, allocations: 1.524 MB / 0.8058 GB, free: 79.37 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003301/5.065, allocations: 0 / 0.8058 GB, free: 79.37 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.002105/5.067, allocations: 0.7736 MB / 0.8065 GB, free: 79.04 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02469/5.092, allocations: 6.6 MB / 0.813 GB, free: 79.02 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03162/5.123, allocations: 12.81 MB / 0.8255 GB, free: 71.03 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1396/5.263, allocations: 22.1 MB / 0.8471 GB, free: 70.97 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004567/5.264, allocations: 64.48 kB / 0.8471 GB, free: 70.97 MB / 362.8 MB Notification: Performance of matching and sorting (n=1451) (initialization): time 0.246/5.51, allocations: 39.68 MB / 0.8859 GB, free: 62.56 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/5.51, allocations: 5.469 kB / 0.8859 GB, free: 62.56 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1554/5.665, allocations: 24.77 MB / 0.9101 GB, free: 44.52 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2362/5.901, allocations: 10.07 MB / 0.9199 GB, free: 68.31 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01908/5.921, allocations: 2.489 MB / 0.9223 GB, free: 68.31 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.18/6.101, allocations: 49.93 MB / 0.9711 GB, free: 61.1 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02126/6.122, allocations: 0.7819 MB / 0.9718 GB, free: 61.1 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003992/6.126, allocations: 0.7448 MB / 0.9726 GB, free: 61.01 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1009 * Number of states: 0 () * Number of discrete variables: 84 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1284): * Single equations (assignments): 1270 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 66,(6,100.0%) 36,(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005948/6.132, allocations: 0.6633 MB / 0.9732 GB, free: 60.82 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003353/6.135, allocations: 0.6269 MB / 0.9738 GB, free: 60.82 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04796/6.183, allocations: 8.095 MB / 0.9817 GB, free: 58.29 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1749/6.358, allocations: 31.41 MB / 1.012 GB, free: 48.69 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001425/6.359, allocations: 24 kB / 1.012 GB, free: 48.67 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001576/6.359, allocations: 21.62 kB / 1.012 GB, free: 48.66 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4449/6.804, allocations: 50.52 MB / 1.062 GB, free: 67.17 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-05/6.804, allocations: 3.281 kB / 1.062 GB, free: 67.17 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00763/6.811, allocations: 0.5432 MB / 1.062 GB, free: 67.17 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06585/6.877, allocations: 9.414 MB / 1.072 GB, free: 67.11 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001834/6.879, allocations: 86.08 kB / 1.072 GB, free: 67.11 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.194/7.073, allocations: 47.12 MB / 1.118 GB, free: 55.03 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002889/7.076, allocations: 2.775 MB / 1.12 GB, free: 52.37 MB / 362.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4232/7.5, allocations: 40.98 MB / 1.16 GB, free: 63.12 MB / 362.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2194/7.719, allocations: 49.92 MB / 1.209 GB, free: 60.01 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/7.721, allocations: 0.6479 MB / 1.21 GB, free: 59.88 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003425/7.725, allocations: 21.28 kB / 1.21 GB, free: 59.88 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01174/7.736, allocations: 361.7 kB / 1.21 GB, free: 59.88 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002544/7.739, allocations: 240.3 kB / 1.21 GB, free: 59.85 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001709/7.741, allocations: 212.1 kB / 1.211 GB, free: 59.82 MB / 362.8 MB Notification: Performance of sort global known variables: time 0.01144/7.752, allocations: 3.815 MB / 1.214 GB, free: 58.45 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0253/7.778, allocations: 2.433 MB / 1.217 GB, free: 58.45 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET140424599264873.x[3],$STATESET140424599264873.x[2],$STATESET140424599264873.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET140424599264872.x[3],$STATESET140424599264872.x[2],$STATESET140424599264872.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,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 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002092/7.78, allocations: 197.7 kB / 1.217 GB, free: 58.36 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0409/7.821, allocations: 16.27 MB / 1.233 GB, free: 52.58 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/7.821, allocations: 3.969 kB / 1.233 GB, free: 52.58 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0184/7.839, allocations: 7.216 MB / 1.24 GB, free: 49.42 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008238/7.847, allocations: 0.6452 MB / 1.24 GB, free: 49.16 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09165/7.939, allocations: 20.95 MB / 1.261 GB, free: 33.79 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02295/7.962, allocations: 6.83 MB / 1.268 GB, free: 28.68 MB / 362.8 MB Notification: Performance of SimCode: time 1.673e-06/7.962, allocations: 0 / 1.268 GB, free: 28.68 MB / 362.8 MB