Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.305/3.305, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.608e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4861, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2653/0.7514, allocations: 100.1 MB / 454.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004156/0.7519, allocations: 79.95 kB / 454.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.971/2.723, allocations: 196.6 MB / 0.6359 GB, free: 45.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.856e-06/2.723, allocations: 0 / 0.6359 GB, free: 45.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000677/2.724, allocations: 199 kB / 0.6361 GB, free: 45.66 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.04932/2.773, allocations: 9.418 MB / 0.6453 GB, free: 42.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/2.773, allocations: 10.88 kB / 0.6453 GB, free: 42.05 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009951/2.783, allocations: 1.384 MB / 0.6467 GB, free: 41.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04944/2.833, allocations: 4.03 MB / 0.6506 GB, free: 41.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09319/2.926, allocations: 10.56 MB / 0.6609 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001593/2.928, allocations: 455.2 kB / 0.6614 GB, free: 40.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01603/2.944, allocations: 0.6087 MB / 0.662 GB, free: 40.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05727/3.001, allocations: 14.54 MB / 0.6762 GB, free: 40.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08417/3.085, allocations: 20.74 MB / 0.6964 GB, free: 35.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001024/3.086, allocations: 97.44 kB / 0.6965 GB, free: 35.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006923/3.093, allocations: 51.91 kB / 0.6966 GB, free: 35.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009366/3.103, allocations: 2.267 MB / 0.6988 GB, free: 35.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2373/3.34, allocations: 93.79 MB / 0.7904 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/3.354, allocations: 4.143 MB / 0.7944 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006354/3.36, allocations: 1.927 MB / 0.7963 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/3.36, allocations: 61.38 kB / 0.7964 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/3.361, allocations: 75.77 kB / 0.7964 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=330): time 9.979e-06/3.361, allocations: 0 / 0.7964 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342): time 0.5223/3.883, allocations: 14.89 MB / 0.811 GB, free: 83.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/3.883, allocations: 168.9 kB / 0.8111 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02773/3.911, allocations: 5.662 MB / 0.8167 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/3.912, allocations: 28.2 kB / 0.8167 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01071/3.923, allocations: 6.966 MB / 0.8235 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003286/3.926, allocations: 1.271 MB / 0.8247 GB, free: 79.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/3.928, allocations: 0 / 0.8247 GB, free: 79.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001867/3.93, allocations: 0.7678 MB / 0.8255 GB, free: 78.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01309/3.943, allocations: 2.864 MB / 0.8283 GB, free: 78.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01578/3.959, allocations: 9.629 MB / 0.8377 GB, free: 69.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/3.974, allocations: 5.151 MB / 0.8427 GB, free: 69.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000341/3.974, allocations: 71.88 kB / 0.8428 GB, free: 69.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.03763/4.012, allocations: 11.05 MB / 0.8536 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/4.012, allocations: 111.8 kB / 0.8537 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000453/4.013, allocations: 250.2 kB / 0.8539 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/4.013, allocations: 357.8 kB / 0.8543 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02127/4.035, allocations: 2.705 MB / 0.8569 GB, free: 69.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005012/4.035, allocations: 479.8 kB / 0.8574 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01625/4.051, allocations: 0.4997 MB / 0.8578 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002868/4.054, allocations: 0.6682 MB / 0.8585 GB, free: 69.14 MB / 0.4948 GB 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.003627/4.058, allocations: 0.701 MB / 0.8592 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/4.06, allocations: 0.6185 MB / 0.8598 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/4.071, allocations: 3.57 MB / 0.8633 GB, free: 68.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-05/4.071, allocations: 39.09 kB / 0.8633 GB, free: 68.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/4.071, allocations: 4.453 kB / 0.8633 GB, free: 68.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-05/4.071, allocations: 19.59 kB / 0.8633 GB, free: 68.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.112/4.183, allocations: 45.7 MB / 0.908 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001867/4.184, allocations: 68.38 kB / 0.908 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006754/4.19, allocations: 0.7055 MB / 0.9087 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/4.191, allocations: 97.34 kB / 0.9088 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006428/4.191, allocations: 105.7 kB / 0.9089 GB, free: 59.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001117/4.191, allocations: 132.2 kB / 0.909 GB, free: 59.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.403e-05/4.191, allocations: 108.5 kB / 0.9091 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/4.209, allocations: 18.98 MB / 0.9277 GB, free: 39.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002786/4.211, allocations: 0.7266 MB / 0.9284 GB, free: 38.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002661/4.214, allocations: 107.2 kB / 0.9285 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008505/4.223, allocations: 207.3 kB / 0.9287 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/4.224, allocations: 459.3 kB / 0.9291 GB, free: 38.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006869/4.225, allocations: 195.1 kB / 0.9293 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01133/4.236, allocations: 3.781 MB / 0.933 GB, free: 36.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.913e-06/4.236, allocations: 0 / 0.933 GB, free: 36.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01757/4.254, allocations: 1.598 MB / 0.9346 GB, free: 34.46 MB / 0.4948 GB 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.02172/4.276, allocations: 31.88 MB / 0.9657 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02605/4.302, allocations: 6.947 MB / 0.9725 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.563e-05/4.302, allocations: 8 kB / 0.9725 GB, free: 11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/4.308, allocations: 1.882 MB / 0.9743 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/4.319, allocations: 0.8115 MB / 0.9751 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5944/4.913, allocations: 20.54 MB / 0.9952 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02271/4.936, allocations: 7.089 MB / 1.002 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02222/4.958, allocations: 3.39 MB / 1.005 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01288/4.971, allocations: 4.693 MB / 1.01 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.104e-06/4.971, allocations: 0 / 1.01 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.368/5.339, allocations: 133.3 MB / 1.14 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003556/5.34, allocations: 153.4 kB / 1.14 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.27/15.61, allocations: 4.031 kB / 1.14 GB, free: 44.3 MB / 0.5261 GB