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"}) Notification: Performance of loadModel(Modelica): time 1.71/1.71, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.905e-05, allocations: 8 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.3989, allocations: 81.35 MB / 345.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.3993, allocations: 83.95 kB / 345.3 MB, free: 8.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208/1.607, allocations: 184.4 MB / 0.5173 GB, free: 39.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/1.607, allocations: 0 / 0.5173 GB, free: 39.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005241/1.608, allocations: 164 kB / 0.5174 GB, free: 39.27 MB / 346.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.04123/1.649, allocations: 8.402 MB / 0.5256 GB, free: 36.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.649, allocations: 11.19 kB / 0.5256 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007347/1.657, allocations: 1.468 MB / 0.5271 GB, free: 36.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04536/1.702, allocations: 4.705 MB / 0.5317 GB, free: 35.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04252/1.745, allocations: 13.26 MB / 0.5446 GB, free: 34.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009431/1.746, allocations: 0.6299 MB / 0.5452 GB, free: 34.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005541/1.751, allocations: 0.8663 MB / 0.5461 GB, free: 34.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1119/1.863, allocations: 27.53 MB / 0.573 GB, free: 25.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000742/1.864, allocations: 124.1 kB / 0.5731 GB, free: 25.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004626/1.869, allocations: 399.8 kB / 0.5735 GB, free: 25.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006347/1.875, allocations: 2.132 MB / 0.5755 GB, free: 23.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1101/1.985, allocations: 28.89 MB / 0.6038 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4867/2.472, allocations: 111.9 MB / 0.7131 GB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1462/2.618, allocations: 19.29 MB / 0.7319 GB, free: 29.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01723/2.635, allocations: 9.313 MB / 0.741 GB, free: 27.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008584/2.636, allocations: 385.9 kB / 0.7414 GB, free: 26.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/2.636, allocations: 68.88 kB / 0.7414 GB, free: 26.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=314): time 7.304e-06/2.636, allocations: 1.312 kB / 0.7414 GB, free: 26.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=413): time 0.9873/3.624, allocations: 115 MB / 0.8537 GB, free: 88.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002468/3.626, allocations: 3.116 MB / 0.8568 GB, free: 85.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01579/3.642, allocations: 6.51 MB / 0.8631 GB, free: 83.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001663/3.644, allocations: 85.95 kB / 0.8632 GB, free: 83.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005441/3.649, allocations: 5.89 MB / 0.869 GB, free: 79.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003084/3.652, allocations: 1.583 MB / 0.8705 GB, free: 78.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002403/3.655, allocations: 217.9 kB / 0.8707 GB, free: 78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008323/3.656, allocations: 0.7685 MB / 0.8715 GB, free: 77.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01713/3.673, allocations: 7.586 MB / 0.8789 GB, free: 74.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02116/3.694, allocations: 13.66 MB / 0.8922 GB, free: 63.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02106/3.715, allocations: 9.889 MB / 0.9019 GB, free: 55.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002045/3.715, allocations: 60 kB / 0.9019 GB, free: 55.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.1406/3.856, allocations: 33.83 MB / 0.935 GB, free: 29.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000156/3.856, allocations: 97.72 kB / 0.9351 GB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3416/4.198, allocations: 15.11 MB / 0.9498 GB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08803/4.286, allocations: 13.83 MB / 0.9633 GB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01812/4.304, allocations: 2.64 MB / 0.9659 GB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1197/4.424, allocations: 52.63 MB / 1.017 GB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02281/4.447, allocations: 1.436 MB / 1.019 GB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003333/4.45, allocations: 0.6522 MB / 1.019 GB, free: 64.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 985 * 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 (1262): * Single equations (assignments): 1248 * 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.004805/4.455, allocations: 0.9412 MB / 1.02 GB, free: 64.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/4.457, allocations: 0.6834 MB / 1.021 GB, free: 64.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06809/4.526, allocations: 11.87 MB / 1.033 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1166/4.642, allocations: 25.08 MB / 1.057 GB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/4.642, allocations: 24 kB / 1.057 GB, free: 36.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/4.642, allocations: 23.89 kB / 1.057 GB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5013/5.144, allocations: 47.1 MB / 1.103 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.881e-05/5.144, allocations: 4.125 kB / 1.103 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007539/5.152, allocations: 0.7268 MB / 1.104 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08688/5.238, allocations: 13.3 MB / 1.117 GB, free: 75.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001728/5.24, allocations: 117.1 kB / 1.117 GB, free: 75.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1363/5.377, allocations: 49.19 MB / 1.165 GB, free: 61.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003085/5.38, allocations: 2.945 MB / 1.168 GB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1742/5.554, allocations: 36.26 MB / 1.203 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/5.557, allocations: 0.7259 MB / 1.204 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004469/5.562, allocations: 89.7 kB / 1.204 GB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01678/5.579, allocations: 0.8179 MB / 1.205 GB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002595/5.581, allocations: 319.5 kB / 1.205 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009136/5.582, allocations: 135.9 kB / 1.205 GB, free: 28.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01152/5.594, allocations: 4.565 MB / 1.21 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.333e-06/5.594, allocations: 0 / 1.21 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01761/5.611, allocations: 2.936 MB / 1.213 GB, free: 21.1 MB / 410.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.4623/6.074, allocations: 37.5 MB / 1.249 GB, free: 75.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04757/6.121, allocations: 18.11 MB / 1.267 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/6.121, allocations: 2.906 kB / 1.267 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01924/6.141, allocations: 8.345 MB / 1.275 GB, free: 71.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008443/6.149, allocations: 0.8707 MB / 1.276 GB, free: 71.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09284/6.242, allocations: 25.72 MB / 1.301 GB, free: 62.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01513/6.257, allocations: 6.331 MB / 1.307 GB, free: 60.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01702/6.274, allocations: 3.451 MB / 1.311 GB, free: 58.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009948/6.284, allocations: 4.165 MB / 1.315 GB, free: 54.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/6.284, allocations: 0 / 1.315 GB, free: 54.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.095/7.379, allocations: 228.5 MB / 1.538 GB, free: 78.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/7.38, allocations: 210.6 kB / 1.538 GB, free: 77.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.391/16.77, allocations: 3.562 kB / 1.538 GB, free: 77.88 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat