Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.833e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.09996, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5291, allocations: 92.85 MB / 409.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.5295, allocations: 87.02 kB / 410 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023/1.553, allocations: 186.7 MB / 0.5827 GB, free: 81.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.553, allocations: 0 / 0.5827 GB, free: 81.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005155/1.553, allocations: 162.5 kB / 0.5828 GB, free: 81.79 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2937 * Number of variables: 2937 Notification: Performance of Generate backend data structure: time 0.04025/1.594, allocations: 8.411 MB / 0.5911 GB, free: 78.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.594, allocations: 6.938 kB / 0.5911 GB, free: 78.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007107/1.601, allocations: 1.469 MB / 0.5925 GB, free: 77.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04468/1.645, allocations: 4.721 MB / 0.5971 GB, free: 75.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04099/1.686, allocations: 13.3 MB / 0.6101 GB, free: 62.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008759/1.687, allocations: 0.6291 MB / 0.6107 GB, free: 62.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005236/1.693, allocations: 0.8651 MB / 0.6116 GB, free: 61.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1113/1.804, allocations: 27.54 MB / 0.6384 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009293/1.805, allocations: 126.8 kB / 0.6386 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005534/1.811, allocations: 401.7 kB / 0.639 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008325/1.819, allocations: 2.139 MB / 0.641 GB, free: 29.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1287/1.948, allocations: 28.88 MB / 0.6692 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5349/2.483, allocations: 112 MB / 0.7787 GB, free: 20.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1509/2.634, allocations: 19.28 MB / 0.7975 GB, free: 16.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02776/2.661, allocations: 9.317 MB / 0.8066 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/2.663, allocations: 395.2 kB / 0.807 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.305e-05/2.663, allocations: 67.36 kB / 0.807 GB, free: 11.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=314): time 1.158e-05/2.663, allocations: 0 / 0.807 GB, free: 11.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=413): time 1.052/3.715, allocations: 115.6 MB / 0.9199 GB, free: 95.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002444/3.718, allocations: 3.112 MB / 0.923 GB, free: 91.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01642/3.734, allocations: 6.538 MB / 0.9293 GB, free: 86.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00201/3.736, allocations: 88.59 kB / 0.9294 GB, free: 86.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009426/3.746, allocations: 5.906 MB / 0.9352 GB, free: 81.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004203/3.75, allocations: 1.578 MB / 0.9367 GB, free: 79.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002885/3.753, allocations: 220.9 kB / 0.9369 GB, free: 79.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001186/3.754, allocations: 0.7628 MB / 0.9377 GB, free: 78.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01727/3.771, allocations: 7.601 MB / 0.9451 GB, free: 71.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02127/3.793, allocations: 13.69 MB / 0.9585 GB, free: 54.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02151/3.814, allocations: 9.9 MB / 0.9681 GB, free: 45.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002197/3.815, allocations: 68 kB / 0.9682 GB, free: 45.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=1432) (initialization): time 0.1433/3.958, allocations: 33.89 MB / 1.001 GB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/3.958, allocations: 99.98 kB / 1.001 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3967/4.355, allocations: 14.95 MB / 1.016 GB, free: 90.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0884/4.443, allocations: 13.84 MB / 1.03 GB, free: 90.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01772/4.461, allocations: 2.639 MB / 1.032 GB, free: 90.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1335/4.595, allocations: 52.65 MB / 1.084 GB, free: 71.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02338/4.618, allocations: 1.449 MB / 1.085 GB, free: 71.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003556/4.622, allocations: 0.6528 MB / 1.086 GB, free: 71.45 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 988 * Number of states: 0 () * Number of discrete variables: 87 (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.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 (1265): * Single equations (assignments): 1251 * 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.006221/4.628, allocations: 0.9416 MB / 1.086 GB, free: 71.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003517/4.632, allocations: 0.6895 MB / 1.087 GB, free: 71.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07093/4.703, allocations: 11.87 MB / 1.099 GB, free: 64.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1172/4.82, allocations: 25.08 MB / 1.123 GB, free: 42.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/4.82, allocations: 28 kB / 1.123 GB, free: 42.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000115/4.82, allocations: 23.92 kB / 1.123 GB, free: 42.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6191/5.439, allocations: 47.1 MB / 1.169 GB, free: 96.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.608e-05/5.439, allocations: 3.281 kB / 1.169 GB, free: 96.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008038/5.447, allocations: 0.7264 MB / 1.17 GB, free: 96.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0912/5.539, allocations: 13.29 MB / 1.183 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001871/5.54, allocations: 113.7 kB / 1.183 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1275/5.668, allocations: 49.21 MB / 1.231 GB, free: 86.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002471/5.671, allocations: 2.947 MB / 1.234 GB, free: 83.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1623/5.833, allocations: 36.26 MB / 1.269 GB, free: 72.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003778/5.837, allocations: 0.7349 MB / 1.27 GB, free: 72.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004886/5.842, allocations: 80.2 kB / 1.27 GB, free: 72.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01913/5.861, allocations: 0.8248 MB / 1.271 GB, free: 71.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003767/5.865, allocations: 317.5 kB / 1.271 GB, free: 71.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002322/5.867, allocations: 135.8 kB / 1.271 GB, free: 71.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01669/5.884, allocations: 4.588 MB / 1.276 GB, free: 67.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.273e-06/5.884, allocations: 0 / 1.276 GB, free: 67.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02228/5.906, allocations: 2.949 MB / 1.279 GB, free: 64.6 MB / 474.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 (266): * Single equations (assignments): 257 * 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.1741/6.08, allocations: 37.5 MB / 1.315 GB, free: 30.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0541/6.134, allocations: 18.26 MB / 1.333 GB, free: 12.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/6.135, allocations: 8.625 kB / 1.333 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3415/6.476, allocations: 8.323 MB / 1.341 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/6.488, allocations: 0.8765 MB / 1.342 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1291/6.617, allocations: 25.83 MB / 1.367 GB, free: 102.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02081/6.638, allocations: 6.337 MB / 1.374 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02062/6.659, allocations: 3.466 MB / 1.377 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/6.67, allocations: 4.176 MB / 1.381 GB, free: 101.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.154e-06/6.67, allocations: 0 / 1.381 GB, free: 101.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8393/7.509, allocations: 229.2 MB / 1.605 GB, free: 63.93 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/7.509, allocations: 215.1 kB / 1.605 GB, free: 63.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.909/17.42, allocations: 0 / 1.605 GB, free: 63.71 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat