Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.607e-05, allocations: 3.938 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5174/0.6332, allocations: 93.65 MB / 410 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.6335, allocations: 78.58 kB / 410.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164/1.797, allocations: 195.8 MB / 0.5917 GB, free: 37.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.276e-06/1.797, allocations: 0 / 0.5917 GB, free: 37.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005554/1.798, allocations: 196 kB / 0.5919 GB, free: 36.95 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.04007/1.838, allocations: 9.414 MB / 0.6011 GB, free: 27.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/1.838, allocations: 8.031 kB / 0.6011 GB, free: 27.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03639/1.874, allocations: 4.027 MB / 0.605 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03675/1.911, allocations: 10.56 MB / 0.6153 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008093/1.912, allocations: 344 kB / 0.6157 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006279/1.918, allocations: 0.6131 MB / 0.6163 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04036/1.959, allocations: 14.54 MB / 0.6305 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7099/2.669, allocations: 20.72 MB / 0.6507 GB, free: 49.8 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009517/2.67, allocations: 94.73 kB / 0.6508 GB, free: 49.8 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00622/2.676, allocations: 49.56 kB / 0.6508 GB, free: 49.8 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007031/2.683, allocations: 2.276 MB / 0.6531 GB, free: 49.78 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/2.877, allocations: 93.78 MB / 0.7446 GB, free: 13.89 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009617/2.887, allocations: 4.155 MB / 0.7487 GB, free: 11.99 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/2.892, allocations: 1.93 MB / 0.7506 GB, free: 11.25 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/2.892, allocations: 70.09 kB / 0.7506 GB, free: 11.23 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/2.892, allocations: 64.62 kB / 0.7507 GB, free: 11.17 MB / 442.8 MB Notification: Performance of pre-optimization done (n=330): time 8.375e-06/2.892, allocations: 2.188 kB / 0.7507 GB, free: 11.17 MB / 442.8 MB Notification: Performance of matching and sorting (n=342): time 0.05586/2.948, allocations: 14.89 MB / 0.7653 GB, free: 3.836 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/2.948, allocations: 168.6 kB / 0.7654 GB, free: 3.672 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01871/2.967, allocations: 5.653 MB / 0.7709 GB, free: 1.52 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001015/2.968, allocations: 25.7 kB / 0.771 GB, free: 1.488 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01083/2.979, allocations: 6.976 MB / 0.7778 GB, free: 12.1 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003003/2.982, allocations: 1.263 MB / 0.779 GB, free: 11.17 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/2.984, allocations: 0 / 0.779 GB, free: 11.17 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001923/2.986, allocations: 0.7706 MB / 0.7798 GB, free: 10.67 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01219/2.998, allocations: 2.865 MB / 0.7826 GB, free: 9.656 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02173/3.02, allocations: 9.631 MB / 0.792 GB, free: 15.25 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01902/3.039, allocations: 5.154 MB / 0.797 GB, free: 13.24 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004068/3.039, allocations: 69.41 kB / 0.7971 GB, free: 13.24 MB / 474.8 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.04762/3.087, allocations: 11.06 MB / 0.8079 GB, free: 9.332 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/3.087, allocations: 108 kB / 0.808 GB, free: 9.332 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005161/3.088, allocations: 245.3 kB / 0.8082 GB, free: 9.332 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/3.089, allocations: 355.4 kB / 0.8085 GB, free: 9.332 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01876/3.107, allocations: 2.724 MB / 0.8112 GB, free: 7.078 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005261/3.108, allocations: 476.5 kB / 0.8116 GB, free: 6.664 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01332/3.121, allocations: 0.4911 MB / 0.8121 GB, free: 6.273 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002625/3.124, allocations: 0.6683 MB / 0.8128 GB, free: 5.617 MB / 474.8 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 (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 (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.002395/3.126, allocations: 0.7127 MB / 0.8135 GB, free: 4.902 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00973/3.136, allocations: 3.701 MB / 0.8171 GB, free: 1.562 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/3.138, allocations: 0.6195 MB / 0.8177 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3721/3.51, allocations: 3.853 MB / 0.8215 GB, free: 97.15 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/3.51, allocations: 39.64 kB / 0.8215 GB, free: 97.15 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/3.51, allocations: 0.7812 kB / 0.8215 GB, free: 97.15 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/3.51, allocations: 16.52 kB / 0.8215 GB, free: 97.15 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1309/3.641, allocations: 45.71 MB / 0.8662 GB, free: 94.06 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004245/3.642, allocations: 66.91 kB / 0.8662 GB, free: 94.06 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/3.653, allocations: 0.7056 MB / 0.8669 GB, free: 94.04 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/3.653, allocations: 97.75 kB / 0.867 GB, free: 94.04 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008099/3.654, allocations: 109.3 kB / 0.8671 GB, free: 94.03 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001453/3.654, allocations: 129.5 kB / 0.8672 GB, free: 94.03 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001123/3.655, allocations: 105.5 kB / 0.8673 GB, free: 94.03 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02473/3.679, allocations: 18.97 MB / 0.8859 GB, free: 74.56 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002681/3.682, allocations: 0.7297 MB / 0.8866 GB, free: 74.43 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002658/3.685, allocations: 102.3 kB / 0.8867 GB, free: 74.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00718/3.692, allocations: 209 kB / 0.8869 GB, free: 74.43 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/3.693, allocations: 461.8 kB / 0.8873 GB, free: 74.32 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005119/3.694, allocations: 196.8 kB / 0.8875 GB, free: 74.3 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01153/3.706, allocations: 3.776 MB / 0.8912 GB, free: 72.96 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.102e-06/3.706, allocations: 0 / 0.8912 GB, free: 72.96 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01578/3.721, allocations: 1.601 MB / 0.8927 GB, free: 72.96 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.0189/3.74, allocations: 31.87 MB / 0.9239 GB, free: 42.23 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01713/3.758, allocations: 6.805 MB / 0.9305 GB, free: 40.29 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.589e-05/3.758, allocations: 9.781 kB / 0.9305 GB, free: 40.29 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004843/3.763, allocations: 1.876 MB / 0.9324 GB, free: 39.66 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008463/3.771, allocations: 0.8056 MB / 0.9331 GB, free: 39.39 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0694/3.84, allocations: 20.51 MB / 0.9532 GB, free: 23.61 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01971/3.86, allocations: 7.095 MB / 0.9601 GB, free: 18.47 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0181/3.878, allocations: 3.381 MB / 0.9634 GB, free: 16.36 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01141/3.89, allocations: 4.707 MB / 0.968 GB, free: 11.99 MB / 474.8 MB Notification: Performance of SimCode: time 2.234e-06/3.89, allocations: 0 / 0.968 GB, free: 11.99 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8458/4.736, allocations: 131.2 MB / 1.096 GB, free: 67.23 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/4.736, allocations: 142.6 kB / 1.096 GB, free: 67.04 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/13.07, allocations: 7.938 kB / 1.096 GB, free: 67.04 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat