Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.032/3.032, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.565e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4961, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.7855, allocations: 100.2 MB / 454.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/0.786, allocations: 83.94 kB / 454.6 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.918/2.704, allocations: 195.4 MB / 0.6348 GB, free: 46.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.006e-06/2.704, allocations: 0 / 0.6348 GB, free: 46.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007114/2.705, allocations: 200.2 kB / 0.635 GB, free: 46.25 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.05461/2.759, allocations: 9.415 MB / 0.6441 GB, free: 42.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.87e-05/2.76, allocations: 15.84 kB / 0.6442 GB, free: 42.68 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01193/2.771, allocations: 1.384 MB / 0.6455 GB, free: 42.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04831/2.82, allocations: 4.027 MB / 0.6494 GB, free: 41.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04413/2.864, allocations: 10.56 MB / 0.6598 GB, free: 40.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/2.865, allocations: 453.7 kB / 0.6602 GB, free: 40.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006156/2.871, allocations: 0.6085 MB / 0.6608 GB, free: 40.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04441/2.916, allocations: 14.54 MB / 0.675 GB, free: 40.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06592/2.982, allocations: 20.73 MB / 0.6952 GB, free: 36.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008136/2.983, allocations: 98.86 kB / 0.6953 GB, free: 36.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005722/2.988, allocations: 51.73 kB / 0.6954 GB, free: 36.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006801/2.995, allocations: 2.276 MB / 0.6976 GB, free: 36.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2094/3.205, allocations: 93.84 MB / 0.7892 GB, free: 0 / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/3.219, allocations: 4.173 MB / 0.7933 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006385/3.225, allocations: 1.93 MB / 0.7952 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/3.226, allocations: 58.97 kB / 0.7952 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.169e-05/3.226, allocations: 68.64 kB / 0.7953 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=330): time 9.638e-06/3.226, allocations: 0 / 0.7953 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342): time 0.5085/3.734, allocations: 14.89 MB / 0.8099 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/3.734, allocations: 162.2 kB / 0.81 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01913/3.754, allocations: 5.654 MB / 0.8155 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008449/3.754, allocations: 29.08 kB / 0.8156 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007395/3.762, allocations: 6.956 MB / 0.8224 GB, free: 81.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002481/3.764, allocations: 1.274 MB / 0.8236 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001537/3.766, allocations: 0 / 0.8236 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001107/3.767, allocations: 0.7712 MB / 0.8244 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009256/3.776, allocations: 2.864 MB / 0.8271 GB, free: 80.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/3.791, allocations: 9.633 MB / 0.8366 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/3.805, allocations: 5.148 MB / 0.8416 GB, free: 71.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003232/3.806, allocations: 70.19 kB / 0.8417 GB, free: 71.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.03791/3.844, allocations: 11.05 MB / 0.8524 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/3.844, allocations: 106 kB / 0.8525 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005139/3.845, allocations: 251.7 kB / 0.8528 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/3.845, allocations: 357.9 kB / 0.8531 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02264/3.868, allocations: 2.709 MB / 0.8558 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006095/3.869, allocations: 483.2 kB / 0.8562 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01725/3.886, allocations: 0.4902 MB / 0.8567 GB, free: 70.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003128/3.889, allocations: 0.662 MB / 0.8574 GB, free: 70.66 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 (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 (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.004449/3.893, allocations: 0.7084 MB / 0.8581 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/3.896, allocations: 0.6178 MB / 0.8587 GB, free: 69.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/3.91, allocations: 3.565 MB / 0.8621 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.453e-05/3.91, allocations: 34.66 kB / 0.8622 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/3.91, allocations: 3.953 kB / 0.8622 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.464e-05/3.91, allocations: 16.48 kB / 0.8622 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1249/4.035, allocations: 36.91 MB / 0.8982 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002143/4.035, allocations: 83.91 kB / 0.8983 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007717/4.043, allocations: 0.8007 MB / 0.8991 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/4.043, allocations: 119 kB / 0.8992 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000794/4.044, allocations: 129.4 kB / 0.8993 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001792/4.044, allocations: 167.2 kB / 0.8995 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001226/4.045, allocations: 132.8 kB / 0.8996 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/4.064, allocations: 22.44 MB / 0.9215 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003164/4.067, allocations: 0.766 MB / 0.9223 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002851/4.07, allocations: 127.3 kB / 0.9224 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009415/4.08, allocations: 198.1 kB / 0.9226 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001674/4.081, allocations: 0.5414 MB / 0.9231 GB, free: 38.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009368/4.082, allocations: 229.6 kB / 0.9233 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01279/4.095, allocations: 3.782 MB / 0.927 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.392e-06/4.095, allocations: 0 / 0.927 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01947/4.115, allocations: 1.591 MB / 0.9286 GB, free: 37.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.02616/4.141, allocations: 38.3 MB / 0.966 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02377/4.165, allocations: 6.746 MB / 0.9726 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.092e-05/4.165, allocations: 12 kB / 0.9726 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006542/4.171, allocations: 1.884 MB / 0.9744 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01098/4.182, allocations: 0.8464 MB / 0.9753 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08815/4.271, allocations: 20.97 MB / 0.9957 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4933/4.764, allocations: 7.236 MB / 1.003 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02219/4.786, allocations: 3.389 MB / 1.006 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01316/4.799, allocations: 4.727 MB / 1.011 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/4.799, allocations: 0.875 kB / 1.011 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4335/5.233, allocations: 136 MB / 1.144 GB, free: 41.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002757/5.233, allocations: 145.5 kB / 1.144 GB, free: 41.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.45/15.68, allocations: 3.938 kB / 1.144 GB, free: 41.36 MB / 0.5261 GB