Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.545/2.545, allocations: 235.1 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.274e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4227, allocations: 54.88 MB / 354.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.6151, allocations: 98.02 MB / 452.5 MB, free: 212 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.6154, allocations: 75.95 kB / 452.5 MB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086/1.701, allocations: 155.4 MB / 0.5937 GB, free: 32.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.654e-06/1.701, allocations: 0 / 0.5937 GB, free: 32.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006396/1.702, allocations: 148 kB / 0.5938 GB, free: 32.55 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.04243/1.744, allocations: 7.752 MB / 0.6014 GB, free: 24.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.744, allocations: 8.031 kB / 0.6014 GB, free: 24.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03547/1.78, allocations: 3.624 MB / 0.6049 GB, free: 21.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03463/1.815, allocations: 9.536 MB / 0.6142 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006036/1.815, allocations: 264 kB / 0.6145 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004453/1.82, allocations: 476.2 kB / 0.6149 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03117/1.851, allocations: 11.17 MB / 0.6258 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05952/1.91, allocations: 16.31 MB / 0.6418 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005636/1.911, allocations: 95.12 kB / 0.6419 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004249/1.915, allocations: 44 kB / 0.6419 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006208/1.922, allocations: 1.778 MB / 0.6436 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5788/2.5, allocations: 79.68 MB / 0.7214 GB, free: 42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007131/2.508, allocations: 2.98 MB / 0.7244 GB, free: 41.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003335/2.511, allocations: 1.408 MB / 0.7257 GB, free: 41.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/2.511, allocations: 45.77 kB / 0.7258 GB, free: 41.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/2.511, allocations: 61.56 kB / 0.7258 GB, free: 41.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=232): time 6.943e-06/2.511, allocations: 0 / 0.7258 GB, free: 41.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.0442/2.556, allocations: 11.45 MB / 0.737 GB, free: 36.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/2.556, allocations: 160 kB / 0.7372 GB, free: 36.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/2.567, allocations: 5.021 MB / 0.7421 GB, free: 36.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005017/2.567, allocations: 29.3 kB / 0.7421 GB, free: 36.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004775/2.572, allocations: 5.684 MB / 0.7476 GB, free: 33.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001329/2.573, allocations: 0.9269 MB / 0.7485 GB, free: 32.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007589/2.574, allocations: 0 / 0.7485 GB, free: 32.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005458/2.575, allocations: 0.6835 MB / 0.7492 GB, free: 32.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00553/2.58, allocations: 2.248 MB / 0.7514 GB, free: 32.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009232/2.589, allocations: 7.997 MB / 0.7592 GB, free: 24.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009772/2.599, allocations: 4.18 MB / 0.7633 GB, free: 24.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002071/2.6, allocations: 58.81 kB / 0.7634 GB, free: 24.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02654/2.626, allocations: 8.987 MB / 0.7721 GB, free: 22.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/2.626, allocations: 95.22 kB / 0.7722 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002725/2.627, allocations: 212.2 kB / 0.7724 GB, free: 22.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/2.627, allocations: 306.7 kB / 0.7727 GB, free: 22.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01535/2.642, allocations: 2.228 MB / 0.7749 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003497/2.643, allocations: 409.5 kB / 0.7753 GB, free: 22.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/2.656, allocations: 461.9 kB / 0.7757 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002243/2.658, allocations: 0.5494 MB / 0.7763 GB, free: 22 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 (1158): * Single equations (assignments): 1155 * 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.002474/2.661, allocations: 0.6118 MB / 0.7769 GB, free: 21.49 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00707/2.668, allocations: 2.69 MB / 0.7795 GB, free: 20.47 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/2.669, allocations: 0.5284 MB / 0.78 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/2.676, allocations: 2.405 MB / 0.7824 GB, free: 19.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.049e-05/2.676, allocations: 25.09 kB / 0.7824 GB, free: 19.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/2.676, allocations: 7.953 kB / 0.7824 GB, free: 19.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-05/2.676, allocations: 13.38 kB / 0.7824 GB, free: 19.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06452/2.741, allocations: 23 MB / 0.8049 GB, free: 7.906 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.355e-05/2.741, allocations: 52.25 kB / 0.8049 GB, free: 7.855 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003798/2.745, allocations: 491.7 kB / 0.8054 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.9e-05/2.745, allocations: 72 kB / 0.8054 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/2.745, allocations: 71.89 kB / 0.8055 GB, free: 7.301 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.9e-05/2.745, allocations: 87.19 kB / 0.8056 GB, free: 7.223 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.857e-05/2.745, allocations: 75.69 kB / 0.8057 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/2.758, allocations: 12.59 MB / 0.818 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/2.761, allocations: 0.6183 MB / 0.8186 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/2.763, allocations: 74.27 kB / 0.8186 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005517/2.768, allocations: 151.4 kB / 0.8188 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000997/2.769, allocations: 321.4 kB / 0.8191 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003962/2.77, allocations: 138.5 kB / 0.8192 GB, free: 7.195 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.011/2.781, allocations: 3.382 MB / 0.8225 GB, free: 4.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.252e-06/2.781, allocations: 0 / 0.8225 GB, free: 4.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01371/2.795, allocations: 1.263 MB / 0.8238 GB, free: 3.008 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.01948/2.814, allocations: 22.66 MB / 0.8459 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01542/2.829, allocations: 5.29 MB / 0.8511 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-05/2.83, allocations: 8 kB / 0.8511 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/2.833, allocations: 1.292 MB / 0.8523 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007233/2.841, allocations: 0.6958 MB / 0.853 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4716/3.312, allocations: 15.86 MB / 0.8685 GB, free: 130 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01623/3.328, allocations: 5.703 MB / 0.8741 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01668/3.345, allocations: 2.828 MB / 0.8768 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009493/3.355, allocations: 3.656 MB / 0.8804 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.705e-06/3.355, allocations: 0 / 0.8804 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2872/3.642, allocations: 107.5 MB / 0.9854 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002318/3.642, allocations: 137.2 kB / 0.9855 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.525/11.17, allocations: 4.031 kB / 0.9855 GB, free: 65.88 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat