Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.417e-05/4.429e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5348, allocations: 92.4 MB / 414.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5351, allocations: 78.61 kB / 414.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2758/0.811, allocations: 66.37 MB / 480.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.97e-06/0.811, allocations: 0 / 480.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001704/0.8112, allocations: 67.94 kB / 480.8 MB, free: 10.41 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01187/0.8231, allocations: 3.137 MB / 483.9 MB, free: 7.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.8232, allocations: 8.031 kB / 483.9 MB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002858/0.8261, allocations: 0.6719 MB / 484.6 MB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.8418, allocations: 1.949 MB / 486.6 MB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00739/0.8492, allocations: 2.032 MB / 488.6 MB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004313/0.8497, allocations: 279.4 kB / 488.9 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/0.8518, allocations: 363.9 kB / 489.2 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.8786, allocations: 8.018 MB / 497.2 MB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/0.8788, allocations: 15.81 kB / 497.2 MB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001918/0.8808, allocations: 175.9 kB / 497.4 MB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/0.8829, allocations: 0.8027 MB / 498.2 MB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.906, allocations: 6.804 MB / 0.4932 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4084/1.314, allocations: 27.52 MB / 0.5201 GB, free: 92.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008717/1.323, allocations: 2.505 MB / 0.5225 GB, free: 92.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/1.326, allocations: 0.9546 MB / 0.5234 GB, free: 92.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/1.34, allocations: 4.485 MB / 0.5278 GB, free: 91.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.34, allocations: 40.62 kB / 0.5279 GB, free: 91.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 4.358e-06/1.34, allocations: 0 / 0.5279 GB, free: 91.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01092/1.351, allocations: 2.109 MB / 0.5299 GB, free: 91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/1.351, allocations: 63.66 kB / 0.53 GB, free: 90.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004751/1.356, allocations: 1.959 MB / 0.5319 GB, free: 90.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000246/1.357, allocations: 41.61 kB / 0.5319 GB, free: 90.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/1.358, allocations: 2.308 MB / 0.5342 GB, free: 88.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006931/1.359, allocations: 456.4 kB / 0.5346 GB, free: 88.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/1.36, allocations: 70.69 kB / 0.5347 GB, free: 88.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002928/1.36, allocations: 467.2 kB / 0.5351 GB, free: 88.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/1.363, allocations: 1.053 MB / 0.5362 GB, free: 87.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/1.367, allocations: 3.132 MB / 0.5392 GB, free: 84.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/1.372, allocations: 1.854 MB / 0.541 GB, free: 84.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.487e-05/1.372, allocations: 21.31 kB / 0.541 GB, free: 84.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.0107/1.383, allocations: 3.865 MB / 0.5448 GB, free: 83.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.045e-05/1.383, allocations: 39.12 kB / 0.5449 GB, free: 83.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/1.383, allocations: 75.78 kB / 0.5449 GB, free: 83.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/1.383, allocations: 116.6 kB / 0.545 GB, free: 83.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00519/1.388, allocations: 0.8159 MB / 0.5458 GB, free: 82.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/1.388, allocations: 144.8 kB / 0.546 GB, free: 82.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/1.392, allocations: 486.5 kB / 0.5464 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000812/1.393, allocations: 216.5 kB / 0.5466 GB, free: 82.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (444): * Single equations (assignments): 441 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007966/1.394, allocations: 396.5 kB / 0.547 GB, free: 82.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/1.395, allocations: 191.4 kB / 0.5472 GB, free: 82.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/1.398, allocations: 1.47 MB / 0.5486 GB, free: 81.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-05/1.398, allocations: 14.86 kB / 0.5487 GB, free: 81.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.398, allocations: 7.484 kB / 0.5487 GB, free: 81.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.398, allocations: 3.703 kB / 0.5487 GB, free: 81.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.416, allocations: 7.303 MB / 0.5558 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/1.417, allocations: 14.19 kB / 0.5558 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.418, allocations: 191.3 kB / 0.556 GB, free: 78.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.413e-05/1.418, allocations: 27.45 kB / 0.556 GB, free: 78.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.418, allocations: 35.31 kB / 0.5561 GB, free: 78.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-05/1.418, allocations: 29.05 kB / 0.5561 GB, free: 78.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.612e-05/1.418, allocations: 25.62 kB / 0.5561 GB, free: 78.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/1.422, allocations: 3.137 MB / 0.5592 GB, free: 75.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007993/1.423, allocations: 335 kB / 0.5595 GB, free: 75.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/1.424, allocations: 37.08 kB / 0.5595 GB, free: 75.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.425, allocations: 51.56 kB / 0.5596 GB, free: 75.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/1.426, allocations: 117.5 kB / 0.5597 GB, free: 75.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.426, allocations: 54.27 kB / 0.5597 GB, free: 75.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003482/1.429, allocations: 1.521 MB / 0.5612 GB, free: 75.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.429, allocations: 0 / 0.5612 GB, free: 75.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004975/1.434, allocations: 0.9209 MB / 0.5621 GB, free: 74.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005034/1.439, allocations: 7.651 MB / 0.5696 GB, free: 67.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005537/1.445, allocations: 2.381 MB / 0.5719 GB, free: 66.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/1.445, allocations: 3.75 kB / 0.5719 GB, free: 66.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.446, allocations: 0.666 MB / 0.5726 GB, free: 66.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.449, allocations: 292.2 kB / 0.5729 GB, free: 66.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.475, allocations: 7.151 MB / 0.5798 GB, free: 63.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006895/1.482, allocations: 2.897 MB / 0.5827 GB, free: 62.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004339/1.486, allocations: 1.453 MB / 0.5841 GB, free: 60.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.486, allocations: 4 kB / 0.5841 GB, free: 60.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.296/4.782, allocations: 57.69 MB / 0.6404 GB, free: 8.777 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat