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 1.947/1.947, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.501e-05, allocations: 0 / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5433, allocations: 94.09 MB / 416 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5437, allocations: 71.97 kB / 416 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251/1.795, allocations: 199.4 MB / 0.601 GB, free: 54.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.347e-06/1.795, allocations: 0 / 0.601 GB, free: 54.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006261/1.796, allocations: 203.9 kB / 0.6012 GB, free: 54.66 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03891/1.835, allocations: 9.413 MB / 0.6104 GB, free: 45.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.835, allocations: 12.03 kB / 0.6104 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009834/1.845, allocations: 1.821 MB / 0.6122 GB, free: 43.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03566/1.88, allocations: 4.035 MB / 0.6162 GB, free: 39.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03615/1.917, allocations: 10.56 MB / 0.6265 GB, free: 28.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/1.918, allocations: 0.7942 MB / 0.6272 GB, free: 27.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006544/1.924, allocations: 1.039 MB / 0.6283 GB, free: 26.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0998/2.024, allocations: 23.95 MB / 0.6516 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006783/2.025, allocations: 99.05 kB / 0.6517 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005823/2.031, allocations: 491.8 kB / 0.6522 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3468/2.378, allocations: 2.264 MB / 0.6544 GB, free: 56.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06742/2.445, allocations: 18.64 MB / 0.6726 GB, free: 56.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2064/2.651, allocations: 94.15 MB / 0.7646 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04006/2.692, allocations: 7.663 MB / 0.772 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008977/2.701, allocations: 3.04 MB / 0.775 GB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04538/2.746, allocations: 13.3 MB / 0.788 GB, free: 4.992 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/2.746, allocations: 64.78 kB / 0.7881 GB, free: 4.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=336): time 8.446e-06/2.746, allocations: 0 / 0.7881 GB, free: 4.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=360): time 0.1298/2.876, allocations: 18.85 MB / 0.8065 GB, free: 5.074 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/2.876, allocations: 162.9 kB / 0.8066 GB, free: 4.883 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01947/2.896, allocations: 6.403 MB / 0.8129 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009326/2.897, allocations: 81.7 kB / 0.813 GB, free: 15.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008425/2.905, allocations: 6.813 MB / 0.8196 GB, free: 9.105 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002594/2.908, allocations: 1.357 MB / 0.8209 GB, free: 7.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/2.909, allocations: 212 kB / 0.8211 GB, free: 7.699 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008762/2.91, allocations: 0.753 MB / 0.8219 GB, free: 7.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01323/2.923, allocations: 2.989 MB / 0.8248 GB, free: 4.375 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3818/3.305, allocations: 9.401 MB / 0.834 GB, free: 94.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/3.321, allocations: 5.237 MB / 0.8391 GB, free: 94.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000513/3.321, allocations: 68.97 kB / 0.8391 GB, free: 94.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03899/3.36, allocations: 11.54 MB / 0.8504 GB, free: 93.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002996/3.36, allocations: 103.6 kB / 0.8505 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005387/3.361, allocations: 229.8 kB / 0.8507 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/3.362, allocations: 340.4 kB / 0.8511 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01765/3.379, allocations: 2.622 MB / 0.8536 GB, free: 93.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005522/3.38, allocations: 452.5 kB / 0.8541 GB, free: 93.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/3.394, allocations: 0.6808 MB / 0.8547 GB, free: 93.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002707/3.397, allocations: 0.6371 MB / 0.8553 GB, free: 93.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * 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 (1366): * Single equations (assignments): 1363 * 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.00377/3.401, allocations: 0.941 MB / 0.8563 GB, free: 93.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00177/3.403, allocations: 0.6649 MB / 0.8569 GB, free: 93.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/3.416, allocations: 3.991 MB / 0.8608 GB, free: 92.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.427e-05/3.416, allocations: 39.16 kB / 0.8608 GB, free: 92.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/3.416, allocations: 3.281 kB / 0.8608 GB, free: 92.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.774e-05/3.417, allocations: 15.19 kB / 0.8609 GB, free: 92.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09157/3.508, allocations: 41.38 MB / 0.9013 GB, free: 84.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001445/3.508, allocations: 90.28 kB / 0.9014 GB, free: 84.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005378/3.514, allocations: 0.8483 MB / 0.9022 GB, free: 84.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/3.514, allocations: 125.3 kB / 0.9023 GB, free: 84.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005068/3.514, allocations: 190.1 kB / 0.9025 GB, free: 84.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001241/3.515, allocations: 172.1 kB / 0.9026 GB, free: 84.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.932e-05/3.515, allocations: 135.1 kB / 0.9028 GB, free: 84.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/3.532, allocations: 25.1 MB / 0.9273 GB, free: 58.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002956/3.535, allocations: 0.8336 MB / 0.9281 GB, free: 58.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002605/3.538, allocations: 205.1 kB / 0.9283 GB, free: 58.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007567/3.545, allocations: 263.7 kB / 0.9286 GB, free: 58.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001424/3.547, allocations: 0.5799 MB / 0.9291 GB, free: 57.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006221/3.547, allocations: 238.7 kB / 0.9293 GB, free: 57.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01256/3.56, allocations: 4.455 MB / 0.9337 GB, free: 55.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.233e-06/3.56, allocations: 1.422 kB / 0.9337 GB, free: 55.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01628/3.576, allocations: 1.869 MB / 0.9355 GB, free: 53.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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.02023/3.597, allocations: 40.8 MB / 0.9754 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01818/3.615, allocations: 6.866 MB / 0.9821 GB, free: 3.805 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.638e-05/3.615, allocations: 14.5 kB / 0.9821 GB, free: 3.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005144/3.62, allocations: 2.004 MB / 0.984 GB, free: 2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009953/3.63, allocations: 1.081 MB / 0.9851 GB, free: 1.094 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4514/4.082, allocations: 21.72 MB / 1.006 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02286/4.105, allocations: 7.159 MB / 1.013 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01968/4.124, allocations: 3.317 MB / 1.017 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01191/4.136, allocations: 4.763 MB / 1.021 GB, free: 105 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/4.136, allocations: 2.156 kB / 1.021 GB, free: 105 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3442/4.481, allocations: 144.5 MB / 1.162 GB, free: 17.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/4.481, allocations: 158.1 kB / 1.162 GB, free: 16.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/13.85, allocations: 4 kB / 1.162 GB, free: 16.79 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