Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.499e-05, allocations: 4 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5006/0.6195, allocations: 93.64 MB / 410 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004184/0.62, allocations: 76.08 kB / 410 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131/1.751, allocations: 194.6 MB / 0.5905 GB, free: 39.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.751, allocations: 0 / 0.5905 GB, free: 39.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005497/1.752, allocations: 196 kB / 0.5907 GB, free: 39.03 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03873/1.791, allocations: 9.42 MB / 0.5999 GB, free: 29.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.791, allocations: 8.031 kB / 0.5999 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03529/1.826, allocations: 4.031 MB / 0.6039 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03915/1.865, allocations: 10.54 MB / 0.6141 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007854/1.866, allocations: 344 kB / 0.6145 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006542/1.873, allocations: 0.6131 MB / 0.6151 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0483/1.921, allocations: 14.54 MB / 0.6293 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4834/2.404, allocations: 20.73 MB / 0.6495 GB, free: 50.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001319/2.406, allocations: 94.92 kB / 0.6496 GB, free: 50.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007598/2.414, allocations: 50.59 kB / 0.6496 GB, free: 50.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00951/2.423, allocations: 2.272 MB / 0.6519 GB, free: 50.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1846/2.608, allocations: 93.8 MB / 0.7435 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/2.618, allocations: 4.142 MB / 0.7475 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/2.623, allocations: 1.934 MB / 0.7494 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/2.623, allocations: 60.67 kB / 0.7495 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.164e-05/2.623, allocations: 66.91 kB / 0.7495 GB, free: 12.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=330): time 8.696e-06/2.623, allocations: 0 / 0.7495 GB, free: 12.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=342): time 0.05759/2.681, allocations: 14.9 MB / 0.7641 GB, free: 5.191 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/2.681, allocations: 163.6 kB / 0.7642 GB, free: 5.031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01601/2.697, allocations: 5.652 MB / 0.7698 GB, free: 2.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009071/2.698, allocations: 25.7 kB / 0.7698 GB, free: 2.848 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008491/2.707, allocations: 6.958 MB / 0.7766 GB, free: 13.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002625/2.709, allocations: 1.268 MB / 0.7778 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/2.711, allocations: 0 / 0.7778 GB, free: 12.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001816/2.713, allocations: 0.7731 MB / 0.7786 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00865/2.722, allocations: 2.86 MB / 0.7814 GB, free: 11.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01609/2.738, allocations: 9.631 MB / 0.7908 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/2.752, allocations: 5.163 MB / 0.7958 GB, free: 14.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003152/2.752, allocations: 70.91 kB / 0.7959 GB, free: 14.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.03483/2.787, allocations: 11.05 MB / 0.8067 GB, free: 10.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/2.787, allocations: 109.6 kB / 0.8068 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004679/2.788, allocations: 251.1 kB / 0.807 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/2.788, allocations: 356.3 kB / 0.8074 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01827/2.806, allocations: 2.704 MB / 0.81 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006076/2.807, allocations: 487.3 kB / 0.8105 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01764/2.825, allocations: 0.4908 MB / 0.8109 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004253/2.829, allocations: 0.6683 MB / 0.8116 GB, free: 8.711 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * Number of states: 0 () * Number of discrete variables: 69 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1420): * Single equations (assignments): 1417 * 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.005738/2.835, allocations: 0.7078 MB / 0.8123 GB, free: 8 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01317/2.848, allocations: 3.706 MB / 0.8159 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002618/2.851, allocations: 0.6093 MB / 0.8165 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/2.865, allocations: 3.575 MB / 0.82 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/2.865, allocations: 32 kB / 0.82 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/2.865, allocations: 4 kB / 0.82 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.591e-05/2.865, allocations: 14.91 kB / 0.82 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.496/3.361, allocations: 36.92 MB / 0.8561 GB, free: 94.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002442/3.361, allocations: 84.38 kB / 0.8562 GB, free: 94.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00577/3.367, allocations: 0.803 MB / 0.857 GB, free: 94.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/3.367, allocations: 127.2 kB / 0.8571 GB, free: 94.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008769/3.368, allocations: 124 kB / 0.8572 GB, free: 94.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001483/3.368, allocations: 163.2 kB / 0.8574 GB, free: 94.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.415e-05/3.369, allocations: 135.7 kB / 0.8575 GB, free: 94.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/3.385, allocations: 22.44 MB / 0.8794 GB, free: 72.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002668/3.387, allocations: 0.7679 MB / 0.8801 GB, free: 72.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/3.39, allocations: 123.2 kB / 0.8803 GB, free: 72.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007141/3.397, allocations: 195.8 kB / 0.8805 GB, free: 72.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00154/3.399, allocations: 0.5384 MB / 0.881 GB, free: 72.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008924/3.4, allocations: 232.9 kB / 0.8812 GB, free: 72.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01093/3.411, allocations: 3.774 MB / 0.8849 GB, free: 72.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.62e-07/3.411, allocations: 0 / 0.8849 GB, free: 72.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01591/3.427, allocations: 1.59 MB / 0.8864 GB, free: 72.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.01941/3.446, allocations: 38.24 MB / 0.9238 GB, free: 36.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01642/3.463, allocations: 6.738 MB / 0.9304 GB, free: 34.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.171e-05/3.463, allocations: 14.72 kB / 0.9304 GB, free: 34.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007332/3.47, allocations: 1.888 MB / 0.9322 GB, free: 33.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/3.481, allocations: 0.8515 MB / 0.9331 GB, free: 33.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.071/3.552, allocations: 20.96 MB / 0.9535 GB, free: 21.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01883/3.571, allocations: 7.124 MB / 0.9605 GB, free: 16.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0177/3.589, allocations: 3.391 MB / 0.9638 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01103/3.6, allocations: 4.723 MB / 0.9684 GB, free: 10.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.834e-06/3.6, allocations: 0 / 0.9684 GB, free: 10.22 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7224/4.322, allocations: 133.9 MB / 1.099 GB, free: 76.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/4.322, allocations: 141.8 kB / 1.099 GB, free: 76.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/12.84, allocations: 0 / 1.099 GB, free: 76.13 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat