Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.394e-05, allocations: 4 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4156, allocations: 61.88 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.6164, allocations: 108.4 MB / 0.5066 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.6167, allocations: 71.97 kB / 0.5067 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.675/1.292, allocations: 82.85 MB / 0.5876 GB, free: 54.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.292, allocations: 0 / 0.5876 GB, free: 54.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002595/1.292, allocations: 87.94 kB / 0.5877 GB, free: 54.4 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01516/1.307, allocations: 3.892 MB / 0.5915 GB, free: 50.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.307, allocations: 11.97 kB / 0.5915 GB, free: 50.43 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003465/1.311, allocations: 0.7538 MB / 0.5922 GB, free: 49.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02759/1.338, allocations: 2.33 MB / 0.5945 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/1.356, allocations: 5.023 MB / 0.5994 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/1.356, allocations: 320.2 kB / 0.5997 GB, free: 41.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002435/1.359, allocations: 423.8 kB / 0.6001 GB, free: 41.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/1.388, allocations: 10.24 MB / 0.6101 GB, free: 30.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/1.388, allocations: 63.41 kB / 0.6102 GB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/1.39, allocations: 207.9 kB / 0.6104 GB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/1.392, allocations: 0.9868 MB / 0.6114 GB, free: 28.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/1.417, allocations: 8.093 MB / 0.6193 GB, free: 20.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07415/1.491, allocations: 48.1 MB / 0.6662 GB, free: 3.086 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/1.508, allocations: 3.661 MB / 0.6698 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003736/1.511, allocations: 1.534 MB / 0.6713 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01946/1.531, allocations: 7.636 MB / 0.6788 GB, free: 5.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/1.531, allocations: 47.34 kB / 0.6788 GB, free: 5.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 1.18e-05/1.531, allocations: 0 / 0.6788 GB, free: 5.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.07089/1.602, allocations: 12.01 MB / 0.6905 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001907/1.604, allocations: 1.6 MB / 0.6921 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009067/1.613, allocations: 3.401 MB / 0.6954 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004282/1.613, allocations: 53.69 kB / 0.6955 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003837/1.617, allocations: 3.093 MB / 0.6985 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.619, allocations: 0.6404 MB / 0.6991 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000787/1.619, allocations: 116 kB / 0.6992 GB, free: 416 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005963/1.62, allocations: 0.562 MB / 0.6998 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005618/1.626, allocations: 1.925 MB / 0.7017 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009246/1.635, allocations: 5.628 MB / 0.7072 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008414/1.643, allocations: 3.287 MB / 0.7104 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/1.644, allocations: 40 kB / 0.7104 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.4095/2.053, allocations: 7.76 MB / 0.718 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/2.053, allocations: 64.77 kB / 0.718 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008135/2.061, allocations: 2.495 MB / 0.7205 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006394/2.068, allocations: 1.132 MB / 0.7216 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008293/2.076, allocations: 1.359 MB / 0.7229 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/2.084, allocations: 4.691 MB / 0.7275 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006757/2.091, allocations: 382.3 kB / 0.7279 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/2.092, allocations: 369.8 kB / 0.7282 GB, free: 126.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (742): * Single equations (assignments): 733 * 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.001401/2.093, allocations: 0.5708 MB / 0.7288 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008049/2.094, allocations: 346.7 kB / 0.7291 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00941/2.104, allocations: 2.881 MB / 0.7319 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007956/2.112, allocations: 2.426 MB / 0.7343 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-05/2.112, allocations: 3.469 kB / 0.7343 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/2.112, allocations: 7.75 kB / 0.7343 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/2.139, allocations: 9.195 MB / 0.7433 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/2.139, allocations: 7.812 kB / 0.7433 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/2.142, allocations: 249.5 kB / 0.7435 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005568/2.147, allocations: 1.016 MB / 0.7445 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004699/2.148, allocations: 44.89 kB / 0.7446 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008241/2.156, allocations: 4.833 MB / 0.7493 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001132/2.157, allocations: 1.454 MB / 0.7507 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/2.17, allocations: 5.618 MB / 0.7562 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/2.171, allocations: 396.8 kB / 0.7566 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008523/2.172, allocations: 35.05 kB / 0.7566 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/2.175, allocations: 133.1 kB / 0.7567 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/2.175, allocations: 109.4 kB / 0.7568 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/2.176, allocations: 48.83 kB / 0.7569 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005874/2.181, allocations: 2.34 MB / 0.7592 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.102e-06/2.181, allocations: 0 / 0.7592 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007152/2.189, allocations: 1.01 MB / 0.7601 GB, free: 117.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (126): * Single equations (assignments): 119 * 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.01367/2.202, allocations: 7.275 MB / 0.7672 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01394/2.216, allocations: 5.144 MB / 0.7723 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/2.216, allocations: 7.25 kB / 0.7723 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008947/2.225, allocations: 2.059 MB / 0.7743 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/2.229, allocations: 428.7 kB / 0.7747 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/2.257, allocations: 9.055 MB / 0.7835 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004772/2.261, allocations: 3.254 MB / 0.7867 GB, free: 99.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00818/2.27, allocations: 1.867 MB / 0.7885 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00407/2.274, allocations: 1.829 MB / 0.7903 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.793e-06/2.274, allocations: 0 / 0.7903 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1692/2.443, allocations: 73.72 MB / 0.8623 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/2.443, allocations: 188 kB / 0.8625 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.449/7.892, allocations: 0 / 0.8625 GB, free: 28.77 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat