Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.882e-05, allocations: 0 / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4505, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.6423, allocations: 100.8 MB / 460.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.6426, allocations: 76.75 kB / 460.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21/1.852, allocations: 200.6 MB / 0.6459 GB, free: 28.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.852, allocations: 0 / 0.6459 GB, free: 28.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006961/1.853, allocations: 199.9 kB / 0.6461 GB, free: 28.16 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04756/1.901, allocations: 9.419 MB / 0.6553 GB, free: 18.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/1.901, allocations: 8.031 kB / 0.6553 GB, free: 18.69 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01024/1.911, allocations: 1.826 MB / 0.6571 GB, free: 16.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04521/1.956, allocations: 4.028 MB / 0.661 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03559/1.992, allocations: 10.56 MB / 0.6713 GB, free: 2.367 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001093/1.993, allocations: 0.7968 MB / 0.6721 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005971/1.999, allocations: 1.039 MB / 0.6731 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0881/2.087, allocations: 24.08 MB / 0.6966 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000731/2.088, allocations: 91.16 kB / 0.6967 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005915/2.094, allocations: 498.8 kB / 0.6972 GB, free: 6.637 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006799/2.101, allocations: 2.262 MB / 0.6994 GB, free: 4.371 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4543/2.555, allocations: 18.97 MB / 0.7179 GB, free: 73.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2033/2.759, allocations: 94.16 MB / 0.8099 GB, free: 22.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0354/2.794, allocations: 7.541 MB / 0.8172 GB, free: 20.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008312/2.802, allocations: 3.03 MB / 0.8202 GB, free: 18.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04216/2.845, allocations: 13.3 MB / 0.8332 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/2.845, allocations: 70.5 kB / 0.8332 GB, free: 12.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=336): time 7.644e-06/2.845, allocations: 1.969 kB / 0.8332 GB, free: 12.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=360): time 0.08794/2.933, allocations: 18.77 MB / 0.8516 GB, free: 4.102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/2.933, allocations: 162.9 kB / 0.8517 GB, free: 3.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02074/2.954, allocations: 6.575 MB / 0.8581 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008369/2.955, allocations: 81.7 kB / 0.8582 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009119/2.964, allocations: 6.807 MB / 0.8649 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002549/2.966, allocations: 1.351 MB / 0.8662 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/2.968, allocations: 216 kB / 0.8664 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009683/2.969, allocations: 0.7507 MB / 0.8671 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009851/2.979, allocations: 2.984 MB / 0.87 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01721/2.996, allocations: 9.466 MB / 0.8793 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/3.011, allocations: 5.24 MB / 0.8844 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002849/3.011, allocations: 64 kB / 0.8845 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03837/3.05, allocations: 12.2 MB / 0.8964 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002194/3.05, allocations: 108 kB / 0.8965 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004911/3.05, allocations: 236 kB / 0.8967 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/3.051, allocations: 340 kB / 0.897 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/3.07, allocations: 2.611 MB / 0.8996 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006567/3.07, allocations: 453.1 kB / 0.9 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/3.085, allocations: 0.6859 MB / 0.9007 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002854/3.088, allocations: 0.6325 MB / 0.9013 GB, free: 3.852 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.004319/3.092, allocations: 0.9461 MB / 0.9022 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001976/3.094, allocations: 0.6709 MB / 0.9029 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4287/3.523, allocations: 4.39 MB / 0.9072 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/3.523, allocations: 41.39 kB / 0.9072 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/3.523, allocations: 1.125 kB / 0.9072 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001271/3.523, allocations: 17.27 kB / 0.9072 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1165/3.64, allocations: 50.04 MB / 0.9561 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001207/3.64, allocations: 72.81 kB / 0.9562 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005633/3.646, allocations: 0.7352 MB / 0.9569 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/3.646, allocations: 104.2 kB / 0.957 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008987/3.647, allocations: 165.2 kB / 0.9571 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000125/3.647, allocations: 151.5 kB / 0.9573 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.946e-05/3.647, allocations: 113.9 kB / 0.9574 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/3.665, allocations: 21.37 MB / 0.9783 GB, free: 90.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003084/3.668, allocations: 0.7959 MB / 0.979 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00277/3.671, allocations: 172.6 kB / 0.9792 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007728/3.678, allocations: 271.1 kB / 0.9795 GB, free: 90 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001457/3.68, allocations: 486.7 kB / 0.9799 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000631/3.681, allocations: 205.9 kB / 0.9801 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01265/3.693, allocations: 4.46 MB / 0.9845 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.51e-07/3.693, allocations: 2.344 kB / 0.9845 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01432/3.708, allocations: 1.872 MB / 0.9863 GB, free: 88.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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.02015/3.728, allocations: 34.37 MB / 1.02 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01784/3.746, allocations: 7.306 MB / 1.027 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.865e-05/3.746, allocations: 11.19 kB / 1.027 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005361/3.751, allocations: 2.075 MB / 1.029 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009238/3.761, allocations: 1.03 MB / 1.03 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07538/3.836, allocations: 21.26 MB / 1.051 GB, free: 39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02014/3.856, allocations: 7.128 MB / 1.058 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01765/3.874, allocations: 3.314 MB / 1.061 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01134/3.885, allocations: 4.767 MB / 1.066 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of SimCode: time 2.675e-06/3.885, allocations: 0 / 1.066 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.184/5.069, allocations: 142.7 MB / 1.205 GB, free: 72.07 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/5.069, allocations: 153.6 kB / 1.205 GB, free: 71.85 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.207/14.28, allocations: 0 / 1.205 GB, free: 71.85 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat