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 2.113/2.113, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.452e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5341, allocations: 92 MB / 408.3 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5345, allocations: 81.02 kB / 408.4 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2716/0.8061, allocations: 64.75 MB / 473.1 MB, free: 3.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.8062, allocations: 4 kB / 473.1 MB, free: 3.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001927/0.8064, allocations: 64 kB / 473.2 MB, free: 3.129 MB / 394.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.01351/0.8199, allocations: 3.129 MB / 476.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.82, allocations: 8.031 kB / 476.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.8358, allocations: 1.945 MB / 478.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/0.8433, allocations: 2.028 MB / 480.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.8436, allocations: 120 kB / 480.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.8455, allocations: 212 kB / 480.6 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01638/0.8619, allocations: 5.371 MB / 486 MB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3102/1.172, allocations: 7.381 MB / 493.4 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/1.172, allocations: 15.94 kB / 493.4 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/1.174, allocations: 15.28 kB / 493.4 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002204/1.176, allocations: 0.8117 MB / 494.2 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05312/1.229, allocations: 26.51 MB / 0.5085 GB, free: 81.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/1.233, allocations: 1.745 MB / 0.5102 GB, free: 81.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.234, allocations: 0.7029 MB / 0.5109 GB, free: 81.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.234, allocations: 24.75 kB / 0.511 GB, free: 81.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.234, allocations: 44.25 kB / 0.511 GB, free: 81.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 5.56e-06/1.234, allocations: 3.391 kB / 0.511 GB, free: 81.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.007193/1.242, allocations: 1.855 MB / 0.5128 GB, free: 81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.242, allocations: 64.41 kB / 0.5129 GB, free: 80.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/1.245, allocations: 1.74 MB / 0.5146 GB, free: 80.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002707/1.246, allocations: 29.53 kB / 0.5146 GB, free: 80.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.248, allocations: 2.367 MB / 0.5169 GB, free: 79.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007532/1.248, allocations: 491.6 kB / 0.5174 GB, free: 79.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/1.249, allocations: 0 / 0.5174 GB, free: 79.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002656/1.249, allocations: 486.1 kB / 0.5178 GB, free: 78.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/1.251, allocations: 1.05 MB / 0.5189 GB, free: 78.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/1.255, allocations: 3.327 MB / 0.5221 GB, free: 75.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/1.259, allocations: 1.91 MB / 0.524 GB, free: 74.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-05/1.259, allocations: 22.69 kB / 0.524 GB, free: 74.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.01028/1.269, allocations: 3.887 MB / 0.5278 GB, free: 73.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/1.27, allocations: 40.56 kB / 0.5278 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002824/1.27, allocations: 83.28 kB / 0.5279 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/1.27, allocations: 122.8 kB / 0.528 GB, free: 73.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006089/1.276, allocations: 0.8801 MB / 0.5289 GB, free: 73.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001723/1.277, allocations: 160.5 kB / 0.529 GB, free: 73.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.282, allocations: 425.1 kB / 0.5295 GB, free: 73.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008419/1.283, allocations: 229 kB / 0.5297 GB, free: 73.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * 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 (481): * Single equations (assignments): 478 * 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.0009992/1.284, allocations: 321.9 kB / 0.53 GB, free: 72.8 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004567/1.288, allocations: 1.41 MB / 0.5314 GB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/1.289, allocations: 188.3 kB / 0.5315 GB, free: 72.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/1.295, allocations: 1.618 MB / 0.5331 GB, free: 71.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.696e-05/1.295, allocations: 15.06 kB / 0.5331 GB, free: 71.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.295, allocations: 3.562 kB / 0.5331 GB, free: 71.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/1.295, allocations: 3.422 kB / 0.5331 GB, free: 71.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/1.316, allocations: 7.052 MB / 0.54 GB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/1.316, allocations: 15.12 kB / 0.54 GB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.319, allocations: 216.2 kB / 0.5402 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.314e-05/1.319, allocations: 21.59 kB / 0.5403 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.319, allocations: 35.38 kB / 0.5403 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.371e-05/1.319, allocations: 25.16 kB / 0.5403 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.807e-05/1.319, allocations: 29.81 kB / 0.5403 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/1.324, allocations: 3.194 MB / 0.5435 GB, free: 65.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/1.325, allocations: 278.8 kB / 0.5437 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005181/1.325, allocations: 28.48 kB / 0.5438 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/1.327, allocations: 29.16 kB / 0.5438 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/1.328, allocations: 115.8 kB / 0.5439 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.328, allocations: 70.11 kB / 0.544 GB, free: 65.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00289/1.331, allocations: 1.153 MB / 0.5451 GB, free: 64.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.331, allocations: 0 / 0.5451 GB, free: 64.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006649/1.337, allocations: 0.8722 MB / 0.5459 GB, free: 64.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.006789/1.344, allocations: 8.164 MB / 0.5539 GB, free: 57.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00732/1.352, allocations: 2.509 MB / 0.5564 GB, free: 56.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.611e-05/1.352, allocations: 3.5 kB / 0.5564 GB, free: 56.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/1.354, allocations: 0.73 MB / 0.5571 GB, free: 56.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.356, allocations: 205.8 kB / 0.5573 GB, free: 56.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.377, allocations: 7.237 MB / 0.5643 GB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005688/1.383, allocations: 2.897 MB / 0.5672 GB, free: 51.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003109/1.386, allocations: 1.478 MB / 0.5686 GB, free: 50.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/1.386, allocations: 0 / 0.5686 GB, free: 50.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.457/4.844, allocations: 56.81 MB / 0.6241 GB, free: 15.31 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