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 1.981/1.981, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.572e-05/4.589e-05, allocations: 8 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4987/0.6078, allocations: 91.96 MB / 413.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6082, allocations: 75.95 kB / 413.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9396/1.548, allocations: 159.1 MB / 0.5595 GB, free: 87.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.548, allocations: 0 / 0.5595 GB, free: 87.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004441/1.548, allocations: 155.9 kB / 0.5597 GB, free: 87.3 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.03192/1.58, allocations: 7.751 MB / 0.5672 GB, free: 83.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.58, allocations: 7.312 kB / 0.5672 GB, free: 83.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007013/1.587, allocations: 1.4 MB / 0.5686 GB, free: 82.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03158/1.619, allocations: 3.622 MB / 0.5721 GB, free: 80.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03362/1.653, allocations: 9.544 MB / 0.5815 GB, free: 74.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008237/1.654, allocations: 0.6023 MB / 0.5821 GB, free: 74.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004711/1.658, allocations: 0.7954 MB / 0.5828 GB, free: 73.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06001/1.718, allocations: 18.66 MB / 0.6011 GB, free: 53.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000512/1.719, allocations: 91.22 kB / 0.6011 GB, free: 53.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0042/1.723, allocations: 384.1 kB / 0.6015 GB, free: 53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004799/1.728, allocations: 1.786 MB / 0.6033 GB, free: 51.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04799/1.776, allocations: 14.48 MB / 0.6174 GB, free: 36.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4707/2.247, allocations: 79.01 MB / 0.6946 GB, free: 25.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02925/2.276, allocations: 6.019 MB / 0.7004 GB, free: 25.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006065/2.282, allocations: 2.396 MB / 0.7028 GB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03481/2.317, allocations: 10.99 MB / 0.7135 GB, free: 21.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/2.317, allocations: 53.41 kB / 0.7136 GB, free: 21.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=238): time 7.865e-06/2.317, allocations: 3.562 kB / 0.7136 GB, free: 21.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=262): time 0.06923/2.387, allocations: 14.76 MB / 0.728 GB, free: 17.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/2.387, allocations: 154.9 kB / 0.7281 GB, free: 17.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01466/2.401, allocations: 5.727 MB / 0.7337 GB, free: 16.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005698/2.402, allocations: 66.03 kB / 0.7338 GB, free: 16.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004943/2.407, allocations: 5.582 MB / 0.7392 GB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001462/2.408, allocations: 1.015 MB / 0.7402 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/2.409, allocations: 179.1 kB / 0.7404 GB, free: 11.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005367/2.41, allocations: 0.6751 MB / 0.7411 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006257/2.416, allocations: 2.374 MB / 0.7434 GB, free: 10.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/2.426, allocations: 7.965 MB / 0.7511 GB, free: 2.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009827/2.436, allocations: 4.288 MB / 0.7553 GB, free: 1.215 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002184/2.437, allocations: 54.94 kB / 0.7554 GB, free: 1.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02726/2.464, allocations: 10.05 MB / 0.7652 GB, free: 13.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/2.464, allocations: 92.5 kB / 0.7653 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003756/2.464, allocations: 198.3 kB / 0.7655 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/2.465, allocations: 291.5 kB / 0.7658 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01402/2.479, allocations: 2.186 MB / 0.7679 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004441/2.479, allocations: 389.2 kB / 0.7683 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.491, allocations: 0.6077 MB / 0.7689 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/2.493, allocations: 0.5388 MB / 0.7694 GB, free: 13.39 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.00295/2.496, allocations: 0.8093 MB / 0.7702 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.498, allocations: 0.5754 MB / 0.7707 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008073/2.506, allocations: 2.741 MB / 0.7734 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/2.506, allocations: 29.94 kB / 0.7734 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/2.506, allocations: 3.953 kB / 0.7734 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/2.506, allocations: 17.97 kB / 0.7735 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06894/2.575, allocations: 26.41 MB / 0.7992 GB, free: 6.691 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001771/2.575, allocations: 55.06 kB / 0.7993 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004032/2.579, allocations: 0.5166 MB / 0.7998 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/2.579, allocations: 76 kB / 0.7999 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006415/2.58, allocations: 123.3 kB / 0.8 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000113/2.58, allocations: 101.4 kB / 0.8001 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.57e-05/2.58, allocations: 83.62 kB / 0.8002 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/2.595, allocations: 14.53 MB / 0.8144 GB, free: 5.441 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/2.598, allocations: 0.6825 MB / 0.815 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/2.6, allocations: 132 kB / 0.8152 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00575/2.606, allocations: 194.6 kB / 0.8153 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.607, allocations: 353.5 kB / 0.8157 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/2.607, allocations: 146.6 kB / 0.8158 GB, free: 4.078 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01238/2.619, allocations: 4.01 MB / 0.8197 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.282e-06/2.619, allocations: 0 / 0.8197 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01982/2.639, allocations: 1.938 MB / 0.8216 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.3826/3.022, allocations: 25.08 MB / 0.8461 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01574/3.038, allocations: 5.739 MB / 0.8517 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.183e-05/3.038, allocations: 12.16 kB / 0.8517 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003967/3.042, allocations: 1.445 MB / 0.8531 GB, free: 122 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008062/3.05, allocations: 0.8625 MB / 0.854 GB, free: 122 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0584/3.108, allocations: 16.51 MB / 0.8701 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/3.123, allocations: 5.733 MB / 0.8757 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01417/3.137, allocations: 2.794 MB / 0.8784 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008249/3.146, allocations: 3.661 MB / 0.882 GB, free: 116.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.104e-06/3.146, allocations: 2 kB / 0.882 GB, free: 116.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2512/3.397, allocations: 117.5 MB / 0.9967 GB, free: 32.34 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/3.397, allocations: 148.8 kB / 0.9969 GB, free: 32.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/10.52, allocations: 0 / 0.9969 GB, free: 32.11 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