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 2.116/2.116, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.447e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2987, allocations: 44.5 MB / 294.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.4519, allocations: 86.27 MB / 380.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.4523, allocations: 83.95 kB / 380.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5286/0.9809, allocations: 70.02 MB / 450.6 MB, free: 88.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.981, allocations: 3.156 kB / 450.6 MB, free: 88.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002029/0.9812, allocations: 71.16 kB / 450.7 MB, free: 88.45 MB / 362.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.01961/1.001, allocations: 3.784 MB / 454.5 MB, free: 86.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.001, allocations: 10.56 kB / 454.5 MB, free: 86.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/1.017, allocations: 2.14 MB / 456.6 MB, free: 86.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01623/1.033, allocations: 4.442 MB / 461.1 MB, free: 84.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/1.034, allocations: 119.2 kB / 461.2 MB, free: 84.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/1.035, allocations: 216.1 kB / 461.4 MB, free: 84.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01187/1.047, allocations: 5.189 MB / 466.6 MB, free: 80.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/1.065, allocations: 8.092 MB / 474.7 MB, free: 71.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/1.065, allocations: 59.48 kB / 474.7 MB, free: 71.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009346/1.066, allocations: 28 kB / 474.7 MB, free: 71.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001756/1.068, allocations: 0.8765 MB / 475.6 MB, free: 70.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05361/1.121, allocations: 42.18 MB / 0.5057 GB, free: 27.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/1.125, allocations: 2.3 MB / 0.5079 GB, free: 24.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/1.128, allocations: 1.276 MB / 0.5092 GB, free: 23.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/1.128, allocations: 20.33 kB / 0.5092 GB, free: 23.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.128, allocations: 47.12 kB / 0.5092 GB, free: 23.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 5.54e-06/1.128, allocations: 0 / 0.5092 GB, free: 23.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.028/1.156, allocations: 8.528 MB / 0.5175 GB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1.156, allocations: 145.1 kB / 0.5177 GB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.162, allocations: 2.77 MB / 0.5204 GB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003911/1.162, allocations: 25.7 kB / 0.5204 GB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.164, allocations: 2.803 MB / 0.5232 GB, free: 8.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008536/1.165, allocations: 0.5363 MB / 0.5237 GB, free: 8.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006167/1.166, allocations: 0 / 0.5237 GB, free: 8.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003808/1.166, allocations: 0.5337 MB / 0.5242 GB, free: 7.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/1.17, allocations: 1.787 MB / 0.5259 GB, free: 6.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00637/1.177, allocations: 5.309 MB / 0.5311 GB, free: 14.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007464/1.184, allocations: 3.047 MB / 0.5341 GB, free: 11.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/1.184, allocations: 40 kB / 0.5341 GB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03183/1.216, allocations: 7.721 MB / 0.5417 GB, free: 4.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/1.216, allocations: 60.19 kB / 0.5417 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01696/1.233, allocations: 3.025 MB / 0.5447 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01718/1.251, allocations: 1.937 MB / 0.5466 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007944/1.259, allocations: 1.275 MB / 0.5478 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/1.272, allocations: 5.558 MB / 0.5533 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006987/1.279, allocations: 271.3 kB / 0.5535 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.281, allocations: 352 kB / 0.5539 GB, free: 7.41 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.001582/1.282, allocations: 436.9 kB / 0.5543 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01012/1.292, allocations: 2.969 MB / 0.5572 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.293, allocations: 280.3 kB / 0.5574 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009347/1.303, allocations: 2.573 MB / 0.5599 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2975/1.6, allocations: 2.202 MB / 0.5621 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-05/1.6, allocations: 2.688 kB / 0.5621 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.559e-05/1.601, allocations: 10.83 kB / 0.5621 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/1.623, allocations: 5.053 MB / 0.567 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/1.623, allocations: 1.062 kB / 0.567 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/1.626, allocations: 215.6 kB / 0.5673 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008615/1.635, allocations: 1.023 MB / 0.5683 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004895/1.636, allocations: 23.56 kB / 0.5683 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/1.648, allocations: 4.901 MB / 0.5731 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001532/1.65, allocations: 1.417 MB / 0.5744 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.667, allocations: 4.84 MB / 0.5792 GB, free: 99.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.669, allocations: 341.9 kB / 0.5795 GB, free: 99.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009544/1.67, allocations: 14.19 kB / 0.5795 GB, free: 99.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003684/1.674, allocations: 104.6 kB / 0.5796 GB, free: 99.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/1.674, allocations: 85.39 kB / 0.5797 GB, free: 99.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.674, allocations: 38.48 kB / 0.5797 GB, free: 99.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006222/1.681, allocations: 1.83 MB / 0.5815 GB, free: 99.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.984e-06/1.681, allocations: 0 / 0.5815 GB, free: 99.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009961/1.691, allocations: 0.8537 MB / 0.5823 GB, free: 99.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET6197653896.x[3],$STATESET6197653896.x[2],$STATESET6197653896.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.01848/1.709, allocations: 5.647 MB / 0.5879 GB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01927/1.729, allocations: 4.885 MB / 0.5926 GB, free: 95.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.729, allocations: 0 / 0.5926 GB, free: 95.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009255/1.738, allocations: 1.971 MB / 0.5946 GB, free: 94.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/1.742, allocations: 295 kB / 0.5948 GB, free: 94.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/1.778, allocations: 7.863 MB / 0.6025 GB, free: 91.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006863/1.785, allocations: 2.931 MB / 0.6054 GB, free: 90.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01165/1.796, allocations: 1.755 MB / 0.6071 GB, free: 90.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005472/1.802, allocations: 1.558 MB / 0.6086 GB, free: 88.76 MB / 394.7 MB Notification: Performance of SimCode: time 6.653e-06/1.802, allocations: 0 / 0.6086 GB, free: 88.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1765/1.978, allocations: 64.65 MB / 0.6718 GB, free: 28.45 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/1.979, allocations: 151 kB / 0.6719 GB, free: 28.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.962/6.941, allocations: 0 / 0.6719 GB, free: 28.26 MB / 394.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