Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.399/2.399, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.716e-05, allocations: 4.062 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.5956, allocations: 86.26 MB / 380.6 MB, free: 5.801 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.596, allocations: 84.52 kB / 380.6 MB, free: 5.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3809/0.9769, allocations: 70.04 MB / 450.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.977, allocations: 0 / 450.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002926/0.9773, allocations: 71.83 kB / 450.8 MB, free: 4.109 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.02622/1.004, allocations: 3.779 MB / 454.5 MB, free: 288 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/1.004, allocations: 8.031 kB / 454.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02251/1.026, allocations: 2.148 MB / 456.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02387/1.05, allocations: 4.444 MB / 461.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/1.05, allocations: 116 kB / 461.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/1.053, allocations: 215.9 kB / 461.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01798/1.071, allocations: 5.183 MB / 466.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/1.098, allocations: 8.097 MB / 474.7 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003215/1.098, allocations: 55.55 kB / 474.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001858/1.1, allocations: 32 kB / 474.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/1.103, allocations: 0.8759 MB / 475.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4142/1.517, allocations: 42.18 MB / 0.5057 GB, free: 65.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/1.523, allocations: 2.287 MB / 0.508 GB, free: 64.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/1.526, allocations: 1.272 MB / 0.5092 GB, free: 64.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/1.526, allocations: 23.61 kB / 0.5092 GB, free: 64.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.526, allocations: 43.83 kB / 0.5093 GB, free: 64.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=124): time 5.801e-06/1.526, allocations: 2.438 kB / 0.5093 GB, free: 64.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.03588/1.562, allocations: 8.533 MB / 0.5176 GB, free: 62.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/1.562, allocations: 139.5 kB / 0.5177 GB, free: 61.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007329/1.569, allocations: 2.768 MB / 0.5204 GB, free: 61.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004673/1.57, allocations: 29.39 kB / 0.5205 GB, free: 61.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002756/1.573, allocations: 2.807 MB / 0.5232 GB, free: 60.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.574, allocations: 0.5297 MB / 0.5237 GB, free: 59.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008846/1.575, allocations: 3.562 kB / 0.5237 GB, free: 59.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005973/1.575, allocations: 0.5404 MB / 0.5243 GB, free: 59.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004753/1.58, allocations: 1.781 MB / 0.526 GB, free: 59.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007433/1.588, allocations: 5.306 MB / 0.5312 GB, free: 54.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007698/1.595, allocations: 3.049 MB / 0.5342 GB, free: 54.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002303/1.596, allocations: 35.69 kB / 0.5342 GB, free: 54.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03457/1.63, allocations: 7.722 MB / 0.5417 GB, free: 54.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.631, allocations: 60.3 kB / 0.5418 GB, free: 54.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01977/1.65, allocations: 3.027 MB / 0.5448 GB, free: 53.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02074/1.671, allocations: 1.94 MB / 0.5466 GB, free: 53.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008841/1.68, allocations: 1.277 MB / 0.5479 GB, free: 53.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.695, allocations: 5.556 MB / 0.5533 GB, free: 50.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007906/1.703, allocations: 271.7 kB / 0.5536 GB, free: 49.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/1.704, allocations: 351.9 kB / 0.5539 GB, free: 49.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * 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 (687): * Single equations (assignments): 678 * 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.002504/1.707, allocations: 432.2 kB / 0.5543 GB, free: 49.59 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01193/1.719, allocations: 2.968 MB / 0.5572 GB, free: 48.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.72, allocations: 280.2 kB / 0.5575 GB, free: 48.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.731, allocations: 2.584 MB / 0.56 GB, free: 47.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009147/1.74, allocations: 2.205 MB / 0.5622 GB, free: 46.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/1.74, allocations: 3.062 kB / 0.5622 GB, free: 46.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/1.74, allocations: 3.75 kB / 0.5622 GB, free: 46.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.758, allocations: 5.066 MB / 0.5671 GB, free: 44.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.759, allocations: 3.953 kB / 0.5671 GB, free: 44.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.761, allocations: 216.7 kB / 0.5673 GB, free: 44.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006697/1.768, allocations: 1.024 MB / 0.5683 GB, free: 43.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/1.768, allocations: 15.33 kB / 0.5683 GB, free: 43.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.779, allocations: 4.9 MB / 0.5731 GB, free: 39.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001323/1.78, allocations: 1.42 MB / 0.5745 GB, free: 37.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/1.794, allocations: 4.84 MB / 0.5792 GB, free: 33.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.796, allocations: 348 kB / 0.5796 GB, free: 33.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.797, allocations: 4 kB / 0.5796 GB, free: 33.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/1.801, allocations: 110.3 kB / 0.5797 GB, free: 33.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/1.801, allocations: 82.61 kB / 0.5798 GB, free: 33.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.802, allocations: 41.34 kB / 0.5798 GB, free: 33.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005137/1.807, allocations: 1.829 MB / 0.5816 GB, free: 31.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.807, allocations: 0 / 0.5816 GB, free: 31.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00828/1.815, allocations: 0.8554 MB / 0.5824 GB, free: 30.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET140205486203272.x[3],$STATESET140205486203272.x[2],$STATESET140205486203272.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 (99): * Single equations (assignments): 92 * 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.01426/1.829, allocations: 5.646 MB / 0.5879 GB, free: 25.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01435/1.844, allocations: 4.88 MB / 0.5927 GB, free: 21.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.844, allocations: 0 / 0.5927 GB, free: 21.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007283/1.851, allocations: 1.982 MB / 0.5946 GB, free: 19.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/1.854, allocations: 296.5 kB / 0.5949 GB, free: 19.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/1.882, allocations: 7.877 MB / 0.6026 GB, free: 12.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006078/1.888, allocations: 2.925 MB / 0.6055 GB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009058/1.897, allocations: 1.746 MB / 0.6072 GB, free: 9.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004119/1.901, allocations: 1.558 MB / 0.6087 GB, free: 7.832 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/1.901, allocations: 0 / 0.6087 GB, free: 7.832 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5789/2.48, allocations: 64.68 MB / 0.6719 GB, free: 103.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002538/2.48, allocations: 151.4 kB / 0.672 GB, free: 103.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.015/8.496, allocations: 0 / 0.672 GB, free: 103.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat