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.907/1.907, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.578e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09781, allocations: 44.5 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.5592, allocations: 86.93 MB / 386.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5595, allocations: 84.64 kB / 387 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3141/0.8736, allocations: 71.64 MB / 458.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.8737, allocations: 0 / 458.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003793/0.8741, allocations: 68 kB / 458.7 MB, free: 7.195 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.03331/0.9075, allocations: 3.782 MB / 462.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.241e-05/0.9076, allocations: 12.03 kB / 462.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00498/0.9126, allocations: 0.6687 MB / 463.1 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/0.9318, allocations: 2.14 MB / 465.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/0.9512, allocations: 4.441 MB / 469.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004787/0.9517, allocations: 277.1 kB / 470 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/0.9542, allocations: 364.9 kB / 470.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/0.9833, allocations: 9.015 MB / 479.4 MB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.9836, allocations: 51.55 kB / 479.4 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/0.9851, allocations: 181.9 kB / 479.6 MB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002828/0.9879, allocations: 0.8723 MB / 480.5 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/1.012, allocations: 7.24 MB / 487.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.394/1.406, allocations: 43.18 MB / 0.5184 GB, free: 69.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/1.42, allocations: 3.137 MB / 0.5215 GB, free: 68.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/1.423, allocations: 1.362 MB / 0.5228 GB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/1.439, allocations: 6.059 MB / 0.5287 GB, free: 67.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/1.439, allocations: 52.19 kB / 0.5288 GB, free: 67.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 5e-06/1.439, allocations: 0 / 0.5288 GB, free: 67.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.0372/1.476, allocations: 8.94 MB / 0.5375 GB, free: 64.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001521/1.478, allocations: 1.615 MB / 0.5391 GB, free: 63.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008361/1.486, allocations: 3.111 MB / 0.5421 GB, free: 62.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004229/1.486, allocations: 43.89 kB / 0.5422 GB, free: 62.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002669/1.489, allocations: 2.774 MB / 0.5449 GB, free: 61.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.49, allocations: 0.5202 MB / 0.5454 GB, free: 61.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000807/1.491, allocations: 104.2 kB / 0.5455 GB, free: 61.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004923/1.492, allocations: 0.5289 MB / 0.546 GB, free: 60.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005181/1.497, allocations: 1.825 MB / 0.5478 GB, free: 60.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007806/1.505, allocations: 5.232 MB / 0.5529 GB, free: 56.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007173/1.512, allocations: 3.066 MB / 0.5559 GB, free: 56.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/1.512, allocations: 35.97 kB / 0.5559 GB, free: 56.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.03222/1.544, allocations: 8.277 MB / 0.564 GB, free: 56.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.545, allocations: 55.25 kB / 0.5641 GB, free: 56.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01698/1.562, allocations: 3.074 MB / 0.5671 GB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01726/1.579, allocations: 1.937 MB / 0.569 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/1.586, allocations: 1.223 MB / 0.5701 GB, free: 55.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.599, allocations: 5.723 MB / 0.5757 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006825/1.606, allocations: 377.9 kB / 0.5761 GB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.607, allocations: 338.7 kB / 0.5764 GB, free: 51.86 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.001736/1.609, allocations: 0.5117 MB / 0.5769 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008974/1.61, allocations: 298.6 kB / 0.5772 GB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009085/1.619, allocations: 2.662 MB / 0.5798 GB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007535/1.627, allocations: 2.246 MB / 0.582 GB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/1.627, allocations: 3.938 kB / 0.582 GB, free: 49.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/1.627, allocations: 7.188 kB / 0.582 GB, free: 49.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00945/1.636, allocations: 3.347 MB / 0.5853 GB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/1.636, allocations: 3.969 kB / 0.5853 GB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.638, allocations: 206.5 kB / 0.5855 GB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00549/1.644, allocations: 1.041 MB / 0.5865 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00042/1.644, allocations: 33.58 kB / 0.5865 GB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008283/1.653, allocations: 4.991 MB / 0.5914 GB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001141/1.654, allocations: 1.478 MB / 0.5928 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/1.666, allocations: 4.832 MB / 0.5976 GB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.667, allocations: 364 kB / 0.5979 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006577/1.668, allocations: 24 kB / 0.5979 GB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.671, allocations: 131.2 kB / 0.5981 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/1.671, allocations: 75.94 kB / 0.5981 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.671, allocations: 39.42 kB / 0.5982 GB, free: 40.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004957/1.676, allocations: 2.143 MB / 0.6003 GB, free: 38.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.676, allocations: 3.938 kB / 0.6003 GB, free: 38.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006634/1.683, allocations: 0.9362 MB / 0.6012 GB, free: 37.52 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.01246/1.695, allocations: 5.666 MB / 0.6067 GB, free: 32.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01328/1.709, allocations: 5.036 MB / 0.6116 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.709, allocations: 0 / 0.6116 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006678/1.716, allocations: 1.984 MB / 0.6136 GB, free: 26.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/1.719, allocations: 347.2 kB / 0.6139 GB, free: 25.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.745, allocations: 8.01 MB / 0.6217 GB, free: 19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006493/1.752, allocations: 2.933 MB / 0.6246 GB, free: 16.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007859/1.76, allocations: 1.66 MB / 0.6262 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004062/1.764, allocations: 1.566 MB / 0.6277 GB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.764, allocations: 0 / 0.6277 GB, free: 14.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4771/2.241, allocations: 68.62 MB / 0.6947 GB, free: 122.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003792/2.241, allocations: 190.6 kB / 0.6949 GB, free: 122 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.041/7.282, allocations: 0 / 0.6949 GB, free: 122 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