Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.433e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.5931, allocations: 94.03 MB / 436.7 MB, free: 44 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5935, allocations: 85.14 kB / 436.8 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115/1.708, allocations: 186 MB / 0.6082 GB, free: 80.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.708, allocations: 0 / 0.6082 GB, free: 80.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005202/1.709, allocations: 159.3 kB / 0.6084 GB, free: 80.71 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2889 * Number of variables: 2889 Notification: Performance of Generate backend data structure: time 0.04717/1.756, allocations: 8.303 MB / 0.6165 GB, free: 72.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.756, allocations: 12.03 kB / 0.6165 GB, free: 72.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006787/1.763, allocations: 1.443 MB / 0.6179 GB, free: 71.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04375/1.807, allocations: 4.688 MB / 0.6225 GB, free: 66.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03915/1.846, allocations: 12.28 MB / 0.6345 GB, free: 54.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008609/1.847, allocations: 0.6216 MB / 0.6351 GB, free: 53.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005117/1.852, allocations: 0.8463 MB / 0.6359 GB, free: 53.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1103/1.962, allocations: 27.27 MB / 0.6625 GB, free: 24.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007923/1.963, allocations: 130.9 kB / 0.6627 GB, free: 24.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004697/1.968, allocations: 395.8 kB / 0.663 GB, free: 23.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006171/1.974, allocations: 2.098 MB / 0.6651 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4527/2.427, allocations: 28.63 MB / 0.693 GB, free: 69.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1983/2.625, allocations: 111.1 MB / 0.8015 GB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1302/2.756, allocations: 19.21 MB / 0.8203 GB, free: 0 / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02114/2.777, allocations: 9.306 MB / 0.8293 GB, free: 7.621 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009188/2.778, allocations: 389.8 kB / 0.8297 GB, free: 7.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.317e-05/2.778, allocations: 74.77 kB / 0.8298 GB, free: 7.152 MB / 458.7 MB Notification: Performance of pre-optimization done (n=305): time 7.194e-06/2.778, allocations: 0 / 0.8298 GB, free: 7.152 MB / 458.7 MB Notification: Performance of matching and sorting (n=404): time 1.055/3.833, allocations: 114.6 MB / 0.9417 GB, free: 94.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00328/3.836, allocations: 3.113 MB / 0.9447 GB, free: 90.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01649/3.853, allocations: 6.401 MB / 0.951 GB, free: 85.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001638/3.854, allocations: 84.44 kB / 0.9511 GB, free: 85.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005384/3.86, allocations: 5.814 MB / 0.9567 GB, free: 80.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00309/3.863, allocations: 1.544 MB / 0.9582 GB, free: 78.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/3.865, allocations: 219 kB / 0.9584 GB, free: 78.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007477/3.866, allocations: 0.755 MB / 0.9592 GB, free: 77.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01657/3.883, allocations: 7.553 MB / 0.9666 GB, free: 70.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02035/3.903, allocations: 13.56 MB / 0.9798 GB, free: 53.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02472/3.928, allocations: 9.831 MB / 0.9894 GB, free: 44.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002681/3.928, allocations: 60 kB / 0.9895 GB, free: 44.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=1410) (initialization): time 0.1574/4.086, allocations: 33.72 MB / 1.022 GB, free: 10.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/4.086, allocations: 96.78 kB / 1.022 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.409/4.495, allocations: 14.96 MB / 1.037 GB, free: 88.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09075/4.586, allocations: 13.84 MB / 1.051 GB, free: 88.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01719/4.603, allocations: 2.595 MB / 1.053 GB, free: 88.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1253/4.728, allocations: 52.62 MB / 1.105 GB, free: 72.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02201/4.75, allocations: 1.435 MB / 1.106 GB, free: 72.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003246/4.754, allocations: 0.6406 MB / 1.107 GB, free: 72.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 89 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1243): * Single equations (assignments): 1229 * 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 {4} * 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%) 2} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.004761/4.758, allocations: 0.929 MB / 1.107 GB, free: 71.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002502/4.761, allocations: 0.6763 MB / 1.108 GB, free: 71.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00545/4.766, allocations: 1.308 MB / 1.109 GB, free: 70.69 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1184/4.885, allocations: 25 MB / 1.134 GB, free: 58.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/4.885, allocations: 28 kB / 1.134 GB, free: 58.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/4.885, allocations: 19.17 kB / 1.134 GB, free: 58.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1796/5.065, allocations: 46.81 MB / 1.18 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.585e-05/5.065, allocations: 0 / 1.18 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007239/5.072, allocations: 0.7123 MB / 1.18 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0887/5.161, allocations: 13.28 MB / 1.193 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001772/5.163, allocations: 112.9 kB / 1.193 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4728/5.635, allocations: 49.19 MB / 1.241 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00226/5.638, allocations: 2.945 MB / 1.244 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1547/5.793, allocations: 36.14 MB / 1.28 GB, free: 85.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002601/5.795, allocations: 0.7115 MB / 1.28 GB, free: 84.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003665/5.799, allocations: 82.53 kB / 1.28 GB, free: 84.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01357/5.812, allocations: 0.8146 MB / 1.281 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002938/5.815, allocations: 317.4 kB / 1.281 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001105/5.817, allocations: 131.8 kB / 1.282 GB, free: 84.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01215/5.829, allocations: 4.487 MB / 1.286 GB, free: 83.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.312e-06/5.829, allocations: 0 / 1.286 GB, free: 83.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01826/5.847, allocations: 2.909 MB / 1.289 GB, free: 82.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (256): * Single equations (assignments): 247 * 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.1879/6.035, allocations: 37.39 MB / 1.325 GB, free: 55.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04025/6.075, allocations: 18.13 MB / 1.343 GB, free: 37.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/6.075, allocations: 0 / 1.343 GB, free: 37.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01897/6.094, allocations: 8.299 MB / 1.351 GB, free: 29.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008504/6.103, allocations: 0.8714 MB / 1.352 GB, free: 28.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4363/6.539, allocations: 25.52 MB / 1.377 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0176/6.557, allocations: 6.235 MB / 1.383 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01742/6.574, allocations: 3.408 MB / 1.386 GB, free: 101.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01367/6.588, allocations: 4.073 MB / 1.39 GB, free: 101.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/6.588, allocations: 0 / 1.39 GB, free: 101.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8912/7.479, allocations: 226.8 MB / 1.612 GB, free: 92.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/7.48, allocations: 218.1 kB / 1.612 GB, free: 92.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.516/17, allocations: 0 / 1.612 GB, free: 92.2 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat