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 1.869/1.869, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.689e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5394, allocations: 92.4 MB / 414.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5397, allocations: 83.94 kB / 414.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2717/0.8114, allocations: 66.38 MB / 480.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.67e-06/0.8115, allocations: 0 / 480.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001806/0.8117, allocations: 67.94 kB / 480.8 MB, free: 10.53 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01194/0.8236, allocations: 3.122 MB / 483.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.8237, allocations: 12.03 kB / 483.9 MB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003307/0.827, allocations: 0.6758 MB / 484.6 MB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.8425, allocations: 1.949 MB / 486.5 MB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007715/0.8503, allocations: 2.028 MB / 488.5 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004436/0.8508, allocations: 283.4 kB / 488.8 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/0.853, allocations: 363.9 kB / 489.2 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02653/0.8795, allocations: 8.064 MB / 497.2 MB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.8798, allocations: 15.88 kB / 497.3 MB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/0.8818, allocations: 167.8 kB / 497.4 MB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002059/0.8839, allocations: 0.8143 MB / 498.2 MB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/0.9072, allocations: 6.909 MB / 0.4933 GB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3426/1.25, allocations: 27.51 MB / 0.5202 GB, free: 92.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008873/1.259, allocations: 2.514 MB / 0.5226 GB, free: 91.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/1.261, allocations: 0.9637 MB / 0.5236 GB, free: 91.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/1.276, allocations: 4.473 MB / 0.5279 GB, free: 90.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.276, allocations: 54.03 kB / 0.528 GB, free: 90.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 5.29e-06/1.276, allocations: 0 / 0.528 GB, free: 90.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01089/1.287, allocations: 2.104 MB / 0.53 GB, free: 90.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/1.287, allocations: 60.09 kB / 0.5301 GB, free: 90.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/1.291, allocations: 1.962 MB / 0.532 GB, free: 90.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/1.291, allocations: 41.45 kB / 0.5321 GB, free: 90.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.293, allocations: 2.309 MB / 0.5343 GB, free: 88.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/1.294, allocations: 460.7 kB / 0.5347 GB, free: 88.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/1.294, allocations: 75.12 kB / 0.5348 GB, free: 88.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/1.294, allocations: 462.9 kB / 0.5353 GB, free: 87.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/1.297, allocations: 1.043 MB / 0.5363 GB, free: 87.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/1.301, allocations: 3.159 MB / 0.5394 GB, free: 84.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004176/1.305, allocations: 1.852 MB / 0.5412 GB, free: 83.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.247e-05/1.305, allocations: 18.19 kB / 0.5412 GB, free: 83.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01088/1.316, allocations: 4.076 MB / 0.5452 GB, free: 82.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/1.316, allocations: 38.81 kB / 0.5452 GB, free: 82.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.316, allocations: 72.34 kB / 0.5453 GB, free: 82.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/1.317, allocations: 114.8 kB / 0.5454 GB, free: 82.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004996/1.322, allocations: 0.8192 MB / 0.5462 GB, free: 82.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001785/1.322, allocations: 148.5 kB / 0.5463 GB, free: 82.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/1.326, allocations: 488.6 kB / 0.5468 GB, free: 82.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008227/1.327, allocations: 218.9 kB / 0.547 GB, free: 82.02 MB / 426.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.0007785/1.327, allocations: 381.4 kB / 0.5474 GB, free: 81.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/1.328, allocations: 196.8 kB / 0.5476 GB, free: 81.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.331, allocations: 1.481 MB / 0.549 GB, free: 81.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-05/1.332, allocations: 15.19 kB / 0.549 GB, free: 81.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.332, allocations: 7.453 kB / 0.549 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.332, allocations: 6.75 kB / 0.549 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/1.351, allocations: 7.334 MB / 0.5562 GB, free: 78.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/1.351, allocations: 14.88 kB / 0.5562 GB, free: 78.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.353, allocations: 196.3 kB / 0.5564 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.309e-05/1.353, allocations: 21.41 kB / 0.5564 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/1.353, allocations: 40.91 kB / 0.5565 GB, free: 78.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.379e-05/1.353, allocations: 29.91 kB / 0.5565 GB, free: 78.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-05/1.353, allocations: 19.66 kB / 0.5565 GB, free: 78.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/1.357, allocations: 3.144 MB / 0.5596 GB, free: 75.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008453/1.358, allocations: 325.5 kB / 0.5599 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005065/1.358, allocations: 37.28 kB / 0.5599 GB, free: 75.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.36, allocations: 58.8 kB / 0.56 GB, free: 75.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/1.36, allocations: 110.6 kB / 0.5601 GB, free: 74.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.36, allocations: 59.23 kB / 0.5601 GB, free: 74.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003517/1.364, allocations: 1.52 MB / 0.5616 GB, free: 74.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.364, allocations: 0 / 0.5616 GB, free: 74.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004634/1.369, allocations: 0.9201 MB / 0.5625 GB, free: 74.1 MB / 426.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.005185/1.374, allocations: 7.65 MB / 0.57 GB, free: 67.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00573/1.38, allocations: 2.493 MB / 0.5724 GB, free: 66.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.182e-05/1.38, allocations: 3.938 kB / 0.5724 GB, free: 66.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.381, allocations: 0.6875 MB / 0.5731 GB, free: 65.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.384, allocations: 287.7 kB / 0.5734 GB, free: 65.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/1.405, allocations: 7.165 MB / 0.5804 GB, free: 62.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00631/1.412, allocations: 2.898 MB / 0.5832 GB, free: 61.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003513/1.415, allocations: 1.447 MB / 0.5846 GB, free: 59.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/1.415, allocations: 3.938 kB / 0.5846 GB, free: 59.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.662/5.077, allocations: 58.28 MB / 0.6415 GB, free: 7.047 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