Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.101/3.101, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.764e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.5594, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.7828, allocations: 95.27 MB / 449.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.7832, allocations: 75.97 kB / 449.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6658/1.449, allocations: 55.78 MB / 0.4937 GB, free: 71.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.449, allocations: 0 / 0.4937 GB, free: 71.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000156/1.449, allocations: 52 kB / 0.4937 GB, free: 71.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01164/1.461, allocations: 2.684 MB / 0.4964 GB, free: 68.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.461, allocations: 8.031 kB / 0.4964 GB, free: 68.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003032/1.464, allocations: 450 kB / 0.4968 GB, free: 68.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/1.49, allocations: 1.829 MB / 0.4986 GB, free: 66.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/1.503, allocations: 1.738 MB / 0.5003 GB, free: 64.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/1.504, allocations: 133.9 kB / 0.5004 GB, free: 64.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/1.507, allocations: 172 kB / 0.5006 GB, free: 64.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.024/1.531, allocations: 4.477 MB / 0.5049 GB, free: 59.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/1.551, allocations: 6.218 MB / 0.511 GB, free: 53.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/1.552, allocations: 19.81 kB / 0.511 GB, free: 53.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/1.553, allocations: 15.94 kB / 0.5111 GB, free: 53.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/1.555, allocations: 0.6996 MB / 0.5117 GB, free: 52.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0539/1.608, allocations: 23.52 MB / 0.5347 GB, free: 28.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/1.612, allocations: 1.527 MB / 0.5362 GB, free: 26.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/1.614, allocations: 0.5821 MB / 0.5368 GB, free: 25.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/1.614, allocations: 15.81 kB / 0.5368 GB, free: 25.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.614, allocations: 43.33 kB / 0.5368 GB, free: 25.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 6.292e-06/1.614, allocations: 0 / 0.5368 GB, free: 25.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.007571/1.622, allocations: 1.495 MB / 0.5383 GB, free: 24.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.622, allocations: 60.19 kB / 0.5383 GB, free: 24.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/1.626, allocations: 1.634 MB / 0.5399 GB, free: 22.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/1.627, allocations: 29.69 kB / 0.54 GB, free: 22.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00208/1.629, allocations: 2.038 MB / 0.5419 GB, free: 20.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007258/1.63, allocations: 414.6 kB / 0.5423 GB, free: 20.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/1.63, allocations: 0 / 0.5423 GB, free: 20.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004634/1.63, allocations: 0.4983 MB / 0.5428 GB, free: 19.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/1.633, allocations: 0.9283 MB / 0.5437 GB, free: 18.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004707/1.638, allocations: 3.058 MB / 0.5467 GB, free: 14.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005004/1.643, allocations: 1.729 MB / 0.5484 GB, free: 12.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.498e-05/1.643, allocations: 28 kB / 0.5484 GB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.01262/1.656, allocations: 3.53 MB / 0.5519 GB, free: 9.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.882e-05/1.656, allocations: 41.59 kB / 0.5519 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/1.656, allocations: 76 kB / 0.552 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/1.656, allocations: 112 kB / 0.5521 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006549/1.663, allocations: 0.7915 MB / 0.5529 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000175/1.663, allocations: 147.4 kB / 0.553 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/1.668, allocations: 391.2 kB / 0.5534 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009797/1.669, allocations: 212 kB / 0.5536 GB, free: 7.555 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 429 * 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.0008651/1.67, allocations: 305.2 kB / 0.5539 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/1.67, allocations: 173.7 kB / 0.554 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/1.675, allocations: 1.35 MB / 0.5554 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.335e-05/1.675, allocations: 16 kB / 0.5554 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.675, allocations: 0 / 0.5554 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.675, allocations: 3.984 kB / 0.5554 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/1.69, allocations: 4.737 MB / 0.56 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.69, allocations: 11.98 kB / 0.56 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.692, allocations: 159.7 kB / 0.5602 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.428e-05/1.692, allocations: 16 kB / 0.5602 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/1.692, allocations: 19.98 kB / 0.5602 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-05/1.692, allocations: 20.5 kB / 0.5602 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/1.692, allocations: 19.88 kB / 0.5602 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/1.698, allocations: 2.364 MB / 0.5626 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/1.699, allocations: 254.5 kB / 0.5628 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000508/1.699, allocations: 15.98 kB / 0.5628 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.701, allocations: 27.92 kB / 0.5628 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.701, allocations: 87.7 kB / 0.5629 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.702, allocations: 40 kB / 0.563 GB, free: 13.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003621/1.705, allocations: 1.087 MB / 0.564 GB, free: 12.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.705, allocations: 4 kB / 0.564 GB, free: 12.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006577/1.712, allocations: 0.7111 MB / 0.5647 GB, free: 11.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.01094/1.723, allocations: 5.793 MB / 0.5704 GB, free: 5.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01084/1.734, allocations: 2.212 MB / 0.5725 GB, free: 3.211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-05/1.734, allocations: 4 kB / 0.5725 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003033/1.737, allocations: 0.6001 MB / 0.5731 GB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/1.74, allocations: 174 kB / 0.5733 GB, free: 2.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05013/1.79, allocations: 5.628 MB / 0.5788 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/1.801, allocations: 2.513 MB / 0.5812 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01097/1.812, allocations: 1.152 MB / 0.5824 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005692/1.818, allocations: 1.187 MB / 0.5835 GB, free: 7.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/1.818, allocations: 4 kB / 0.5835 GB, free: 7.746 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1623/1.98, allocations: 37.37 MB / 0.62 GB, free: 2.406 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004069/1.981, allocations: 136.5 kB / 0.6202 GB, free: 2.215 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.815/6.796, allocations: 0 / 0.6202 GB, free: 2.215 MB / 458.7 MB