Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.87/1.87, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.554e-05/5.564e-05, allocations: 4 kB / 273.2 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09861, allocations: 48.7 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5222, allocations: 94.09 MB / 415.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5225, allocations: 79.94 kB / 416 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/1.606, allocations: 199.4 MB / 0.601 GB, free: 55.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.606, allocations: 0 / 0.601 GB, free: 55.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005232/1.607, allocations: 192 kB / 0.6012 GB, free: 54.92 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.03659/1.643, allocations: 9.42 MB / 0.6104 GB, free: 45.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.643, allocations: 12.03 kB / 0.6104 GB, free: 45.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008487/1.652, allocations: 1.824 MB / 0.6122 GB, free: 43.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03503/1.687, allocations: 4.035 MB / 0.6161 GB, free: 39.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03522/1.722, allocations: 10.55 MB / 0.6264 GB, free: 28.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/1.723, allocations: 0.7942 MB / 0.6272 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005905/1.729, allocations: 1.039 MB / 0.6282 GB, free: 27.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07721/1.806, allocations: 23.95 MB / 0.6516 GB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006977/1.807, allocations: 103 kB / 0.6517 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005541/1.813, allocations: 495.7 kB / 0.6522 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.651/2.464, allocations: 2.261 MB / 0.6544 GB, free: 54.63 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06727/2.531, allocations: 18.64 MB / 0.6726 GB, free: 54.59 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/2.704, allocations: 94.17 MB / 0.7646 GB, free: 15.41 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03593/2.739, allocations: 7.58 MB / 0.772 GB, free: 13.1 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008658/2.748, allocations: 3.034 MB / 0.7749 GB, free: 11.95 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04398/2.792, allocations: 13.3 MB / 0.7879 GB, free: 2.793 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.07e-05/2.792, allocations: 64.78 kB / 0.788 GB, free: 2.719 MB / 442.8 MB Notification: Performance of pre-optimization done (n=336): time 7.263e-06/2.792, allocations: 2.219 kB / 0.788 GB, free: 2.719 MB / 442.8 MB Notification: Performance of matching and sorting (n=360): time 0.09258/2.885, allocations: 18.76 MB / 0.8063 GB, free: 2.691 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/2.885, allocations: 170 kB / 0.8065 GB, free: 2.496 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02675/2.912, allocations: 6.9 MB / 0.8132 GB, free: 14.07 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008749/2.913, allocations: 77.7 kB / 0.8133 GB, free: 13.98 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007839/2.921, allocations: 6.553 MB / 0.8197 GB, free: 8.082 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002516/2.923, allocations: 1.356 MB / 0.821 GB, free: 6.887 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/2.925, allocations: 216 kB / 0.8212 GB, free: 6.676 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0009589/2.926, allocations: 0.7628 MB / 0.8219 GB, free: 6.035 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0092/2.935, allocations: 2.987 MB / 0.8249 GB, free: 3.344 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3681/3.303, allocations: 9.396 MB / 0.834 GB, free: 92.49 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/3.318, allocations: 5.233 MB / 0.8391 GB, free: 92.42 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005054/3.319, allocations: 65.75 kB / 0.8392 GB, free: 92.42 MB / 474.8 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03744/3.356, allocations: 11.28 MB / 0.8502 GB, free: 91.94 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/3.356, allocations: 103.6 kB / 0.8503 GB, free: 91.94 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004745/3.357, allocations: 230.2 kB / 0.8505 GB, free: 91.94 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/3.357, allocations: 346.6 kB / 0.8509 GB, free: 91.94 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01755/3.375, allocations: 2.608 MB / 0.8534 GB, free: 91.71 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005246/3.376, allocations: 457.7 kB / 0.8539 GB, free: 91.62 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/3.39, allocations: 0.6855 MB / 0.8545 GB, free: 91.62 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002742/3.392, allocations: 0.6344 MB / 0.8551 GB, free: 91.62 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.004742/3.397, allocations: 0.9476 MB / 0.8561 GB, free: 91.27 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/3.399, allocations: 0.6687 MB / 0.8567 GB, free: 91.27 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/3.412, allocations: 3.984 MB / 0.8606 GB, free: 91.06 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/3.412, allocations: 39.19 kB / 0.8607 GB, free: 91.06 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/3.412, allocations: 3.719 kB / 0.8607 GB, free: 91.06 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-05/3.412, allocations: 18.33 kB / 0.8607 GB, free: 91.05 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08805/3.5, allocations: 41.37 MB / 0.9011 GB, free: 82.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003172/3.5, allocations: 88.84 kB / 0.9012 GB, free: 82.93 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005779/3.506, allocations: 0.8425 MB / 0.902 GB, free: 82.83 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/3.506, allocations: 136.8 kB / 0.9021 GB, free: 82.82 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008643/3.507, allocations: 195.2 kB / 0.9023 GB, free: 82.77 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001409/3.507, allocations: 176.2 kB / 0.9025 GB, free: 82.73 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-05/3.507, allocations: 139.7 kB / 0.9026 GB, free: 82.69 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/3.524, allocations: 25.09 MB / 0.9271 GB, free: 57 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002879/3.527, allocations: 0.835 MB / 0.9279 GB, free: 56.53 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002469/3.529, allocations: 199.6 kB / 0.9281 GB, free: 56.47 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00721/3.537, allocations: 270.5 kB / 0.9284 GB, free: 56.41 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/3.538, allocations: 0.575 MB / 0.9289 GB, free: 56.15 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004835/3.538, allocations: 240.7 kB / 0.9292 GB, free: 56.12 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01304/3.551, allocations: 4.455 MB / 0.9335 GB, free: 53.4 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.072e-06/3.552, allocations: 3.844 kB / 0.9335 GB, free: 53.4 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02066/3.572, allocations: 1.875 MB / 0.9353 GB, free: 51.53 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.02507/3.597, allocations: 40.8 MB / 0.9752 GB, free: 8.266 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02285/3.62, allocations: 6.86 MB / 0.9819 GB, free: 2.031 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.664e-05/3.62, allocations: 12 kB / 0.9819 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006463/3.627, allocations: 2.005 MB / 0.9839 GB, free: 232 kB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/3.638, allocations: 1.156 MB / 0.985 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4153/4.053, allocations: 22.78 MB / 1.007 GB, free: 102.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02191/4.075, allocations: 7.156 MB / 1.014 GB, free: 101.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01439/4.09, allocations: 4.847 MB / 1.019 GB, free: 101.8 MB / 490.8 MB Notification: Performance of SimCode: time 1.863e-06/4.09, allocations: 0 / 1.019 GB, free: 101.8 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.936/10.03, allocations: 171.1 MB / 1.186 GB, free: 66.15 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat