Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.51e-05, allocations: 4 kB / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.438, allocations: 54.85 MB / 359.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.6248, allocations: 99.02 MB / 458.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6251, allocations: 75.97 kB / 458.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.287/0.9121, allocations: 66.4 MB / 0.513 GB, free: 10.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.9122, allocations: 0 / 0.513 GB, free: 10.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001561/0.9124, allocations: 67.94 kB / 0.5131 GB, free: 10.91 MB / 458.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.01093/0.9233, allocations: 3.129 MB / 0.5161 GB, free: 7.723 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.9234, allocations: 8.031 kB / 0.5161 GB, free: 7.715 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002292/0.9257, allocations: 0.6797 MB / 0.5168 GB, free: 7.023 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.9406, allocations: 1.941 MB / 0.5187 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007102/0.9477, allocations: 2.036 MB / 0.5207 GB, free: 2.988 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.9481, allocations: 279.4 kB / 0.521 GB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.9497, allocations: 367.9 kB / 0.5213 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3388/1.289, allocations: 8.012 MB / 0.5291 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/1.289, allocations: 19.78 kB / 0.5292 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/1.291, allocations: 165.6 kB / 0.5293 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/1.293, allocations: 0.8083 MB / 0.5301 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02323/1.316, allocations: 6.804 MB / 0.5367 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05823/1.374, allocations: 27.53 MB / 0.5636 GB, free: 93.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008191/1.383, allocations: 2.502 MB / 0.5661 GB, free: 92.65 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/1.385, allocations: 0.9541 MB / 0.567 GB, free: 92.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/1.397, allocations: 4.479 MB / 0.5714 GB, free: 90.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.397, allocations: 49.19 kB / 0.5714 GB, free: 90.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 5.641e-06/1.397, allocations: 0 / 0.5714 GB, free: 90.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=120): time 0.01037/1.408, allocations: 2.109 MB / 0.5735 GB, free: 89.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/1.408, allocations: 63.22 kB / 0.5736 GB, free: 89.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/1.412, allocations: 1.955 MB / 0.5755 GB, free: 88.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002854/1.412, allocations: 44.62 kB / 0.5755 GB, free: 88.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/1.414, allocations: 2.303 MB / 0.5778 GB, free: 87.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006938/1.415, allocations: 461.6 kB / 0.5782 GB, free: 86.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/1.415, allocations: 70.2 kB / 0.5783 GB, free: 86.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/1.415, allocations: 475 kB / 0.5787 GB, free: 86.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.418, allocations: 1.044 MB / 0.5797 GB, free: 86.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00446/1.423, allocations: 3.136 MB / 0.5828 GB, free: 82.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/1.427, allocations: 1.848 MB / 0.5846 GB, free: 82.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.546e-05/1.427, allocations: 20.28 kB / 0.5846 GB, free: 82.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01037/1.437, allocations: 3.862 MB / 0.5884 GB, free: 81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/1.437, allocations: 40.09 kB / 0.5884 GB, free: 81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.235e-05/1.437, allocations: 73.34 kB / 0.5885 GB, free: 81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/1.438, allocations: 110.8 kB / 0.5886 GB, free: 81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004977/1.442, allocations: 0.8152 MB / 0.5894 GB, free: 80.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000148/1.443, allocations: 155.8 kB / 0.5896 GB, free: 80.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/1.447, allocations: 481.6 kB / 0.59 GB, free: 80.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006419/1.447, allocations: 220.9 kB / 0.5902 GB, free: 80.53 MB / 458.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.0006526/1.448, allocations: 379.8 kB / 0.5906 GB, free: 80.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/1.448, allocations: 194.7 kB / 0.5908 GB, free: 80.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.452, allocations: 1.48 MB / 0.5922 GB, free: 79.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.452, allocations: 12.59 kB / 0.5922 GB, free: 79.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.452, allocations: 7.719 kB / 0.5922 GB, free: 79.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.452, allocations: 11.41 kB / 0.5922 GB, free: 79.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.47, allocations: 7.304 MB / 0.5994 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/1.47, allocations: 19 kB / 0.5994 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/1.471, allocations: 187.4 kB / 0.5996 GB, free: 76.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.404e-05/1.471, allocations: 23.09 kB / 0.5996 GB, free: 76.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.472, allocations: 38.16 kB / 0.5996 GB, free: 76.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-05/1.472, allocations: 31.19 kB / 0.5997 GB, free: 76.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/1.472, allocations: 19.78 kB / 0.5997 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/1.475, allocations: 3.147 MB / 0.6028 GB, free: 73.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/1.476, allocations: 334.1 kB / 0.6031 GB, free: 73.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/1.477, allocations: 41.89 kB / 0.6031 GB, free: 73.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.478, allocations: 47.78 kB / 0.6032 GB, free: 73.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/1.478, allocations: 111.4 kB / 0.6033 GB, free: 73.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.479, allocations: 54 kB / 0.6033 GB, free: 73.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003256/1.482, allocations: 1.524 MB / 0.6048 GB, free: 72.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.482, allocations: 0 / 0.6048 GB, free: 72.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004696/1.487, allocations: 0.9161 MB / 0.6057 GB, free: 71.3 MB / 458.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.004888/1.492, allocations: 7.652 MB / 0.6132 GB, free: 63.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005452/1.497, allocations: 2.373 MB / 0.6155 GB, free: 61.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/1.497, allocations: 8 kB / 0.6155 GB, free: 61.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.499, allocations: 0.6626 MB / 0.6161 GB, free: 60.63 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.501, allocations: 287.7 kB / 0.6164 GB, free: 60.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/1.521, allocations: 7.14 MB / 0.6234 GB, free: 53.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005141/1.527, allocations: 2.902 MB / 0.6262 GB, free: 51.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003249/1.53, allocations: 1.454 MB / 0.6276 GB, free: 50.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/1.53, allocations: 0 / 0.6276 GB, free: 50.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.574/5.104, allocations: 57.7 MB / 0.684 GB, free: 12.08 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat