Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.965/2.965, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.053e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4521, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.6485, allocations: 89.33 MB / 443.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/0.649, allocations: 75.95 kB / 443.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104/1.753, allocations: 136.6 MB / 0.5668 GB, free: 11.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.753, allocations: 4 kB / 0.5668 GB, free: 11.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004782/1.754, allocations: 120 kB / 0.567 GB, free: 11.28 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.03059/1.785, allocations: 6.055 MB / 0.5729 GB, free: 5.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/1.785, allocations: 8.031 kB / 0.5729 GB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008623/1.793, allocations: 1.104 MB / 0.574 GB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06885/1.862, allocations: 6.537 MB / 0.5803 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02062/1.883, allocations: 4.269 MB / 0.5845 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007712/1.884, allocations: 289.6 kB / 0.5848 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005367/1.889, allocations: 387.9 kB / 0.5852 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04281/1.932, allocations: 12.75 MB / 0.5976 GB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06597/1.998, allocations: 16.87 MB / 0.6141 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000583/1.999, allocations: 39.62 kB / 0.6141 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00599/2.005, allocations: 27.94 kB / 0.6141 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008781/2.014, allocations: 2.162 MB / 0.6162 GB, free: 7.859 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.603/2.617, allocations: 59.18 MB / 0.674 GB, free: 68.74 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/2.635, allocations: 6.14 MB / 0.68 GB, free: 66.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008494/2.644, allocations: 2.038 MB / 0.682 GB, free: 66.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004617/2.648, allocations: 2.283 MB / 0.6843 GB, free: 64.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.435e-05/2.649, allocations: 61.06 kB / 0.6843 GB, free: 64.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=341): time 1.397e-05/2.649, allocations: 0 / 0.6843 GB, free: 64.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=341): time 0.02649/2.675, allocations: 5.111 MB / 0.6893 GB, free: 62.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/2.675, allocations: 102.8 kB / 0.6894 GB, free: 62.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/2.689, allocations: 4.474 MB / 0.6938 GB, free: 61.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000733/2.69, allocations: 25.7 kB / 0.6938 GB, free: 61.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005258/2.695, allocations: 5.258 MB / 0.6989 GB, free: 57.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002378/2.697, allocations: 1.25 MB / 0.7002 GB, free: 56.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/2.699, allocations: 0 / 0.7002 GB, free: 56.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001438/2.7, allocations: 0.7556 MB / 0.7009 GB, free: 56.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01026/2.711, allocations: 3.095 MB / 0.7039 GB, free: 55.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01412/2.725, allocations: 8.918 MB / 0.7126 GB, free: 46.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/2.74, allocations: 5.439 MB / 0.7179 GB, free: 45.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002284/2.74, allocations: 60.06 kB / 0.718 GB, free: 45.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.03339/2.773, allocations: 10.85 MB / 0.7286 GB, free: 36.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/2.774, allocations: 92 kB / 0.7287 GB, free: 36.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000329/2.774, allocations: 211.8 kB / 0.7289 GB, free: 36.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/2.774, allocations: 308 kB / 0.7292 GB, free: 35.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/2.791, allocations: 2.271 MB / 0.7314 GB, free: 33.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004616/2.792, allocations: 409.5 kB / 0.7318 GB, free: 33.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/2.803, allocations: 1.137 MB / 0.7329 GB, free: 32.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/2.805, allocations: 0.5928 MB / 0.7335 GB, free: 31.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1246): * Single equations (assignments): 1234 * Array equations: 12 * 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.002746/2.808, allocations: 0.5962 MB / 0.7341 GB, free: 31.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/2.809, allocations: 465.8 kB / 0.7345 GB, free: 30.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/2.811, allocations: 0.6246 MB / 0.7351 GB, free: 30.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001523/2.812, allocations: 59.61 kB / 0.7352 GB, free: 30.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.07e-05/2.812, allocations: 3.953 kB / 0.7352 GB, free: 30.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/2.812, allocations: 12.47 kB / 0.7352 GB, free: 30.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03913/2.851, allocations: 12.66 MB / 0.7475 GB, free: 19.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/2.851, allocations: 12 kB / 0.7475 GB, free: 19.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006083/2.857, allocations: 457.4 kB / 0.748 GB, free: 18.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-05/2.857, allocations: 24 kB / 0.748 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006728/2.858, allocations: 31.14 kB / 0.748 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.497e-05/2.858, allocations: 27.27 kB / 0.7481 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-05/2.858, allocations: 19.94 kB / 0.7481 GB, free: 18.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/2.875, allocations: 6.545 MB / 0.7545 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/2.877, allocations: 0.553 MB / 0.755 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002134/2.879, allocations: 23.23 kB / 0.755 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005617/2.885, allocations: 100 kB / 0.7551 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001164/2.886, allocations: 180.2 kB / 0.7553 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005732/2.887, allocations: 102.7 kB / 0.7554 GB, free: 11.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01131/2.898, allocations: 2.917 MB / 0.7583 GB, free: 8.855 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.703e-06/2.898, allocations: 0 / 0.7583 GB, free: 8.855 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01857/2.917, allocations: 1.827 MB / 0.76 GB, free: 7.023 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * 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.02412/2.941, allocations: 10.02 MB / 0.7698 GB, free: 13.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02376/2.965, allocations: 7.166 MB / 0.7768 GB, free: 6.754 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/2.965, allocations: 6.438 kB / 0.7768 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006949/2.972, allocations: 2.119 MB / 0.7789 GB, free: 4.836 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/2.976, allocations: 356.4 kB / 0.7792 GB, free: 4.512 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06151/3.037, allocations: 15.24 MB / 0.7941 GB, free: 7.086 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0216/3.059, allocations: 5.564 MB / 0.7995 GB, free: 2.535 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.5653/3.624, allocations: 4.003 MB / 0.8035 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01418/3.639, allocations: 3.369 MB / 0.8067 GB, free: 110.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.334e-06/3.639, allocations: 0 / 0.8067 GB, free: 110.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4488/4.087, allocations: 106.1 MB / 0.9104 GB, free: 56.91 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001167/4.089, allocations: 145 kB / 0.9105 GB, free: 56.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.288/12.38, allocations: 3.938 kB / 0.9105 GB, free: 56.71 MB / 490.7 MB