Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.009e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09874, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4156/0.5144, allocations: 87.15 MB / 404.2 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5148, allocations: 87.12 kB / 404.3 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2853/0.8001, allocations: 60.2 MB / 464.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8001, allocations: 0 / 464.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001305/0.8003, allocations: 40 kB / 464.5 MB, free: 11.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.0272/0.8275, allocations: 3.456 MB / 468 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.8276, allocations: 11.97 kB / 468 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00191/0.8295, allocations: 489.2 kB / 468.4 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/0.8503, allocations: 2.356 MB / 470.8 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/0.871, allocations: 4.86 MB / 475.7 MB, free: 288 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.8714, allocations: 168.4 kB / 475.8 MB, free: 116 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.8731, allocations: 235.8 kB / 476.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/0.901, allocations: 8.459 MB / 484.5 MB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.9012, allocations: 47.53 kB / 484.6 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006106/0.9018, allocations: 115.9 kB / 484.7 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/0.9037, allocations: 0.7341 MB / 485.4 MB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03151/0.9352, allocations: 9.317 MB / 494.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3439/1.279, allocations: 37.83 MB / 0.5201 GB, free: 91.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02124/1.3, allocations: 4.017 MB / 0.524 GB, free: 91.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005194/1.306, allocations: 2.202 MB / 0.5261 GB, free: 91.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/1.306, allocations: 12.47 kB / 0.5262 GB, free: 91.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/1.306, allocations: 47.72 kB / 0.5262 GB, free: 91.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 4.428e-06/1.306, allocations: 0 / 0.5262 GB, free: 91.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=136): time 0.06919/1.375, allocations: 14.52 MB / 0.5404 GB, free: 88.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002283/1.377, allocations: 3.047 MB / 0.5434 GB, free: 85.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/1.383, allocations: 2.632 MB / 0.5459 GB, free: 85.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005905/1.383, allocations: 48.48 kB / 0.546 GB, free: 85.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.385, allocations: 2.086 MB / 0.548 GB, free: 84.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.386, allocations: 0.5625 MB / 0.5486 GB, free: 84.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/1.387, allocations: 99.58 kB / 0.5486 GB, free: 84.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003057/1.387, allocations: 0.5102 MB / 0.5491 GB, free: 83.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005085/1.392, allocations: 2.294 MB / 0.5514 GB, free: 83.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006947/1.399, allocations: 5.165 MB / 0.5564 GB, free: 80.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007446/1.406, allocations: 3.377 MB / 0.5597 GB, free: 79.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.642e-05/1.407, allocations: 29.97 kB / 0.5598 GB, free: 79.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.03919/1.446, allocations: 8.975 MB / 0.5685 GB, free: 77.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.446, allocations: 49.91 kB / 0.5686 GB, free: 77.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0289/1.475, allocations: 4.653 MB / 0.5731 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02255/1.497, allocations: 2.348 MB / 0.5754 GB, free: 75.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/1.508, allocations: 1.166 MB / 0.5765 GB, free: 75.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/1.525, allocations: 8.119 MB / 0.5845 GB, free: 68.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/1.538, allocations: 0.5703 MB / 0.585 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/1.54, allocations: 307.5 kB / 0.5853 GB, free: 67.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (578): * Single equations (assignments): 563 * 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 {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 prepare postOptimizeDAE: time 0.002057/1.542, allocations: 459.1 kB / 0.5858 GB, free: 67.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.543, allocations: 256.2 kB / 0.586 GB, free: 67.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/1.545, allocations: 424.8 kB / 0.5864 GB, free: 66.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02917/1.575, allocations: 4.555 MB / 0.5909 GB, free: 63.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-05/1.575, allocations: 4 kB / 0.5909 GB, free: 63.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-05/1.575, allocations: 7.562 kB / 0.5909 GB, free: 63.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/1.596, allocations: 5.352 MB / 0.5961 GB, free: 59.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.973e-05/1.597, allocations: 4 kB / 0.5961 GB, free: 59.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00462/1.601, allocations: 281.1 kB / 0.5964 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01757/1.619, allocations: 2.362 MB / 0.5987 GB, free: 56.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000525/1.619, allocations: 46.19 kB / 0.5987 GB, free: 56.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.632, allocations: 8.851 MB / 0.6074 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001927/1.634, allocations: 2.877 MB / 0.6102 GB, free: 44.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02541/1.659, allocations: 8.089 MB / 0.6181 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009721/1.66, allocations: 341.5 kB / 0.6184 GB, free: 35.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008474/1.661, allocations: 39.98 kB / 0.6184 GB, free: 35.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003942/1.665, allocations: 263.5 kB / 0.6187 GB, free: 35.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007197/1.666, allocations: 104.4 kB / 0.6188 GB, free: 35.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/1.666, allocations: 42.94 kB / 0.6188 GB, free: 35.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003779/1.67, allocations: 1.835 MB / 0.6206 GB, free: 33.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.67, allocations: 4 kB / 0.6206 GB, free: 33.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005899/1.676, allocations: 0.9354 MB / 0.6215 GB, free: 32.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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.02577/1.702, allocations: 8.991 MB / 0.6303 GB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01708/1.719, allocations: 6.528 MB / 0.6367 GB, free: 16.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.719, allocations: 0 / 0.6367 GB, free: 16.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01432/1.733, allocations: 3.357 MB / 0.64 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/1.737, allocations: 281.6 kB / 0.6402 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07228/1.81, allocations: 8.359 MB / 0.6484 GB, free: 4.727 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006574/1.816, allocations: 2.366 MB / 0.6507 GB, free: 2.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008038/1.824, allocations: 1.628 MB / 0.6523 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003102/1.828, allocations: 1.165 MB / 0.6534 GB, free: 15.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/1.828, allocations: 3.938 kB / 0.6534 GB, free: 15.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/2.345, allocations: 66.17 MB / 0.7181 GB, free: 134.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/2.345, allocations: 205.6 kB / 0.7183 GB, free: 134.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.619/6.964, allocations: 0 / 0.7183 GB, free: 134.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat