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.862/1.862, allocations: 209.3 MB / 221.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.918e-05/3.934e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5359, allocations: 94.07 MB / 415.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5362, allocations: 75.95 kB / 416 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083/1.619, allocations: 199.4 MB / 0.601 GB, free: 55.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.619, allocations: 4 kB / 0.601 GB, free: 55.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005311/1.619, allocations: 199.9 kB / 0.6012 GB, free: 54.86 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.0364/1.656, allocations: 9.413 MB / 0.6104 GB, free: 45.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.656, allocations: 8.031 kB / 0.6104 GB, free: 45.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008609/1.665, allocations: 1.824 MB / 0.6122 GB, free: 43.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03541/1.7, allocations: 4.031 MB / 0.6161 GB, free: 39.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03616/1.736, allocations: 10.56 MB / 0.6264 GB, free: 28.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/1.737, allocations: 0.798 MB / 0.6272 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00649/1.744, allocations: 1.031 MB / 0.6282 GB, free: 26.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07891/1.823, allocations: 24.08 MB / 0.6517 GB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007189/1.824, allocations: 99 kB / 0.6518 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005662/1.829, allocations: 495.7 kB / 0.6523 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6547/2.484, allocations: 2.264 MB / 0.6545 GB, free: 54.81 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06893/2.553, allocations: 18.98 MB / 0.673 GB, free: 54.72 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1731/2.726, allocations: 94.18 MB / 0.765 GB, free: 15.41 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03516/2.761, allocations: 7.607 MB / 0.7724 GB, free: 13.09 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008089/2.77, allocations: 3.033 MB / 0.7754 GB, free: 11.93 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04288/2.813, allocations: 13.31 MB / 0.7884 GB, free: 2.383 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.811e-05/2.813, allocations: 67.47 kB / 0.7885 GB, free: 2.309 MB / 442.8 MB Notification: Performance of pre-optimization done (n=336): time 7.905e-06/2.813, allocations: 0 / 0.7885 GB, free: 2.309 MB / 442.8 MB Notification: Performance of matching and sorting (n=360): time 0.09148/2.904, allocations: 18.78 MB / 0.8068 GB, free: 2.293 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/2.904, allocations: 169.3 kB / 0.807 GB, free: 2.098 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03019/2.935, allocations: 7.06 MB / 0.8139 GB, free: 14.07 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008908/2.936, allocations: 77.7 kB / 0.8139 GB, free: 13.99 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008493/2.944, allocations: 6.809 MB / 0.8206 GB, free: 7.914 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002708/2.947, allocations: 1.358 MB / 0.8219 GB, free: 6.715 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/2.949, allocations: 219.2 kB / 0.8221 GB, free: 6.504 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001185/2.95, allocations: 0.7492 MB / 0.8229 GB, free: 5.879 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009997/2.96, allocations: 2.989 MB / 0.8258 GB, free: 3.184 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.381/3.341, allocations: 9.463 MB / 0.835 GB, free: 92.53 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/3.356, allocations: 5.228 MB / 0.8401 GB, free: 92.46 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004799/3.356, allocations: 67.06 kB / 0.8402 GB, free: 92.46 MB / 474.8 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.0393/3.395, allocations: 12.18 MB / 0.8521 GB, free: 91.7 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003101/3.396, allocations: 111 kB / 0.8522 GB, free: 91.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004738/3.396, allocations: 231.4 kB / 0.8524 GB, free: 91.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/3.397, allocations: 338.4 kB / 0.8527 GB, free: 91.7 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01747/3.414, allocations: 2.619 MB / 0.8553 GB, free: 91.47 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004852/3.415, allocations: 455.9 kB / 0.8557 GB, free: 91.38 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01397/3.429, allocations: 0.6799 MB / 0.8564 GB, free: 91.38 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/3.432, allocations: 0.6414 MB / 0.857 GB, free: 91.38 MB / 474.8 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.003731/3.435, allocations: 0.9382 MB / 0.8579 GB, free: 91.04 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/3.437, allocations: 0.6729 MB / 0.8586 GB, free: 91.04 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/3.448, allocations: 3.977 MB / 0.8625 GB, free: 90.83 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/3.448, allocations: 40.03 kB / 0.8625 GB, free: 90.83 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/3.448, allocations: 2.844 kB / 0.8625 GB, free: 90.83 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.383e-05/3.448, allocations: 15.14 kB / 0.8625 GB, free: 90.83 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08844/3.537, allocations: 41.62 MB / 0.9032 GB, free: 82.29 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001921/3.537, allocations: 87.09 kB / 0.9033 GB, free: 82.29 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005577/3.543, allocations: 0.846 MB / 0.9041 GB, free: 82.18 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/3.543, allocations: 132 kB / 0.9042 GB, free: 82.18 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005992/3.543, allocations: 193.8 kB / 0.9044 GB, free: 82.12 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001252/3.543, allocations: 168.8 kB / 0.9046 GB, free: 82.09 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.85e-05/3.544, allocations: 142.6 kB / 0.9047 GB, free: 82.05 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/3.559, allocations: 25.1 MB / 0.9292 GB, free: 56.26 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/3.562, allocations: 0.8316 MB / 0.93 GB, free: 55.73 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/3.564, allocations: 199.8 kB / 0.9302 GB, free: 55.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006937/3.571, allocations: 268.1 kB / 0.9305 GB, free: 55.62 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001327/3.572, allocations: 0.5765 MB / 0.931 GB, free: 55.36 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005155/3.573, allocations: 243.3 kB / 0.9313 GB, free: 55.33 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01152/3.584, allocations: 4.455 MB / 0.9356 GB, free: 52.15 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.71e-07/3.584, allocations: 0 / 0.9356 GB, free: 52.15 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0146/3.599, allocations: 1.872 MB / 0.9374 GB, free: 50.29 MB / 474.8 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.01879/3.618, allocations: 40.8 MB / 0.9773 GB, free: 7.016 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0167/3.635, allocations: 7.279 MB / 0.9844 GB, free: 368 kB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.922e-05/3.635, allocations: 12 kB / 0.9844 GB, free: 356 kB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007467/3.642, allocations: 2.237 MB / 0.9866 GB, free: 14.74 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008711/3.651, allocations: 1.078 MB / 0.9876 GB, free: 13.83 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4524/4.103, allocations: 21.78 MB / 1.009 GB, free: 102.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02298/4.126, allocations: 7.149 MB / 1.016 GB, free: 101.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01898/4.145, allocations: 3.317 MB / 1.019 GB, free: 101.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01159/4.157, allocations: 4.77 MB / 1.024 GB, free: 101.1 MB / 490.8 MB Notification: Performance of SimCode: time 2.014e-06/4.157, allocations: 0 / 1.024 GB, free: 101.1 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3501/4.507, allocations: 145.4 MB / 1.166 GB, free: 10.2 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/4.508, allocations: 155.6 kB / 1.166 GB, free: 9.977 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/12.92, allocations: 0 / 1.166 GB, free: 9.977 MB / 490.8 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