Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.938e-05, allocations: 8 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4919, allocations: 54.85 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.6776, allocations: 98.7 MB / 458.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/0.678, allocations: 79.95 kB / 458.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005/1.683, allocations: 159.1 MB / 0.6032 GB, free: 85.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.683, allocations: 0 / 0.6032 GB, free: 85.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004454/1.684, allocations: 159.9 kB / 0.6034 GB, free: 85.42 MB / 458.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.03051/1.714, allocations: 7.735 MB / 0.6109 GB, free: 77.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.714, allocations: 16.03 kB / 0.6109 GB, free: 77.59 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006644/1.721, allocations: 1.396 MB / 0.6123 GB, free: 76.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03131/1.752, allocations: 3.616 MB / 0.6158 GB, free: 72.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0321/1.785, allocations: 9.562 MB / 0.6252 GB, free: 62.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008175/1.785, allocations: 0.6016 MB / 0.6258 GB, free: 62.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00463/1.79, allocations: 0.7967 MB / 0.6265 GB, free: 61.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05901/1.849, allocations: 18.58 MB / 0.6447 GB, free: 41.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005607/1.85, allocations: 95.14 kB / 0.6448 GB, free: 41.33 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004275/1.854, allocations: 387.8 kB / 0.6451 GB, free: 40.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004716/1.859, allocations: 1.782 MB / 0.6469 GB, free: 39.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04681/1.906, allocations: 14.19 MB / 0.6607 GB, free: 24.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5257/2.431, allocations: 79 MB / 0.7379 GB, free: 41.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03004/2.461, allocations: 5.996 MB / 0.7437 GB, free: 40.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006454/2.468, allocations: 2.39 MB / 0.7461 GB, free: 40.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03131/2.499, allocations: 11 MB / 0.7568 GB, free: 37.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/2.499, allocations: 62.94 kB / 0.7569 GB, free: 37.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 6.372e-06/2.499, allocations: 0 / 0.7569 GB, free: 37.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.06929/2.569, allocations: 14.75 MB / 0.7713 GB, free: 32.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/2.569, allocations: 153.6 kB / 0.7714 GB, free: 32.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/2.583, allocations: 5.725 MB / 0.777 GB, free: 32.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005635/2.584, allocations: 61.61 kB / 0.7771 GB, free: 32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004631/2.589, allocations: 5.354 MB / 0.7823 GB, free: 28.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/2.59, allocations: 1.013 MB / 0.7833 GB, free: 28.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009829/2.591, allocations: 173.7 kB / 0.7835 GB, free: 28.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005308/2.592, allocations: 0.6818 MB / 0.7841 GB, free: 27.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005921/2.598, allocations: 2.371 MB / 0.7864 GB, free: 27.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/2.608, allocations: 7.913 MB / 0.7942 GB, free: 19.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009784/2.617, allocations: 4.285 MB / 0.7984 GB, free: 17.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002254/2.618, allocations: 56.44 kB / 0.7984 GB, free: 17.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02561/2.643, allocations: 9.252 MB / 0.8074 GB, free: 15.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/2.644, allocations: 90.41 kB / 0.8075 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003998/2.644, allocations: 200.8 kB / 0.8077 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/2.645, allocations: 291 kB / 0.808 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01949/2.664, allocations: 2.184 MB / 0.8101 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005799/2.665, allocations: 392.2 kB / 0.8105 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0173/2.682, allocations: 0.6148 MB / 0.8111 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002294/2.684, allocations: 0.5339 MB / 0.8116 GB, free: 14.69 MB / 474.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.003015/2.687, allocations: 0.8042 MB / 0.8124 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/2.689, allocations: 0.5766 MB / 0.813 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/2.7, allocations: 2.74 MB / 0.8157 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-05/2.7, allocations: 27.39 kB / 0.8157 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/2.7, allocations: 6.047 kB / 0.8157 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-05/2.7, allocations: 11.64 kB / 0.8157 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06783/2.768, allocations: 26.3 MB / 0.8414 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001214/2.768, allocations: 53 kB / 0.8414 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003829/2.772, allocations: 0.5149 MB / 0.8419 GB, free: 8.652 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/2.772, allocations: 76.69 kB / 0.842 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004248/2.772, allocations: 122.7 kB / 0.8421 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001102/2.772, allocations: 108.9 kB / 0.8422 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.349e-05/2.773, allocations: 83.62 kB / 0.8423 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/2.787, allocations: 14.51 MB / 0.8565 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/2.79, allocations: 0.6933 MB / 0.8572 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/2.792, allocations: 125.5 kB / 0.8573 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005544/2.797, allocations: 198 kB / 0.8575 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009544/2.798, allocations: 349.9 kB / 0.8578 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004502/2.799, allocations: 147.8 kB / 0.8579 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01321/2.812, allocations: 4.009 MB / 0.8619 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.132e-06/2.812, allocations: 4 kB / 0.8619 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01253/2.825, allocations: 1.488 MB / 0.8633 GB, free: 1.543 MB / 0.4948 GB 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.01984/2.845, allocations: 25.08 MB / 0.8878 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01544/2.86, allocations: 5.407 MB / 0.8931 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.038e-05/2.86, allocations: 11.94 kB / 0.8931 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004048/2.864, allocations: 1.389 MB / 0.8945 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008416/2.873, allocations: 0.8611 MB / 0.8953 GB, free: 188 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4884/3.361, allocations: 17.32 MB / 0.9122 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01576/3.377, allocations: 5.738 MB / 0.9178 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007866/3.385, allocations: 3.726 MB / 0.9214 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/3.385, allocations: 0 / 0.9214 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.29/8.675, allocations: 137.6 MB / 1.056 GB, free: 52.98 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat