Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.337e-05, allocations: 4 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.367, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.547, allocations: 98.78 MB / 453.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5473, allocations: 75.95 kB / 453.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6601/1.207, allocations: 80.25 MB / 0.5209 GB, free: 97.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.207, allocations: 0 / 0.5209 GB, free: 97.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002428/1.208, allocations: 92.45 kB / 0.521 GB, free: 97.64 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01516/1.223, allocations: 3.91 MB / 0.5248 GB, free: 95.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.223, allocations: 10.28 kB / 0.5249 GB, free: 95.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01901/1.242, allocations: 2.336 MB / 0.5271 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01905/1.261, allocations: 5.195 MB / 0.5322 GB, free: 92.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/1.261, allocations: 133.3 kB / 0.5323 GB, free: 92.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002359/1.264, allocations: 244.4 kB / 0.5326 GB, free: 92.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01566/1.28, allocations: 6.006 MB / 0.5384 GB, free: 87.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02394/1.304, allocations: 9.287 MB / 0.5475 GB, free: 76.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003201/1.304, allocations: 67.41 kB / 0.5476 GB, free: 76.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002245/1.306, allocations: 36 kB / 0.5476 GB, free: 76.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002391/1.309, allocations: 0.9906 MB / 0.5486 GB, free: 75.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06843/1.377, allocations: 47.48 MB / 0.5949 GB, free: 26.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/1.382, allocations: 2.503 MB / 0.5974 GB, free: 24.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/1.385, allocations: 1.427 MB / 0.5988 GB, free: 22.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/1.386, allocations: 366.8 kB / 0.5991 GB, free: 22.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/1.386, allocations: 43.34 kB / 0.5992 GB, free: 22.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=145): time 6.101e-06/1.386, allocations: 0 / 0.5992 GB, free: 22.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=163): time 0.04593/1.432, allocations: 12.97 MB / 0.6118 GB, free: 9.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/1.432, allocations: 141.8 kB / 0.612 GB, free: 8.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007735/1.439, allocations: 3.071 MB / 0.615 GB, free: 5.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004985/1.44, allocations: 25.98 kB / 0.615 GB, free: 5.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.443, allocations: 3.187 MB / 0.6181 GB, free: 2.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.444, allocations: 0.6442 MB / 0.6187 GB, free: 2.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008219/1.445, allocations: 3.938 kB / 0.6187 GB, free: 2.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005085/1.446, allocations: 0.5705 MB / 0.6193 GB, free: 1.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005075/1.451, allocations: 1.926 MB / 0.6212 GB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.461, allocations: 5.839 MB / 0.6269 GB, free: 7.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008624/1.47, allocations: 3.345 MB / 0.6301 GB, free: 4.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/1.47, allocations: 40 kB / 0.6302 GB, free: 4.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.02684/1.497, allocations: 7.667 MB / 0.6377 GB, free: 12.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000148/1.497, allocations: 67.95 kB / 0.6377 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009405/1.506, allocations: 2.498 MB / 0.6402 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006494/1.513, allocations: 1.127 MB / 0.6413 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009275/1.522, allocations: 1.45 MB / 0.6427 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008791/1.531, allocations: 4.496 MB / 0.6471 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008647/1.54, allocations: 275.3 kB / 0.6473 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/1.542, allocations: 399.1 kB / 0.6477 GB, free: 2.062 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],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 (782): * Single equations (assignments): 773 * 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.002516/1.544, allocations: 462.4 kB / 0.6482 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0124/1.557, allocations: 3.232 MB / 0.6513 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.558, allocations: 319.9 kB / 0.6516 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.57, allocations: 2.869 MB / 0.6544 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009379/1.579, allocations: 2.425 MB / 0.6568 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/1.579, allocations: 4 kB / 0.6568 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-05/1.579, allocations: 7.969 kB / 0.6568 GB, free: 8.684 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3848/1.964, allocations: 8.776 MB / 0.6654 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/1.964, allocations: 7.328 kB / 0.6654 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.967, allocations: 264.6 kB / 0.6656 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005922/1.973, allocations: 0.9994 MB / 0.6666 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005113/1.974, allocations: 23.78 kB / 0.6666 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009215/1.983, allocations: 4.721 MB / 0.6713 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001256/1.984, allocations: 1.393 MB / 0.6726 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/2, allocations: 5.597 MB / 0.6781 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/2.001, allocations: 372.4 kB / 0.6784 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/2.003, allocations: 23.33 kB / 0.6785 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003396/2.006, allocations: 103.6 kB / 0.6786 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007157/2.007, allocations: 108.6 kB / 0.6787 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/2.007, allocations: 56.14 kB / 0.6787 GB, free: 122.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00553/2.013, allocations: 2.027 MB / 0.6807 GB, free: 122.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.42e-07/2.013, allocations: 0 / 0.6807 GB, free: 122.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008521/2.021, allocations: 0.9027 MB / 0.6816 GB, free: 122.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET7722869128.x[3],$STATESET7722869128.x[2],$STATESET7722869128.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 125 * 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 {(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 Backend phase and start with SimCode phase: time 0.01535/2.037, allocations: 7.086 MB / 0.6885 GB, free: 120.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01374/2.051, allocations: 5.206 MB / 0.6936 GB, free: 119.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/2.051, allocations: 2.719 kB / 0.6936 GB, free: 119.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006769/2.057, allocations: 2.104 MB / 0.6956 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/2.061, allocations: 344.3 kB / 0.696 GB, free: 118.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/2.092, allocations: 9.007 MB / 0.7048 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007501/2.1, allocations: 3.295 MB / 0.708 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009742/2.11, allocations: 1.985 MB / 0.7099 GB, free: 113.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004479/2.114, allocations: 1.846 MB / 0.7117 GB, free: 112 MB / 474.7 MB Notification: Performance of SimCode: time 2.063e-06/2.114, allocations: 0 / 0.7117 GB, free: 112 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1843/2.298, allocations: 70.37 MB / 0.7804 GB, free: 52.82 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/2.299, allocations: 131.5 kB / 0.7806 GB, free: 52.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.274/7.573, allocations: 4 kB / 0.7806 GB, free: 52.62 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat