Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.686/2.686, allocations: 270 MB / 283.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.96e-05, allocations: 8 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4295, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.6722, allocations: 105.1 MB / 0.5033 GB, free: 1.391 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.6725, allocations: 75.95 kB / 0.5034 GB, free: 1.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5967/1.269, allocations: 60.88 MB / 0.5629 GB, free: 79.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.269, allocations: 4 kB / 0.5629 GB, free: 79.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001414/1.269, allocations: 56 kB / 0.5629 GB, free: 79.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.009629/1.279, allocations: 2.881 MB / 0.5657 GB, free: 76.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.279, allocations: 12.03 kB / 0.5658 GB, free: 76.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002443/1.282, allocations: 0.6096 MB / 0.5663 GB, free: 75.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/1.296, allocations: 1.879 MB / 0.5682 GB, free: 73.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006113/1.302, allocations: 1.892 MB / 0.57 GB, free: 71.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/1.302, allocations: 258.6 kB / 0.5703 GB, free: 71.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/1.304, allocations: 331.9 kB / 0.5706 GB, free: 71.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/1.325, allocations: 7.227 MB / 0.5777 GB, free: 63.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/1.325, allocations: 15.81 kB / 0.5777 GB, free: 63.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009523/1.326, allocations: 155.9 kB / 0.5778 GB, free: 63.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/1.328, allocations: 0.7005 MB / 0.5785 GB, free: 62.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/1.346, allocations: 6.092 MB / 0.5844 GB, free: 56.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04589/1.392, allocations: 25.05 MB / 0.6089 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007281/1.399, allocations: 2.174 MB / 0.611 GB, free: 28.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/1.401, allocations: 0.758 MB / 0.6118 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/1.417, allocations: 3.918 MB / 0.6156 GB, free: 23.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/1.417, allocations: 47.06 kB / 0.6156 GB, free: 23.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=87): time 5.971e-06/1.417, allocations: 0 / 0.6156 GB, free: 23.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=87): time 0.01425/1.431, allocations: 1.796 MB / 0.6174 GB, free: 21.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.431, allocations: 59.97 kB / 0.6175 GB, free: 21.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005558/1.437, allocations: 1.842 MB / 0.6193 GB, free: 19.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/1.437, allocations: 37.7 kB / 0.6193 GB, free: 19.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.439, allocations: 2.112 MB / 0.6214 GB, free: 17.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006499/1.44, allocations: 347.6 kB / 0.6217 GB, free: 17.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/1.441, allocations: 60 kB / 0.6217 GB, free: 17.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003453/1.441, allocations: 444.7 kB / 0.6222 GB, free: 16.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00298/1.444, allocations: 0.8847 MB / 0.623 GB, free: 15.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004856/1.449, allocations: 2.811 MB / 0.6258 GB, free: 12.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/1.454, allocations: 1.604 MB / 0.6273 GB, free: 10.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.858e-05/1.454, allocations: 20 kB / 0.6274 GB, free: 10.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01344/1.467, allocations: 3.421 MB / 0.6307 GB, free: 7.109 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/1.468, allocations: 37.52 kB / 0.6307 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002123/1.468, allocations: 72 kB / 0.6308 GB, free: 7.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/1.468, allocations: 100 kB / 0.6309 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00642/1.474, allocations: 0.6979 MB / 0.6316 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002385/1.475, allocations: 135.9 kB / 0.6317 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/1.48, allocations: 439.4 kB / 0.6321 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008613/1.481, allocations: 188 kB / 0.6323 GB, free: 5.457 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (385): * Single equations (assignments): 382 * 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.0007202/1.482, allocations: 367.2 kB / 0.6327 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/1.482, allocations: 169.8 kB / 0.6328 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008532/1.483, allocations: 226.7 kB / 0.633 GB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/1.483, allocations: 11.98 kB / 0.6331 GB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.483, allocations: 0 / 0.6331 GB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/1.483, allocations: 4 kB / 0.6331 GB, free: 4.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/1.497, allocations: 5.048 MB / 0.638 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.497, allocations: 8 kB / 0.638 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009401/1.498, allocations: 124.6 kB / 0.6381 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/1.498, allocations: 12 kB / 0.6381 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/1.498, allocations: 20 kB / 0.6381 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/1.498, allocations: 15.98 kB / 0.6382 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/1.498, allocations: 11.94 kB / 0.6382 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/1.501, allocations: 1.992 MB / 0.6401 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007665/1.502, allocations: 294.3 kB / 0.6404 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/1.502, allocations: 23.98 kB / 0.6404 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.504, allocations: 27.89 kB / 0.6404 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.504, allocations: 67.77 kB / 0.6405 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.504, allocations: 35.98 kB / 0.6405 GB, free: 12.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003904/1.508, allocations: 1.439 MB / 0.6419 GB, free: 10.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.233e-06/1.508, allocations: 0 / 0.6419 GB, free: 10.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004505/1.512, allocations: 0.8163 MB / 0.6427 GB, free: 10.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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.0045/1.517, allocations: 4.673 MB / 0.6473 GB, free: 5.219 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005214/1.522, allocations: 1.989 MB / 0.6493 GB, free: 3.246 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.522, allocations: 0 / 0.6493 GB, free: 3.246 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/1.523, allocations: 0.494 MB / 0.6497 GB, free: 2.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.525, allocations: 266.1 kB / 0.65 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.546, allocations: 5.794 MB / 0.6556 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/1.552, allocations: 2.667 MB / 0.6583 GB, free: 9.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004935/1.557, allocations: 1.04 MB / 0.6593 GB, free: 8.797 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003133/1.56, allocations: 1.269 MB / 0.6605 GB, free: 7.527 MB / 474.7 MB Notification: Performance of SimCode: time 2.395e-06/1.56, allocations: 3.938 kB / 0.6605 GB, free: 7.523 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/1.678, allocations: 41.95 MB / 0.7015 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.678, allocations: 157.2 kB / 0.7016 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.784/5.463, allocations: 4 kB / 0.7016 GB, free: 13.55 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat