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.035/2.035, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.297e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.09979, allocations: 48.7 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5577, allocations: 93.68 MB / 410 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.558, allocations: 78.39 kB / 410 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077/1.635, allocations: 195.9 MB / 0.5917 GB, free: 37.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.635, allocations: 0 / 0.5917 GB, free: 37.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005231/1.635, allocations: 195 kB / 0.5919 GB, free: 37.13 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03894/1.674, allocations: 9.419 MB / 0.6011 GB, free: 27.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.674, allocations: 8.031 kB / 0.6011 GB, free: 27.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03573/1.71, allocations: 4.031 MB / 0.605 GB, free: 23.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03483/1.745, allocations: 10.55 MB / 0.6153 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008027/1.746, allocations: 352 kB / 0.6157 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006661/1.752, allocations: 0.6092 MB / 0.6163 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03845/1.791, allocations: 14.54 MB / 0.6305 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6963/2.487, allocations: 20.72 MB / 0.6507 GB, free: 49.78 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001047/2.488, allocations: 100.5 kB / 0.6508 GB, free: 49.78 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006036/2.494, allocations: 48.94 kB / 0.6508 GB, free: 49.78 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007175/2.502, allocations: 2.272 MB / 0.6531 GB, free: 49.76 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1768/2.678, allocations: 93.79 MB / 0.7447 GB, free: 13.86 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009547/2.688, allocations: 4.143 MB / 0.7487 GB, free: 11.97 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004876/2.693, allocations: 1.932 MB / 0.7506 GB, free: 11.22 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/2.693, allocations: 68.72 kB / 0.7507 GB, free: 11.21 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.996e-05/2.693, allocations: 72.47 kB / 0.7507 GB, free: 11.14 MB / 442.8 MB Notification: Performance of pre-optimization done (n=330): time 7.474e-06/2.693, allocations: 0 / 0.7507 GB, free: 11.14 MB / 442.8 MB Notification: Performance of matching and sorting (n=342): time 0.0548/2.748, allocations: 14.88 MB / 0.7653 GB, free: 3.82 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/2.748, allocations: 172.3 kB / 0.7654 GB, free: 3.652 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01529/2.764, allocations: 5.655 MB / 0.7709 GB, free: 1.5 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00085/2.765, allocations: 25.7 kB / 0.771 GB, free: 1.469 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00761/2.772, allocations: 6.784 MB / 0.7776 GB, free: 12.12 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00267/2.775, allocations: 1.275 MB / 0.7788 GB, free: 11.18 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/2.777, allocations: 0 / 0.7788 GB, free: 11.18 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001256/2.778, allocations: 0.7767 MB / 0.7796 GB, free: 10.67 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008268/2.786, allocations: 2.86 MB / 0.7824 GB, free: 9.66 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.015/2.801, allocations: 9.629 MB / 0.7918 GB, free: 15.24 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/2.814, allocations: 5.157 MB / 0.7968 GB, free: 13.23 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002727/2.814, allocations: 70.88 kB / 0.7969 GB, free: 13.23 MB / 474.8 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.0323/2.847, allocations: 10.86 MB / 0.8075 GB, free: 9.426 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/2.847, allocations: 110 kB / 0.8076 GB, free: 9.426 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003856/2.847, allocations: 247.2 kB / 0.8078 GB, free: 9.426 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/2.848, allocations: 356.8 kB / 0.8082 GB, free: 9.426 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01845/2.866, allocations: 2.712 MB / 0.8108 GB, free: 7.523 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006008/2.867, allocations: 484 kB / 0.8113 GB, free: 7.102 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/2.881, allocations: 499.3 kB / 0.8118 GB, free: 6.715 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003135/2.884, allocations: 0.6728 MB / 0.8124 GB, free: 6.059 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * 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 (1420): * Single equations (assignments): 1417 * 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.004379/2.888, allocations: 0.7126 MB / 0.8131 GB, free: 5.344 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01158/2.9, allocations: 3.703 MB / 0.8167 GB, free: 2.004 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/2.902, allocations: 0.6132 MB / 0.8173 GB, free: 1.383 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3644/3.267, allocations: 3.679 MB / 0.8209 GB, free: 96.39 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/3.267, allocations: 35.91 kB / 0.821 GB, free: 96.39 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/3.267, allocations: 1.031 kB / 0.821 GB, free: 96.39 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/3.267, allocations: 16.64 kB / 0.821 GB, free: 96.39 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1006/3.368, allocations: 45.72 MB / 0.8656 GB, free: 93.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001541/3.368, allocations: 68.44 kB / 0.8657 GB, free: 93.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005536/3.374, allocations: 0.7067 MB / 0.8664 GB, free: 93.18 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/3.374, allocations: 99.12 kB / 0.8665 GB, free: 93.18 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008485/3.375, allocations: 104.5 kB / 0.8666 GB, free: 93.18 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001082/3.375, allocations: 131.5 kB / 0.8667 GB, free: 93.18 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-05/3.375, allocations: 106.4 kB / 0.8668 GB, free: 93.18 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/3.389, allocations: 18.97 MB / 0.8853 GB, free: 73.71 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/3.392, allocations: 0.7182 MB / 0.886 GB, free: 73.58 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002511/3.395, allocations: 101.1 kB / 0.8861 GB, free: 73.58 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00688/3.401, allocations: 215.6 kB / 0.8863 GB, free: 73.58 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/3.403, allocations: 459.4 kB / 0.8868 GB, free: 73.46 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004748/3.403, allocations: 196.8 kB / 0.887 GB, free: 73.44 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00979/3.413, allocations: 3.778 MB / 0.8906 GB, free: 72.11 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.42e-07/3.413, allocations: 0 / 0.8906 GB, free: 72.11 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01447/3.428, allocations: 1.602 MB / 0.8922 GB, free: 72.11 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.01773/3.445, allocations: 31.87 MB / 0.9233 GB, free: 41.38 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01623/3.462, allocations: 6.796 MB / 0.93 GB, free: 39.45 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.79e-05/3.462, allocations: 11.56 kB / 0.93 GB, free: 39.45 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/3.467, allocations: 1.878 MB / 0.9318 GB, free: 38.82 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008111/3.475, allocations: 0.8082 MB / 0.9326 GB, free: 38.54 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07564/3.551, allocations: 21.64 MB / 0.9537 GB, free: 22.63 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02001/3.571, allocations: 7.096 MB / 0.9607 GB, free: 17.49 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01155/3.583, allocations: 4.794 MB / 0.9654 GB, free: 13.04 MB / 474.8 MB Notification: Performance of SimCode: time 2.334e-06/3.583, allocations: 0 / 0.9654 GB, free: 13.04 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.818/9.401, allocations: 168.4 MB / 1.13 GB, free: 36.32 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