Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/3.997e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.5638, allocations: 94.08 MB / 415.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.5641, allocations: 79.94 kB / 416 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116/1.68, allocations: 200.6 MB / 0.6022 GB, free: 52.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.68, allocations: 0 / 0.6022 GB, free: 52.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005428/1.68, allocations: 203.9 kB / 0.6024 GB, free: 52.68 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03666/1.717, allocations: 9.42 MB / 0.6116 GB, free: 43.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.717, allocations: 8.031 kB / 0.6116 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008538/1.726, allocations: 1.813 MB / 0.6133 GB, free: 41.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04142/1.767, allocations: 4.035 MB / 0.6173 GB, free: 37.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0483/1.816, allocations: 10.57 MB / 0.6276 GB, free: 26.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/1.817, allocations: 0.7903 MB / 0.6284 GB, free: 25.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007167/1.824, allocations: 1.039 MB / 0.6294 GB, free: 24.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7141/2.538, allocations: 24.07 MB / 0.6529 GB, free: 46.57 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001166/2.54, allocations: 94.88 kB / 0.653 GB, free: 46.57 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007291/2.547, allocations: 493.7 kB / 0.6535 GB, free: 46.57 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007233/2.554, allocations: 2.269 MB / 0.6557 GB, free: 46.55 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06835/2.623, allocations: 18.97 MB / 0.6742 GB, free: 46.46 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1797/2.802, allocations: 94.15 MB / 0.7661 GB, free: 6.352 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03566/2.838, allocations: 7.539 MB / 0.7735 GB, free: 4.055 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008476/2.846, allocations: 3.033 MB / 0.7765 GB, free: 2.902 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04403/2.891, allocations: 13.29 MB / 0.7894 GB, free: 12.57 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.767e-05/2.891, allocations: 72.11 kB / 0.7895 GB, free: 12.51 MB / 458.8 MB Notification: Performance of pre-optimization done (n=336): time 7.173e-06/2.891, allocations: 7.75 kB / 0.7895 GB, free: 12.51 MB / 458.8 MB Notification: Performance of matching and sorting (n=360): time 0.1004/2.991, allocations: 19.15 MB / 0.8082 GB, free: 15.66 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/2.991, allocations: 162.9 kB / 0.8084 GB, free: 15.46 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01957/3.011, allocations: 6.392 MB / 0.8146 GB, free: 9.836 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008835/3.012, allocations: 80.52 kB / 0.8147 GB, free: 9.754 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007421/3.019, allocations: 6.552 MB / 0.8211 GB, free: 3.852 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002454/3.022, allocations: 1.359 MB / 0.8224 GB, free: 2.652 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/3.024, allocations: 216 kB / 0.8226 GB, free: 2.441 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001386/3.025, allocations: 0.7579 MB / 0.8234 GB, free: 1.805 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0158/3.041, allocations: 3.354 MB / 0.8266 GB, free: 0 / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3605/3.401, allocations: 9.464 MB / 0.8359 GB, free: 91.19 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/3.417, allocations: 5.237 MB / 0.841 GB, free: 91.12 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004514/3.417, allocations: 65.81 kB / 0.8411 GB, free: 91.12 MB / 474.8 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.0382/3.455, allocations: 11.92 MB / 0.8527 GB, free: 90.32 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000264/3.456, allocations: 102.6 kB / 0.8528 GB, free: 90.32 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004103/3.456, allocations: 236.6 kB / 0.853 GB, free: 90.32 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/3.457, allocations: 335.7 kB / 0.8534 GB, free: 90.32 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01748/3.474, allocations: 2.618 MB / 0.8559 GB, free: 90.09 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005353/3.475, allocations: 452.2 kB / 0.8563 GB, free: 90 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/3.489, allocations: 0.6829 MB / 0.857 GB, free: 90 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002747/3.492, allocations: 0.6406 MB / 0.8576 GB, free: 90 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * 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.004561/3.496, allocations: 0.946 MB / 0.8586 GB, free: 89.66 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/3.498, allocations: 0.6643 MB / 0.8592 GB, free: 89.66 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/3.51, allocations: 3.986 MB / 0.8631 GB, free: 89.45 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/3.511, allocations: 37.91 kB / 0.8631 GB, free: 89.45 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/3.511, allocations: 3.5 kB / 0.8631 GB, free: 89.45 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.369e-05/3.511, allocations: 20.34 kB / 0.8632 GB, free: 89.45 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1089/3.62, allocations: 50.04 MB / 0.912 GB, free: 77.22 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000293/3.62, allocations: 72.94 kB / 0.9121 GB, free: 77.22 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006329/3.626, allocations: 0.7378 MB / 0.9128 GB, free: 77.13 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002098/3.627, allocations: 103.6 kB / 0.9129 GB, free: 77.13 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/3.628, allocations: 165.9 kB / 0.9131 GB, free: 77.08 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001615/3.628, allocations: 138.4 kB / 0.9132 GB, free: 77.05 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.739e-05/3.628, allocations: 113 kB / 0.9133 GB, free: 77.02 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/3.65, allocations: 21.38 MB / 0.9342 GB, free: 53.87 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004036/3.655, allocations: 0.7943 MB / 0.935 GB, free: 53.21 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003752/3.658, allocations: 170.4 kB / 0.9351 GB, free: 53.05 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02421/3.683, allocations: 280.3 kB / 0.9354 GB, free: 52.84 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001932/3.685, allocations: 481.1 kB / 0.9358 GB, free: 52.46 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001279/3.686, allocations: 206.4 kB / 0.936 GB, free: 52.27 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.02579/3.712, allocations: 4.454 MB / 0.9404 GB, free: 48.37 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.262e-06/3.712, allocations: 3.938 kB / 0.9404 GB, free: 48.37 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01472/3.727, allocations: 1.877 MB / 0.9422 GB, free: 46.5 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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.02082/3.747, allocations: 34.37 MB / 0.9758 GB, free: 10.19 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01753/3.765, allocations: 7.3 MB / 0.9829 GB, free: 3.539 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.741e-05/3.765, allocations: 12 kB / 0.9829 GB, free: 3.527 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005081/3.77, allocations: 2.087 MB / 0.985 GB, free: 1.684 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008589/3.779, allocations: 1.024 MB / 0.986 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4267/4.206, allocations: 22.63 MB / 1.008 GB, free: 99.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02138/4.227, allocations: 7.136 MB / 1.015 GB, free: 98.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01234/4.239, allocations: 4.844 MB / 1.02 GB, free: 98.8 MB / 490.8 MB Notification: Performance of SimCode: time 2.835e-06/4.24, allocations: 0 / 1.02 GB, free: 98.8 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.926/10.17, allocations: 173.6 MB / 1.189 GB, free: 68.41 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat