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.068/2.068, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.406e-05, allocations: 0 / 267.6 MB, free: 4.969 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 48.71 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/0.5899, allocations: 91.52 MB / 407.8 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/0.5903, allocations: 82 kB / 407.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9815/1.572, allocations: 155.4 MB / 0.5501 GB, free: 75.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.388e-06/1.572, allocations: 0 / 0.5501 GB, free: 75.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005303/1.572, allocations: 158.5 kB / 0.5502 GB, free: 75.97 MB / 410.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.03204/1.605, allocations: 7.735 MB / 0.5578 GB, free: 70.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/1.605, allocations: 14.86 kB / 0.5578 GB, free: 70.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03202/1.637, allocations: 3.619 MB / 0.5613 GB, free: 68.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03215/1.669, allocations: 9.53 MB / 0.5706 GB, free: 58.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005725/1.669, allocations: 264 kB / 0.5709 GB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005241/1.675, allocations: 485.1 kB / 0.5714 GB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02999/1.705, allocations: 11.17 MB / 0.5823 GB, free: 46.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06036/1.765, allocations: 16.32 MB / 0.5982 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006146/1.766, allocations: 83.56 kB / 0.5983 GB, free: 29.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004767/1.771, allocations: 51.95 kB / 0.5983 GB, free: 28.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006186/1.777, allocations: 1.777 MB / 0.6001 GB, free: 27.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4941/2.271, allocations: 79.68 MB / 0.6779 GB, free: 41.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007126/2.278, allocations: 2.983 MB / 0.6808 GB, free: 40.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/2.282, allocations: 1.408 MB / 0.6822 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/2.282, allocations: 40.23 kB / 0.6822 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/2.282, allocations: 61.94 kB / 0.6823 GB, free: 40.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=232): time 7.083e-06/2.282, allocations: 2.344 kB / 0.6823 GB, free: 40.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=244): time 0.043/2.325, allocations: 11.45 MB / 0.6934 GB, free: 35.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/2.325, allocations: 163.2 kB / 0.6936 GB, free: 35.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01705/2.343, allocations: 5.024 MB / 0.6985 GB, free: 35.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006704/2.343, allocations: 29.05 kB / 0.6985 GB, free: 35.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007978/2.351, allocations: 5.68 MB / 0.7041 GB, free: 31.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002121/2.353, allocations: 0.924 MB / 0.705 GB, free: 31.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/2.355, allocations: 0 / 0.705 GB, free: 31.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001203/2.356, allocations: 0.6892 MB / 0.7056 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009119/2.365, allocations: 2.248 MB / 0.7078 GB, free: 31.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01463/2.38, allocations: 7.994 MB / 0.7156 GB, free: 23.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009747/2.39, allocations: 4.184 MB / 0.7197 GB, free: 22.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002676/2.39, allocations: 59.62 kB / 0.7198 GB, free: 22.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02649/2.417, allocations: 8.977 MB / 0.7286 GB, free: 19.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/2.417, allocations: 99 kB / 0.7286 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003654/2.417, allocations: 206.5 kB / 0.7288 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/2.418, allocations: 305.9 kB / 0.7291 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/2.432, allocations: 2.236 MB / 0.7313 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004037/2.433, allocations: 404.3 kB / 0.7317 GB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/2.446, allocations: 455.8 kB / 0.7321 GB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/2.448, allocations: 0.5557 MB / 0.7327 GB, free: 18.96 MB / 426.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.003651/2.452, allocations: 0.6067 MB / 0.7333 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007699/2.46, allocations: 2.694 MB / 0.7359 GB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002416/2.462, allocations: 0.5391 MB / 0.7364 GB, free: 17.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007266/2.469, allocations: 2.395 MB / 0.7388 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.329e-05/2.47, allocations: 25.66 kB / 0.7388 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/2.47, allocations: 3.688 kB / 0.7388 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.851e-05/2.47, allocations: 10.55 kB / 0.7388 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06072/2.53, allocations: 23 MB / 0.7613 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.112e-05/2.531, allocations: 44 kB / 0.7613 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004433/2.535, allocations: 0.4937 MB / 0.7618 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/2.535, allocations: 68 kB / 0.7619 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003647/2.536, allocations: 72 kB / 0.7619 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.657e-05/2.536, allocations: 96.44 kB / 0.762 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.095e-05/2.536, allocations: 71.69 kB / 0.7621 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/2.554, allocations: 12.59 MB / 0.7744 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/2.557, allocations: 0.6176 MB / 0.775 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/2.559, allocations: 69.28 kB / 0.7751 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007454/2.567, allocations: 153.5 kB / 0.7752 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/2.568, allocations: 328 kB / 0.7755 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005134/2.569, allocations: 135.4 kB / 0.7756 GB, free: 288 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.02991/2.599, allocations: 4.144 MB / 0.7797 GB, free: 15.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.599, allocations: 4 kB / 0.7797 GB, free: 15.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01258/2.611, allocations: 1.265 MB / 0.7809 GB, free: 13.96 MB / 458.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.01962/2.631, allocations: 22.66 MB / 0.8031 GB, free: 6.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01514/2.646, allocations: 5.287 MB / 0.8082 GB, free: 1.336 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-05/2.646, allocations: 8 kB / 0.8082 GB, free: 1.328 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/2.65, allocations: 1.291 MB / 0.8095 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007482/2.657, allocations: 0.7659 MB / 0.8102 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06189/2.719, allocations: 15.85 MB / 0.8257 GB, free: 1.262 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3803/3.1, allocations: 5.873 MB / 0.8314 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01746/3.117, allocations: 2.833 MB / 0.8342 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01117/3.129, allocations: 3.652 MB / 0.8378 GB, free: 137.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.124e-06/3.129, allocations: 2.844 kB / 0.8378 GB, free: 137.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2808/3.409, allocations: 107.5 MB / 0.9428 GB, free: 79.21 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/3.41, allocations: 128.8 kB / 0.9429 GB, free: 79.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/10.56, allocations: 0 / 0.9429 GB, free: 79.02 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