Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.457e-05/4.466e-05, allocations: 7.984 kB / 225.1 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2938, allocations: 38.77 MB / 263.9 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4385, allocations: 81.31 MB / 345.2 MB, free: 8.254 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4389, allocations: 79.95 kB / 345.3 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5055/0.9444, allocations: 71.45 MB / 416.7 MB, free: 56.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.9444, allocations: 0 / 416.7 MB, free: 56.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002106/0.9446, allocations: 72 kB / 416.8 MB, free: 56.53 MB / 314.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.02053/0.9652, allocations: 3.775 MB / 420.6 MB, free: 52.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.439e-05/0.9653, allocations: 12.03 kB / 420.6 MB, free: 52.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002681/0.968, allocations: 0.6671 MB / 421.2 MB, free: 52.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/0.9847, allocations: 2.137 MB / 423.4 MB, free: 49.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/1.002, allocations: 4.428 MB / 427.8 MB, free: 45.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/1.002, allocations: 271.2 kB / 428.1 MB, free: 45.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/1.004, allocations: 359.9 kB / 428.4 MB, free: 44.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/1.029, allocations: 8.973 MB / 437.4 MB, free: 34.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/1.029, allocations: 59.47 kB / 437.5 MB, free: 34.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/1.031, allocations: 175.9 kB / 437.6 MB, free: 34.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/1.033, allocations: 0.884 MB / 438.5 MB, free: 33.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/1.061, allocations: 7.076 MB / 445.6 MB, free: 26.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09173/1.153, allocations: 43.17 MB / 488.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/1.167, allocations: 3.131 MB / 491.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/1.171, allocations: 1.369 MB / 493.3 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/1.186, allocations: 6.039 MB / 499.3 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/1.186, allocations: 51.05 kB / 499.3 MB, free: 3.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.27e-06/1.186, allocations: 0 / 499.3 MB, free: 3.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.2796/1.466, allocations: 8.928 MB / 0.4964 GB, free: 87.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001322/1.467, allocations: 1.612 MB / 0.4979 GB, free: 85.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/1.474, allocations: 3.114 MB / 0.501 GB, free: 85.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/1.475, allocations: 40.77 kB / 0.501 GB, free: 85.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/1.477, allocations: 2.772 MB / 0.5037 GB, free: 83.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009108/1.478, allocations: 0.5248 MB / 0.5042 GB, free: 83.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000649/1.479, allocations: 105.7 kB / 0.5043 GB, free: 83.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003568/1.479, allocations: 0.5326 MB / 0.5049 GB, free: 83.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004537/1.483, allocations: 1.807 MB / 0.5066 GB, free: 83.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006628/1.49, allocations: 5.194 MB / 0.5117 GB, free: 78.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006693/1.497, allocations: 3.046 MB / 0.5147 GB, free: 78.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/1.497, allocations: 34.12 kB / 0.5147 GB, free: 78.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02161/1.519, allocations: 7.245 MB / 0.5218 GB, free: 76.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.519, allocations: 57.31 kB / 0.5218 GB, free: 76.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007552/1.526, allocations: 2.372 MB / 0.5241 GB, free: 75.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005599/1.532, allocations: 1.132 MB / 0.5253 GB, free: 75.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007283/1.539, allocations: 1.223 MB / 0.5264 GB, free: 75.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007502/1.547, allocations: 4.701 MB / 0.531 GB, free: 72.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0067/1.554, allocations: 366.8 kB / 0.5314 GB, free: 72.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.555, allocations: 341.3 kB / 0.5317 GB, free: 72.08 MB / 346.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): 2 * 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%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001387/1.556, allocations: 0.5192 MB / 0.5322 GB, free: 71.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008522/1.557, allocations: 305.7 kB / 0.5325 GB, free: 71.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/1.566, allocations: 2.651 MB / 0.5351 GB, free: 70.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007424/1.574, allocations: 2.248 MB / 0.5373 GB, free: 69.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.574, allocations: 4 kB / 0.5373 GB, free: 69.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/1.574, allocations: 11.45 kB / 0.5373 GB, free: 69.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/1.582, allocations: 3.347 MB / 0.5406 GB, free: 66.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/1.582, allocations: 4 kB / 0.5406 GB, free: 66.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.584, allocations: 203 kB / 0.5408 GB, free: 66.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005504/1.59, allocations: 1.038 MB / 0.5418 GB, free: 65.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/1.59, allocations: 33.8 kB / 0.5418 GB, free: 65.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008108/1.599, allocations: 4.991 MB / 0.5467 GB, free: 61.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001092/1.6, allocations: 1.47 MB / 0.5481 GB, free: 59.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.612, allocations: 4.843 MB / 0.5529 GB, free: 55.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.613, allocations: 361.3 kB / 0.5532 GB, free: 55.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.614, allocations: 26.81 kB / 0.5532 GB, free: 55.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.617, allocations: 119.8 kB / 0.5533 GB, free: 54.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/1.617, allocations: 79.64 kB / 0.5534 GB, free: 54.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.617, allocations: 46.36 kB / 0.5535 GB, free: 54.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004805/1.622, allocations: 2.136 MB / 0.5556 GB, free: 52.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.622, allocations: 4 kB / 0.5556 GB, free: 52.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006515/1.629, allocations: 0.9281 MB / 0.5565 GB, free: 52.05 MB / 346.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.01247/1.641, allocations: 5.666 MB / 0.562 GB, free: 47.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/1.654, allocations: 4.822 MB / 0.5667 GB, free: 42.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.654, allocations: 0 / 0.5667 GB, free: 42.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006597/1.661, allocations: 1.962 MB / 0.5686 GB, free: 40.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.664, allocations: 353.5 kB / 0.569 GB, free: 40.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.689, allocations: 7.983 MB / 0.5768 GB, free: 33.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005542/1.695, allocations: 2.933 MB / 0.5796 GB, free: 31.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007614/1.702, allocations: 1.662 MB / 0.5812 GB, free: 29.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003599/1.706, allocations: 1.561 MB / 0.5828 GB, free: 28.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/1.706, allocations: 4 kB / 0.5828 GB, free: 28.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4093/2.115, allocations: 66.34 MB / 0.6476 GB, free: 86.69 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/2.116, allocations: 187.7 kB / 0.6477 GB, free: 86.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.736/6.851, allocations: 4 kB / 0.6477 GB, free: 86.46 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat