Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.051/2.051, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.072e-05, allocations: 7.938 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4565/0.5642, allocations: 89.23 MB / 411.1 MB, free: 280 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5645, allocations: 75.95 kB / 411.2 MB, free: 204 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2793/0.8438, allocations: 55.1 MB / 466.3 MB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.227e-06/0.8439, allocations: 0 / 466.3 MB, free: 8.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001517/0.844, allocations: 48 kB / 466.3 MB, free: 8.695 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01019/0.8542, allocations: 2.613 MB / 468.9 MB, free: 6.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.8543, allocations: 8.031 kB / 468.9 MB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002586/0.8569, allocations: 0.5479 MB / 469.5 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.8716, allocations: 1.833 MB / 471.3 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.878, allocations: 1.711 MB / 473 MB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.8784, allocations: 217.7 kB / 473.3 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/0.8802, allocations: 279.9 kB / 473.5 MB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02225/0.9025, allocations: 6.531 MB / 480.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.9027, allocations: 19.81 kB / 480.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001351/0.904, allocations: 131.9 kB / 480.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001747/0.9058, allocations: 0.6843 MB / 480.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.9249, allocations: 5.634 MB / 486.5 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3607/1.286, allocations: 23.02 MB / 0.4976 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007629/1.293, allocations: 2.212 MB / 0.4998 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/1.295, allocations: 0.7582 MB / 0.5005 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/1.309, allocations: 3.763 MB / 0.5042 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.309, allocations: 38.58 kB / 0.5042 GB, free: 100.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 6.231e-06/1.309, allocations: 0 / 0.5042 GB, free: 100.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.009311/1.318, allocations: 1.721 MB / 0.5059 GB, free: 99.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.318, allocations: 64.06 kB / 0.506 GB, free: 99.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004582/1.323, allocations: 1.746 MB / 0.5077 GB, free: 99.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.323, allocations: 40.67 kB / 0.5077 GB, free: 99.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.325, allocations: 1.95 MB / 0.5096 GB, free: 98.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006327/1.326, allocations: 363.6 kB / 0.51 GB, free: 98.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/1.326, allocations: 61.91 kB / 0.51 GB, free: 98.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004635/1.327, allocations: 0.4906 MB / 0.5105 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/1.329, allocations: 0.8922 MB / 0.5114 GB, free: 98.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/1.333, allocations: 2.792 MB / 0.5141 GB, free: 95.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/1.337, allocations: 1.613 MB / 0.5157 GB, free: 95.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.337, allocations: 19.59 kB / 0.5157 GB, free: 95.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01026/1.348, allocations: 3.422 MB / 0.519 GB, free: 95.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/1.348, allocations: 34.28 kB / 0.5191 GB, free: 95.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/1.348, allocations: 68.03 kB / 0.5191 GB, free: 95.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/1.348, allocations: 103.8 kB / 0.5192 GB, free: 95.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/1.352, allocations: 0.7077 MB / 0.5199 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001299/1.352, allocations: 137.1 kB / 0.52 GB, free: 95.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/1.356, allocations: 435.1 kB / 0.5205 GB, free: 95.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005997/1.356, allocations: 192.5 kB / 0.5206 GB, free: 95.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (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.forceColor[3],cutForce.forceColor[2],cutForce.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 (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.0005696/1.357, allocations: 350.2 kB / 0.521 GB, free: 95.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/1.357, allocations: 169.6 kB / 0.5211 GB, free: 94.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/1.36, allocations: 1.163 MB / 0.5223 GB, free: 94.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.36, allocations: 7.875 kB / 0.5223 GB, free: 94.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.36, allocations: 0 / 0.5223 GB, free: 94.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/1.36, allocations: 11.33 kB / 0.5223 GB, free: 94.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.373, allocations: 4.931 MB / 0.5271 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/1.373, allocations: 9.781 kB / 0.5271 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.374, allocations: 137.5 kB / 0.5272 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/1.374, allocations: 14.88 kB / 0.5273 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.374, allocations: 28.25 kB / 0.5273 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/1.374, allocations: 16.22 kB / 0.5273 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.374, allocations: 13.91 kB / 0.5273 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/1.377, allocations: 2.175 MB / 0.5294 GB, free: 92.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/1.378, allocations: 268 kB / 0.5297 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/1.378, allocations: 28.52 kB / 0.5297 GB, free: 92.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.379, allocations: 33.84 kB / 0.5298 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.379, allocations: 74.09 kB / 0.5298 GB, free: 92.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/1.38, allocations: 46.36 kB / 0.5299 GB, free: 92.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002572/1.382, allocations: 1.273 MB / 0.5311 GB, free: 91.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.382, allocations: 0 / 0.5311 GB, free: 91.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003995/1.386, allocations: 0.7479 MB / 0.5318 GB, free: 91.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.003683/1.39, allocations: 5.233 MB / 0.537 GB, free: 86.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004635/1.395, allocations: 2.026 MB / 0.5389 GB, free: 86.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.395, allocations: 3.375 kB / 0.5389 GB, free: 86.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.396, allocations: 0.5215 MB / 0.5394 GB, free: 86.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/1.398, allocations: 236.2 kB / 0.5397 GB, free: 86.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.414, allocations: 5.388 MB / 0.5449 GB, free: 83.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.418, allocations: 2.448 MB / 0.5473 GB, free: 82.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004413/1.422, allocations: 1.012 MB / 0.5483 GB, free: 82.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/1.424, allocations: 1.11 MB / 0.5494 GB, free: 81.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/1.424, allocations: 0 / 0.5494 GB, free: 81.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.525, allocations: 38.64 MB / 0.5871 GB, free: 58.43 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/1.525, allocations: 148.5 kB / 0.5873 GB, free: 58.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.764/5.29, allocations: 0 / 0.5873 GB, free: 58.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat