Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.1e-05/5.101e-05, allocations: 0 / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5641, allocations: 92.41 MB / 414.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5644, allocations: 71.97 kB / 414.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3241/0.8885, allocations: 66.39 MB / 480.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.42e-06/0.8886, allocations: 0 / 480.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001878/0.8888, allocations: 67.94 kB / 480.8 MB, free: 10.22 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.01248/0.9013, allocations: 3.129 MB / 483.9 MB, free: 7.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.9013, allocations: 8.031 kB / 484 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003325/0.9047, allocations: 0.6758 MB / 484.6 MB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.9207, allocations: 1.949 MB / 486.6 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007885/0.9286, allocations: 2.032 MB / 488.6 MB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/0.9291, allocations: 279.4 kB / 488.9 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/0.9315, allocations: 367.9 kB / 489.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/0.9593, allocations: 8.014 MB / 497.3 MB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/0.9595, allocations: 19.81 kB / 497.3 MB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/0.9615, allocations: 171.9 kB / 497.4 MB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/0.9637, allocations: 0.8104 MB / 498.3 MB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02977/0.9935, allocations: 6.804 MB / 0.4932 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3603/1.354, allocations: 27.52 MB / 0.5201 GB, free: 92.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/1.366, allocations: 2.504 MB / 0.5225 GB, free: 92.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/1.37, allocations: 0.9547 MB / 0.5235 GB, free: 92.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01841/1.388, allocations: 4.482 MB / 0.5278 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.388, allocations: 40.09 kB / 0.5279 GB, free: 91.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 6.512e-06/1.388, allocations: 0 / 0.5279 GB, free: 91.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01496/1.403, allocations: 2.108 MB / 0.5299 GB, free: 90.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/1.403, allocations: 63.69 kB / 0.53 GB, free: 90.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/1.409, allocations: 1.961 MB / 0.5319 GB, free: 90.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002885/1.41, allocations: 41.61 kB / 0.532 GB, free: 89.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.412, allocations: 2.301 MB / 0.5342 GB, free: 88.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008961/1.413, allocations: 464.6 kB / 0.5347 GB, free: 88.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/1.414, allocations: 70.44 kB / 0.5347 GB, free: 88.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003533/1.414, allocations: 464 kB / 0.5352 GB, free: 87.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/1.418, allocations: 1.042 MB / 0.5362 GB, free: 87.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/1.423, allocations: 3.14 MB / 0.5392 GB, free: 84.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004345/1.427, allocations: 1.853 MB / 0.5411 GB, free: 83.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.126e-05/1.427, allocations: 20.22 kB / 0.5411 GB, free: 83.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01097/1.438, allocations: 3.917 MB / 0.5449 GB, free: 82.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/1.438, allocations: 38.66 kB / 0.5449 GB, free: 82.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.439, allocations: 74 kB / 0.545 GB, free: 82.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/1.439, allocations: 114.7 kB / 0.5451 GB, free: 82.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005125/1.444, allocations: 0.8103 MB / 0.5459 GB, free: 82.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001575/1.444, allocations: 145.6 kB / 0.546 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.448, allocations: 493.9 kB / 0.5465 GB, free: 82.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000809/1.449, allocations: 219.2 kB / 0.5467 GB, free: 82.11 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.0008231/1.45, allocations: 388.2 kB / 0.5471 GB, free: 81.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/1.45, allocations: 194 kB / 0.5473 GB, free: 81.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/1.454, allocations: 1.474 MB / 0.5487 GB, free: 81.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.231e-05/1.454, allocations: 15.38 kB / 0.5487 GB, free: 81.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.454, allocations: 3.953 kB / 0.5487 GB, free: 81.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.454, allocations: 7.625 kB / 0.5487 GB, free: 81.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.476, allocations: 7.304 MB / 0.5559 GB, free: 78.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.601e-05/1.476, allocations: 17.53 kB / 0.5559 GB, free: 78.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/1.478, allocations: 188 kB / 0.5561 GB, free: 78.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.151e-05/1.479, allocations: 22.34 kB / 0.5561 GB, free: 78.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/1.479, allocations: 39.36 kB / 0.5561 GB, free: 78.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.148e-05/1.479, allocations: 33.89 kB / 0.5562 GB, free: 78.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.113e-05/1.479, allocations: 19.25 kB / 0.5562 GB, free: 78.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006978/1.486, allocations: 3.142 MB / 0.5593 GB, free: 75.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.488, allocations: 333.8 kB / 0.5596 GB, free: 75.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.489, allocations: 33.23 kB / 0.5596 GB, free: 75.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002904/1.492, allocations: 58.78 kB / 0.5597 GB, free: 75.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/1.492, allocations: 108.2 kB / 0.5598 GB, free: 75.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.493, allocations: 57.16 kB / 0.5598 GB, free: 75.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005879/1.499, allocations: 1.521 MB / 0.5613 GB, free: 74.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.593e-06/1.499, allocations: 4 kB / 0.5613 GB, free: 74.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007689/1.506, allocations: 0.9179 MB / 0.5622 GB, free: 74.22 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.007933/1.514, allocations: 7.65 MB / 0.5697 GB, free: 67.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008815/1.523, allocations: 2.381 MB / 0.572 GB, free: 66.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.179e-05/1.523, allocations: 3.594 kB / 0.572 GB, free: 66.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/1.526, allocations: 0.6613 MB / 0.5727 GB, free: 66.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/1.53, allocations: 288.2 kB / 0.5729 GB, free: 66.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/1.562, allocations: 6.738 MB / 0.5795 GB, free: 63.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008883/1.571, allocations: 2.896 MB / 0.5823 GB, free: 61.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005421/1.576, allocations: 1.17 MB / 0.5835 GB, free: 61.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003047/1.579, allocations: 1.426 MB / 0.5849 GB, free: 59.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.014e-06/1.579, allocations: 3.938 kB / 0.5849 GB, free: 59.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/1.703, allocations: 46.97 MB / 0.6307 GB, free: 18.06 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/1.703, allocations: 174.1 kB / 0.6309 GB, free: 17.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.956/5.659, allocations: 0 / 0.6309 GB, free: 17.82 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat