Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.611/2.611, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.439e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4321, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.628, allocations: 98.34 MB / 452.8 MB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6284, allocations: 75.95 kB / 452.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6118/1.24, allocations: 64.76 MB / 0.5055 GB, free: 59.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.24, allocations: 0 / 0.5055 GB, free: 59.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001641/1.24, allocations: 71.94 kB / 0.5055 GB, free: 59.56 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.0116/1.252, allocations: 3.118 MB / 0.5086 GB, free: 56.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.252, allocations: 12.03 kB / 0.5086 GB, free: 56.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/1.269, allocations: 1.929 MB / 0.5105 GB, free: 54.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007581/1.277, allocations: 2.032 MB / 0.5125 GB, free: 52.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/1.277, allocations: 124 kB / 0.5126 GB, free: 52.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/1.279, allocations: 216 kB / 0.5128 GB, free: 52.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01461/1.294, allocations: 5.379 MB / 0.5181 GB, free: 46.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/1.316, allocations: 7.381 MB / 0.5253 GB, free: 38.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/1.316, allocations: 19.81 kB / 0.5253 GB, free: 38.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/1.318, allocations: 12 kB / 0.5253 GB, free: 38.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001923/1.32, allocations: 0.8191 MB / 0.5261 GB, free: 38.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05461/1.374, allocations: 26.51 MB / 0.552 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/1.378, allocations: 1.742 MB / 0.5537 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.38, allocations: 0.7035 MB / 0.5544 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/1.38, allocations: 25.39 kB / 0.5544 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.38, allocations: 47.81 kB / 0.5544 GB, free: 8.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 6.583e-06/1.38, allocations: 4 kB / 0.5544 GB, free: 8.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.00815/1.388, allocations: 1.857 MB / 0.5562 GB, free: 6.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.388, allocations: 60.72 kB / 0.5563 GB, free: 6.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/1.392, allocations: 1.749 MB / 0.558 GB, free: 4.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002678/1.392, allocations: 25.7 kB / 0.558 GB, free: 4.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001841/1.394, allocations: 2.348 MB / 0.5603 GB, free: 2.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007518/1.395, allocations: 493.5 kB / 0.5608 GB, free: 1.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/1.395, allocations: 0 / 0.5608 GB, free: 1.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004179/1.396, allocations: 0.5148 MB / 0.5613 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/1.398, allocations: 1.05 MB / 0.5623 GB, free: 15.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/1.404, allocations: 3.334 MB / 0.5656 GB, free: 11.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005503/1.41, allocations: 1.906 MB / 0.5674 GB, free: 9.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.099e-05/1.41, allocations: 24 kB / 0.5675 GB, free: 9.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.0134/1.423, allocations: 3.919 MB / 0.5713 GB, free: 5.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/1.423, allocations: 40 kB / 0.5713 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/1.424, allocations: 84.12 kB / 0.5714 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/1.424, allocations: 120 kB / 0.5715 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006684/1.431, allocations: 0.8734 MB / 0.5724 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000214/1.431, allocations: 167.3 kB / 0.5725 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/1.435, allocations: 418.8 kB / 0.5729 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009232/1.436, allocations: 236 kB / 0.5732 GB, free: 3.695 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.0008646/1.437, allocations: 321.9 kB / 0.5735 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004221/1.441, allocations: 1.408 MB / 0.5749 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/1.442, allocations: 193.6 kB / 0.575 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/1.447, allocations: 1.61 MB / 0.5766 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.816e-05/1.447, allocations: 23.89 kB / 0.5766 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.447, allocations: 3.938 kB / 0.5766 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.447, allocations: 3.984 kB / 0.5766 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/1.469, allocations: 7.052 MB / 0.5835 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/1.469, allocations: 19.95 kB / 0.5835 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.471, allocations: 215.5 kB / 0.5837 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.925e-05/1.471, allocations: 24 kB / 0.5838 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/1.472, allocations: 31.98 kB / 0.5838 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.739e-05/1.472, allocations: 27.92 kB / 0.5838 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.262e-05/1.472, allocations: 23.88 kB / 0.5839 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/1.478, allocations: 3.192 MB / 0.587 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007334/1.478, allocations: 286.3 kB / 0.5872 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006016/1.479, allocations: 23.98 kB / 0.5873 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.481, allocations: 35.92 kB / 0.5873 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003836/1.481, allocations: 123.6 kB / 0.5874 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.482, allocations: 59.98 kB / 0.5875 GB, free: 3.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003238/1.485, allocations: 1.153 MB / 0.5886 GB, free: 2.699 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.313e-06/1.485, allocations: 0 / 0.5886 GB, free: 2.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005796/1.491, allocations: 0.8701 MB / 0.5894 GB, free: 1.824 MB / 426.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.008429/1.499, allocations: 8.156 MB / 0.5974 GB, free: 9.168 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007301/1.506, allocations: 2.509 MB / 0.5999 GB, free: 6.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.203e-05/1.507, allocations: 4 kB / 0.5999 GB, free: 6.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/1.509, allocations: 0.7272 MB / 0.6006 GB, free: 5.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.511, allocations: 207 kB / 0.6008 GB, free: 5.746 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/1.537, allocations: 6.833 MB / 0.6074 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007462/1.544, allocations: 2.899 MB / 0.6103 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007422/1.552, allocations: 1.279 MB / 0.6115 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004197/1.556, allocations: 1.444 MB / 0.6129 GB, free: 8.992 MB / 458.7 MB Notification: Performance of SimCode: time 1.634e-06/1.556, allocations: 0 / 0.6129 GB, free: 8.992 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5387/2.094, allocations: 42.51 MB / 0.6545 GB, free: 118.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003126/2.095, allocations: 155.3 kB / 0.6546 GB, free: 118.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.224/6.319, allocations: 0 / 0.6546 GB, free: 118.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat