Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.473e-05, allocations: 7.094 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6811, allocations: 86.94 MB / 386.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.6815, allocations: 82.98 kB / 387 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3154/0.9969, allocations: 71.63 MB / 458.6 MB, free: 7.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.997, allocations: 0 / 458.6 MB, free: 7.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002575/0.9973, allocations: 64 kB / 458.7 MB, free: 7.098 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: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.02285/1.02, allocations: 3.782 MB / 462.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.02, allocations: 8.031 kB / 462.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003134/1.023, allocations: 0.6735 MB / 463.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/1.041, allocations: 2.14 MB / 465.3 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02062/1.062, allocations: 4.44 MB / 469.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/1.062, allocations: 286.3 kB / 470 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/1.065, allocations: 362.9 kB / 470.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0291/1.094, allocations: 8.966 MB / 479.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002843/1.094, allocations: 55.5 kB / 479.4 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/1.096, allocations: 179 kB / 479.6 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002418/1.098, allocations: 0.8683 MB / 480.4 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02431/1.123, allocations: 7.084 MB / 487.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.394/1.517, allocations: 43.17 MB / 0.5183 GB, free: 69.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.531, allocations: 3.126 MB / 0.5213 GB, free: 69.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/1.534, allocations: 1.364 MB / 0.5226 GB, free: 69.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01679/1.551, allocations: 6.069 MB / 0.5286 GB, free: 67.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/1.551, allocations: 42.83 kB / 0.5286 GB, free: 67.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 5.35e-06/1.551, allocations: 0 / 0.5286 GB, free: 67.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.04106/1.592, allocations: 8.94 MB / 0.5373 GB, free: 65.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001463/1.594, allocations: 1.609 MB / 0.5389 GB, free: 63.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007766/1.602, allocations: 3.106 MB / 0.5419 GB, free: 63.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004316/1.602, allocations: 42.17 kB / 0.542 GB, free: 63.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002736/1.605, allocations: 2.777 MB / 0.5447 GB, free: 61.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.606, allocations: 0.5208 MB / 0.5452 GB, free: 61.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007314/1.607, allocations: 104.8 kB / 0.5453 GB, free: 61.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003957/1.607, allocations: 0.5292 MB / 0.5458 GB, free: 61.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004656/1.612, allocations: 1.828 MB / 0.5476 GB, free: 61.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007342/1.619, allocations: 5.205 MB / 0.5527 GB, free: 56.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007046/1.627, allocations: 3.057 MB / 0.5557 GB, free: 56.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/1.627, allocations: 35.28 kB / 0.5557 GB, free: 56.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.03178/1.659, allocations: 7.942 MB / 0.5635 GB, free: 56.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.659, allocations: 60.28 kB / 0.5635 GB, free: 56.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01699/1.676, allocations: 3.066 MB / 0.5665 GB, free: 56.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01714/1.693, allocations: 1.949 MB / 0.5684 GB, free: 56.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/1.7, allocations: 1.223 MB / 0.5696 GB, free: 56.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.713, allocations: 5.714 MB / 0.5752 GB, free: 52.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006849/1.72, allocations: 373.5 kB / 0.5755 GB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/1.721, allocations: 334 kB / 0.5759 GB, free: 52.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 648 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002015/1.723, allocations: 0.5145 MB / 0.5764 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/1.724, allocations: 298 kB / 0.5766 GB, free: 51.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009053/1.733, allocations: 2.658 MB / 0.5792 GB, free: 50.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007658/1.741, allocations: 2.249 MB / 0.5814 GB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.741, allocations: 0 / 0.5814 GB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/1.741, allocations: 7.391 kB / 0.5814 GB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009656/1.751, allocations: 3.349 MB / 0.5847 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/1.751, allocations: 6.062 kB / 0.5847 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/1.753, allocations: 200.3 kB / 0.5849 GB, free: 49.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00542/1.758, allocations: 1.041 MB / 0.5859 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/1.759, allocations: 32.88 kB / 0.586 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008296/1.767, allocations: 4.996 MB / 0.5908 GB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001144/1.768, allocations: 1.471 MB / 0.5923 GB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.781, allocations: 4.835 MB / 0.597 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.782, allocations: 369.8 kB / 0.5974 GB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.784, allocations: 32 kB / 0.5974 GB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/1.787, allocations: 120.9 kB / 0.5975 GB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/1.787, allocations: 76.42 kB / 0.5976 GB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.788, allocations: 38.42 kB / 0.5976 GB, free: 40.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005639/1.793, allocations: 2.148 MB / 0.5997 GB, free: 38.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.793, allocations: 0 / 0.5997 GB, free: 38.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007244/1.801, allocations: 0.94 MB / 0.6006 GB, free: 37.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01339/1.814, allocations: 5.658 MB / 0.6061 GB, free: 32.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0136/1.828, allocations: 4.855 MB / 0.6109 GB, free: 28.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.828, allocations: 4 kB / 0.6109 GB, free: 28.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006727/1.835, allocations: 1.974 MB / 0.6128 GB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.838, allocations: 344.2 kB / 0.6132 GB, free: 26.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/1.865, allocations: 7.987 MB / 0.621 GB, free: 19.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00655/1.872, allocations: 2.933 MB / 0.6238 GB, free: 17.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008055/1.88, allocations: 1.664 MB / 0.6254 GB, free: 16.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00398/1.884, allocations: 1.561 MB / 0.627 GB, free: 14.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/1.884, allocations: 7.938 kB / 0.627 GB, free: 14.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.476/2.36, allocations: 68.15 MB / 0.6935 GB, free: 121.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/2.361, allocations: 191.4 kB / 0.6937 GB, free: 121 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.944/7.304, allocations: 0 / 0.6937 GB, free: 121 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat