Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.691/2.691, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.279e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5755/0.7169, allocations: 107.2 MB / 0.5054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.7173, allocations: 79.95 kB / 0.5055 GB, free: 12.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136/1.853, allocations: 175.2 MB / 0.6766 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/1.853, allocations: 0 / 0.6766 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005444/1.854, allocations: 171.2 kB / 0.6768 GB, free: 104.7 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.03371/1.888, allocations: 8.433 MB / 0.685 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.618e-05/1.888, allocations: 9.719 kB / 0.685 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007717/1.896, allocations: 1.558 MB / 0.6866 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03224/1.928, allocations: 3.779 MB / 0.6903 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03684/1.965, allocations: 9.434 MB / 0.6995 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001418/1.966, allocations: 0.6861 MB / 0.7001 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007313/1.974, allocations: 0.9035 MB / 0.701 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09629/2.07, allocations: 20.91 MB / 0.7214 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008553/2.071, allocations: 91.2 kB / 0.7215 GB, free: 77.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00668/2.078, allocations: 437.4 kB / 0.7219 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006306/2.084, allocations: 1.858 MB / 0.7238 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07856/2.163, allocations: 15.93 MB / 0.7393 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7779/2.941, allocations: 83.64 MB / 0.821 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03416/2.975, allocations: 6.335 MB / 0.8272 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006377/2.981, allocations: 2.306 MB / 0.8294 GB, free: 57.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03315/3.014, allocations: 10.94 MB / 0.8401 GB, free: 54.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/3.015, allocations: 59.53 kB / 0.8402 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 5.581e-06/3.015, allocations: 0 / 0.8402 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.07723/3.092, allocations: 15.75 MB / 0.8556 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/3.092, allocations: 152.3 kB / 0.8557 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/3.107, allocations: 5.875 MB / 0.8614 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005294/3.108, allocations: 62.38 kB / 0.8615 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005723/3.114, allocations: 6.036 MB / 0.8674 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/3.115, allocations: 0.9349 MB / 0.8683 GB, free: 45.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/3.116, allocations: 178.7 kB / 0.8685 GB, free: 45.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000618/3.117, allocations: 0.6735 MB / 0.8691 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006332/3.123, allocations: 2.31 MB / 0.8714 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/3.134, allocations: 7.997 MB / 0.8792 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009889/3.144, allocations: 4.248 MB / 0.8834 GB, free: 37.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003263/3.144, allocations: 58.53 kB / 0.8834 GB, free: 37.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02641/3.171, allocations: 9.437 MB / 0.8926 GB, free: 35.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/3.171, allocations: 98.31 kB / 0.8927 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003456/3.171, allocations: 203.2 kB / 0.8929 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/3.172, allocations: 302.4 kB / 0.8932 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01579/3.187, allocations: 2.159 MB / 0.8953 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009364/3.188, allocations: 404.2 kB / 0.8957 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/3.204, allocations: 0.5987 MB / 0.8963 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002579/3.207, allocations: 0.5458 MB / 0.8968 GB, free: 35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1129): * Single equations (assignments): 1126 * 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.004102/3.211, allocations: 0.8355 MB / 0.8976 GB, free: 34.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/3.213, allocations: 0.5762 MB / 0.8982 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/3.217, allocations: 0.7124 MB / 0.8989 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.417e-05/3.217, allocations: 26.97 kB / 0.8989 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/3.217, allocations: 1.438 kB / 0.8989 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.024e-05/3.217, allocations: 12.95 kB / 0.8989 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06342/3.28, allocations: 19.33 MB / 0.9178 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001822/3.281, allocations: 53.22 kB / 0.9179 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/3.284, allocations: 0.5007 MB / 0.9183 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.092e-05/3.284, allocations: 76.03 kB / 0.9184 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/3.284, allocations: 122.8 kB / 0.9185 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.696e-05/3.284, allocations: 103.5 kB / 0.9186 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.702e-05/3.285, allocations: 86.97 kB / 0.9187 GB, free: 25.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/3.295, allocations: 14.65 MB / 0.933 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/3.297, allocations: 0.6923 MB / 0.9337 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002195/3.3, allocations: 130.5 kB / 0.9338 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00578/3.305, allocations: 191.7 kB / 0.934 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008192/3.306, allocations: 356.2 kB / 0.9344 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/3.307, allocations: 148.4 kB / 0.9345 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01108/3.318, allocations: 4.08 MB / 0.9385 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.613e-06/3.318, allocations: 4 kB / 0.9385 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01234/3.33, allocations: 1.552 MB / 0.94 GB, free: 5.746 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.0179/3.348, allocations: 25.21 MB / 0.9646 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0148/3.363, allocations: 5.235 MB / 0.9697 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.894e-05/3.363, allocations: 8 kB / 0.9697 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003557/3.367, allocations: 1.26 MB / 0.971 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008963/3.376, allocations: 0.9747 MB / 0.9719 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06039/3.436, allocations: 17.5 MB / 0.989 GB, free: 4.293 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01885/3.455, allocations: 6.341 MB / 0.9952 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01439/3.469, allocations: 2.786 MB / 0.9979 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009781/3.479, allocations: 4.051 MB / 1.002 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/3.479, allocations: 4 kB / 1.002 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.802/4.281, allocations: 122.1 MB / 1.121 GB, free: 180.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/4.282, allocations: 154.5 kB / 1.121 GB, free: 180.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/12.07, allocations: 0 / 1.121 GB, free: 180.3 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat