Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 270 MB / 283.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.946e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4194, allocations: 61.87 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.6131, allocations: 102.7 MB / 0.5011 GB, free: 3.711 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.6135, allocations: 83.94 kB / 0.5011 GB, free: 3.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5732/1.187, allocations: 53.71 MB / 0.5536 GB, free: 88.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.187, allocations: 0 / 0.5536 GB, free: 88.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001265/1.187, allocations: 59.94 kB / 0.5537 GB, free: 88.64 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.008566/1.195, allocations: 2.514 MB / 0.5561 GB, free: 86.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.196, allocations: 12.03 kB / 0.5561 GB, free: 86.07 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001885/1.197, allocations: 0.5173 MB / 0.5566 GB, free: 85.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/1.211, allocations: 1.797 MB / 0.5584 GB, free: 83.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/1.216, allocations: 1.667 MB / 0.56 GB, free: 82.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/1.217, allocations: 213.5 kB / 0.5602 GB, free: 81.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/1.218, allocations: 267.9 kB / 0.5605 GB, free: 81.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/1.234, allocations: 6.239 MB / 0.5666 GB, free: 75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.912e-05/1.234, allocations: 15.81 kB / 0.5666 GB, free: 74.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005585/1.235, allocations: 123.9 kB / 0.5667 GB, free: 74.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001196/1.236, allocations: 0.6372 MB / 0.5673 GB, free: 74.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/1.251, allocations: 5.344 MB / 0.5725 GB, free: 68.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03914/1.291, allocations: 22.12 MB / 0.5941 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006519/1.297, allocations: 2.061 MB / 0.5961 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/1.299, allocations: 0.6798 MB / 0.5968 GB, free: 43.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009649/1.308, allocations: 3.528 MB / 0.6003 GB, free: 39.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.308, allocations: 46.94 kB / 0.6003 GB, free: 39.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 5.3e-06/1.308, allocations: 0 / 0.6003 GB, free: 39.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.008001/1.316, allocations: 1.581 MB / 0.6018 GB, free: 37.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.317, allocations: 55.84 kB / 0.6019 GB, free: 37.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/1.32, allocations: 1.722 MB / 0.6036 GB, free: 36.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/1.32, allocations: 33.7 kB / 0.6036 GB, free: 36.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/1.322, allocations: 1.883 MB / 0.6055 GB, free: 34.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/1.322, allocations: 323.9 kB / 0.6058 GB, free: 33.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/1.322, allocations: 56 kB / 0.6058 GB, free: 33.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002985/1.323, allocations: 497 kB / 0.6063 GB, free: 33.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.324, allocations: 0.8335 MB / 0.6071 GB, free: 32.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/1.327, allocations: 2.668 MB / 0.6097 GB, free: 28.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/1.33, allocations: 1.525 MB / 0.6112 GB, free: 27.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-05/1.33, allocations: 20 kB / 0.6112 GB, free: 27.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.007288/1.338, allocations: 3.231 MB / 0.6144 GB, free: 24.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/1.338, allocations: 33.72 kB / 0.6144 GB, free: 24.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.549e-05/1.338, allocations: 68 kB / 0.6145 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/1.338, allocations: 99.98 kB / 0.6146 GB, free: 23.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.342, allocations: 0.655 MB / 0.6152 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001102/1.342, allocations: 131.5 kB / 0.6153 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/1.345, allocations: 419.9 kB / 0.6157 GB, free: 22.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/1.345, allocations: 176 kB / 0.6159 GB, free: 22.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 359 * 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.0004715/1.345, allocations: 338.4 kB / 0.6162 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/1.346, allocations: 157.9 kB / 0.6164 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/1.346, allocations: 205.2 kB / 0.6166 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/1.346, allocations: 12 kB / 0.6166 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.346, allocations: 0 / 0.6166 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.346, allocations: 0 / 0.6166 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009624/1.356, allocations: 4.13 MB / 0.6206 GB, free: 17.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.356, allocations: 4 kB / 0.6206 GB, free: 17.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/1.357, allocations: 107.9 kB / 0.6207 GB, free: 17.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/1.357, allocations: 11.94 kB / 0.6207 GB, free: 17.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/1.357, allocations: 16 kB / 0.6207 GB, free: 17.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/1.357, allocations: 11.98 kB / 0.6208 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.357, allocations: 7.938 kB / 0.6208 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/1.359, allocations: 1.642 MB / 0.6224 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/1.36, allocations: 258.6 kB / 0.6226 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/1.36, allocations: 16 kB / 0.6226 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/1.361, allocations: 23.98 kB / 0.6227 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.361, allocations: 63.72 kB / 0.6227 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/1.361, allocations: 28 kB / 0.6227 GB, free: 15.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002774/1.364, allocations: 1.252 MB / 0.624 GB, free: 13.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.364, allocations: 0 / 0.624 GB, free: 13.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003699/1.368, allocations: 0.7193 MB / 0.6247 GB, free: 13.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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.002972/1.371, allocations: 3.779 MB / 0.6284 GB, free: 9.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004289/1.375, allocations: 1.865 MB / 0.6302 GB, free: 7.227 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.931e-05/1.375, allocations: 4 kB / 0.6302 GB, free: 7.223 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008408/1.376, allocations: 443.5 kB / 0.6306 GB, free: 6.793 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.378, allocations: 241.6 kB / 0.6308 GB, free: 6.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.393, allocations: 4.98 MB / 0.6357 GB, free: 1.445 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00471/1.398, allocations: 2.367 MB / 0.638 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004543/1.403, allocations: 0.9678 MB / 0.639 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002613/1.405, allocations: 1.058 MB / 0.64 GB, free: 13.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/1.405, allocations: 0 / 0.64 GB, free: 13.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/1.517, allocations: 36.82 MB / 0.6759 GB, free: 8.41 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003483/1.517, allocations: 152.3 kB / 0.6761 GB, free: 8.184 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/5.091, allocations: 0 / 0.6761 GB, free: 8.184 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat