Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.268/3.268, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.586e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.667, allocations: 98.14 MB / 452.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.6674, allocations: 75.97 kB / 452.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303/1.971, allocations: 163 MB / 0.6012 GB, free: 9.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.796e-06/1.971, allocations: 0 / 0.6012 GB, free: 9.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006912/1.971, allocations: 160 kB / 0.6013 GB, free: 9.113 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.04189/2.013, allocations: 7.968 MB / 0.6091 GB, free: 1.062 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/2.013, allocations: 12.03 kB / 0.6091 GB, free: 1.051 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007762/2.021, allocations: 1.123 MB / 0.6102 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04255/2.064, allocations: 3.678 MB / 0.6138 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04565/2.109, allocations: 9.672 MB / 0.6232 GB, free: 2.465 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009349/2.11, allocations: 361 kB / 0.6236 GB, free: 2.109 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005407/2.116, allocations: 499.8 kB / 0.6241 GB, free: 1.621 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.499/2.615, allocations: 11.6 MB / 0.6354 GB, free: 62.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05677/2.672, allocations: 16.95 MB / 0.652 GB, free: 58.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000747/2.673, allocations: 90.28 kB / 0.652 GB, free: 58.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005113/2.678, allocations: 47.56 kB / 0.6521 GB, free: 58.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006482/2.684, allocations: 1.865 MB / 0.6539 GB, free: 58.67 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.181/2.865, allocations: 82.13 MB / 0.7341 GB, free: 23.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008739/2.874, allocations: 3.06 MB / 0.7371 GB, free: 21.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004526/2.879, allocations: 1.499 MB / 0.7386 GB, free: 20.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/2.879, allocations: 40.23 kB / 0.7386 GB, free: 20.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/2.879, allocations: 63.09 kB / 0.7387 GB, free: 20.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 8.476e-06/2.879, allocations: 0 / 0.7387 GB, free: 20.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.05513/2.934, allocations: 11.8 MB / 0.7502 GB, free: 15.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/2.934, allocations: 158.2 kB / 0.7503 GB, free: 14.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/2.951, allocations: 5.158 MB / 0.7554 GB, free: 13.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006831/2.952, allocations: 25.7 kB / 0.7554 GB, free: 13.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008775/2.961, allocations: 5.918 MB / 0.7612 GB, free: 8.684 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002167/2.963, allocations: 0.9659 MB / 0.7621 GB, free: 7.984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/2.964, allocations: 0 / 0.7621 GB, free: 7.984 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001032/2.965, allocations: 0.7068 MB / 0.7628 GB, free: 7.508 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009221/2.975, allocations: 2.361 MB / 0.7651 GB, free: 6.395 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01836/2.993, allocations: 8.366 MB / 0.7733 GB, free: 11.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/3.008, allocations: 4.393 MB / 0.7776 GB, free: 8.301 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003149/3.009, allocations: 64 kB / 0.7776 GB, free: 8.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.03972/3.048, allocations: 9.4 MB / 0.7868 GB, free: 16 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001203/3.05, allocations: 137.2 kB / 0.7869 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005503/3.05, allocations: 224.8 kB / 0.7872 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/3.051, allocations: 316 kB / 0.7875 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02219/3.073, allocations: 2.324 MB / 0.7897 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006481/3.074, allocations: 420.4 kB / 0.7901 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0162/3.09, allocations: 463.4 kB / 0.7906 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003067/3.093, allocations: 0.5748 MB / 0.7911 GB, free: 12.13 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 988 * Number of states: 0 () * Number of discrete variables: 57 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1210): * Single equations (assignments): 1207 * 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.004025/3.097, allocations: 0.6369 MB / 0.7918 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/3.099, allocations: 0.5437 MB / 0.7923 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/3.11, allocations: 2.579 MB / 0.7948 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/3.111, allocations: 31.95 kB / 0.7948 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.889e-05/3.111, allocations: 0 / 0.7948 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.029e-05/3.111, allocations: 14.83 kB / 0.7948 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6163/3.727, allocations: 21.2 MB / 0.8156 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001901/3.727, allocations: 59.38 kB / 0.8156 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00537/3.733, allocations: 0.558 MB / 0.8162 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/3.733, allocations: 85.94 kB / 0.8162 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007647/3.734, allocations: 85.84 kB / 0.8163 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001127/3.734, allocations: 109.3 kB / 0.8164 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.33e-05/3.734, allocations: 85.19 kB / 0.8165 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/3.748, allocations: 14.79 MB / 0.8309 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003113/3.751, allocations: 0.6519 MB / 0.8316 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002609/3.754, allocations: 88.89 kB / 0.8317 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007159/3.761, allocations: 154.7 kB / 0.8318 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001177/3.762, allocations: 382.9 kB / 0.8322 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004403/3.763, allocations: 163.3 kB / 0.8323 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01097/3.774, allocations: 3.467 MB / 0.8357 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.084e-06/3.774, allocations: 0 / 0.8357 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0147/3.789, allocations: 1.312 MB / 0.837 GB, free: 80.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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.01642/3.805, allocations: 26.42 MB / 0.8628 GB, free: 55.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01579/3.821, allocations: 5.568 MB / 0.8682 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.91e-05/3.821, allocations: 7.156 kB / 0.8682 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004071/3.825, allocations: 1.408 MB / 0.8696 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008863/3.834, allocations: 0.7301 MB / 0.8703 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07299/3.907, allocations: 16.78 MB / 0.8867 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01773/3.925, allocations: 5.921 MB / 0.8925 GB, free: 49.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01894/3.944, allocations: 2.956 MB / 0.8954 GB, free: 49.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0104/3.954, allocations: 3.79 MB / 0.8991 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of SimCode: time 2.816e-06/3.954, allocations: 0 / 0.8991 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8566/4.811, allocations: 114.6 MB / 1.011 GB, free: 88.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003354/4.811, allocations: 130.5 kB / 1.011 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.446/14.26, allocations: 0 / 1.011 GB, free: 88.61 MB / 0.5105 GB