Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.045/2.045, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.336e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5551, allocations: 91.96 MB / 413.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.5555, allocations: 79.95 kB / 413.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.075/1.631, allocations: 159.1 MB / 0.5596 GB, free: 87.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.631, allocations: 0 / 0.5596 GB, free: 87.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005179/1.632, allocations: 160.2 kB / 0.5597 GB, free: 87.27 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03169/1.663, allocations: 7.743 MB / 0.5673 GB, free: 83.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.663, allocations: 10.59 kB / 0.5673 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006288/1.67, allocations: 1.397 MB / 0.5686 GB, free: 82.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03363/1.703, allocations: 3.622 MB / 0.5722 GB, free: 80.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04258/1.746, allocations: 9.537 MB / 0.5815 GB, free: 74.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/1.747, allocations: 0.6075 MB / 0.5821 GB, free: 73.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005192/1.752, allocations: 0.7951 MB / 0.5829 GB, free: 73.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06223/1.814, allocations: 18.57 MB / 0.601 GB, free: 53.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004963/1.815, allocations: 95.16 kB / 0.6011 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003963/1.819, allocations: 379.7 kB / 0.6015 GB, free: 52.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004662/1.824, allocations: 1.787 MB / 0.6032 GB, free: 51.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04533/1.869, allocations: 14.2 MB / 0.6171 GB, free: 36.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4752/2.344, allocations: 79 MB / 0.6942 GB, free: 26.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02967/2.374, allocations: 5.997 MB / 0.7001 GB, free: 25.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006078/2.38, allocations: 2.388 MB / 0.7024 GB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0403/2.421, allocations: 11 MB / 0.7131 GB, free: 22.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.876e-05/2.421, allocations: 56.53 kB / 0.7132 GB, free: 22.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=238): time 1.219e-05/2.421, allocations: 0 / 0.7132 GB, free: 22.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=262): time 0.0702/2.491, allocations: 14.74 MB / 0.7276 GB, free: 17.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/2.491, allocations: 162.1 kB / 0.7277 GB, free: 17.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01552/2.507, allocations: 5.722 MB / 0.7333 GB, free: 17.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005918/2.507, allocations: 65.27 kB / 0.7334 GB, free: 17.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00544/2.513, allocations: 5.592 MB / 0.7389 GB, free: 13.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001617/2.514, allocations: 1.01 MB / 0.7398 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/2.516, allocations: 175.6 kB / 0.74 GB, free: 12.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006729/2.516, allocations: 0.6772 MB / 0.7407 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006836/2.523, allocations: 2.373 MB / 0.743 GB, free: 10.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/2.533, allocations: 7.912 MB / 0.7507 GB, free: 2.621 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009826/2.543, allocations: 4.29 MB / 0.7549 GB, free: 1.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002315/2.544, allocations: 57.78 kB / 0.755 GB, free: 1.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02764/2.571, allocations: 9.488 MB / 0.7642 GB, free: 14.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/2.571, allocations: 90.5 kB / 0.7643 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003454/2.572, allocations: 198.5 kB / 0.7645 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/2.572, allocations: 296.4 kB / 0.7648 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01451/2.587, allocations: 2.179 MB / 0.7669 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004931/2.587, allocations: 395.2 kB / 0.7673 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/2.6, allocations: 0.6118 MB / 0.7679 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002232/2.602, allocations: 0.5346 MB / 0.7684 GB, free: 13.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1125 * 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.002827/2.605, allocations: 0.8029 MB / 0.7692 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/2.607, allocations: 0.577 MB / 0.7698 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/2.614, allocations: 2.743 MB / 0.7724 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-05/2.614, allocations: 28.94 kB / 0.7725 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/2.614, allocations: 3.719 kB / 0.7725 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/2.614, allocations: 15.34 kB / 0.7725 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06582/2.68, allocations: 26.28 MB / 0.7981 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/2.68, allocations: 56 kB / 0.7982 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003988/2.684, allocations: 0.5155 MB / 0.7987 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/2.684, allocations: 76 kB / 0.7988 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005658/2.685, allocations: 112 kB / 0.7989 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001124/2.685, allocations: 114.3 kB / 0.799 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.956e-05/2.685, allocations: 83.62 kB / 0.7991 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/2.7, allocations: 14.53 MB / 0.8133 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/2.702, allocations: 0.6894 MB / 0.8139 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/2.705, allocations: 123.4 kB / 0.814 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006203/2.711, allocations: 201.8 kB / 0.8142 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/2.712, allocations: 351.7 kB / 0.8146 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004097/2.713, allocations: 151.9 kB / 0.8147 GB, free: 4.953 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01275/2.725, allocations: 4.013 MB / 0.8186 GB, free: 1.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.603e-06/2.725, allocations: 7.781 kB / 0.8186 GB, free: 1.426 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01336/2.739, allocations: 1.515 MB / 0.8201 GB, free: 0 / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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.3615/3.1, allocations: 25.06 MB / 0.8446 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01504/3.115, allocations: 5.418 MB / 0.8499 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-05/3.116, allocations: 7.656 kB / 0.8499 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003975/3.12, allocations: 1.385 MB / 0.8512 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007939/3.128, allocations: 0.8567 MB / 0.8521 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05962/3.187, allocations: 16.45 MB / 0.8681 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01639/3.204, allocations: 5.729 MB / 0.8737 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01578/3.22, allocations: 2.798 MB / 0.8765 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009343/3.229, allocations: 3.655 MB / 0.88 GB, free: 116.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.684e-06/3.229, allocations: 0 / 0.88 GB, free: 116.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2975/3.527, allocations: 116.7 MB / 0.994 GB, free: 33.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/3.527, allocations: 147.7 kB / 0.9942 GB, free: 33.24 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/11.01, allocations: 3.938 kB / 0.9942 GB, free: 33.24 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat