Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.801e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4084, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.5931, allocations: 102.8 MB / 0.4997 GB, free: 3.844 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5935, allocations: 83.89 kB / 0.4998 GB, free: 3.762 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5955/1.189, allocations: 53.74 MB / 0.5523 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.189, allocations: 4 kB / 0.5523 GB, free: 88.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001101/1.189, allocations: 52 kB / 0.5523 GB, free: 88.83 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007638/1.197, allocations: 2.51 MB / 0.5548 GB, free: 86.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.197, allocations: 11.97 kB / 0.5548 GB, free: 86.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001607/1.199, allocations: 0.5207 MB / 0.5553 GB, free: 85.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/1.211, allocations: 1.804 MB / 0.557 GB, free: 83.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/1.217, allocations: 1.665 MB / 0.5587 GB, free: 82.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/1.217, allocations: 206 kB / 0.5589 GB, free: 82.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/1.218, allocations: 271.9 kB / 0.5591 GB, free: 81.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/1.234, allocations: 6.235 MB / 0.5652 GB, free: 75.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.693e-05/1.234, allocations: 15.88 kB / 0.5652 GB, free: 75.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005449/1.234, allocations: 127.9 kB / 0.5654 GB, free: 75.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001142/1.235, allocations: 0.6294 MB / 0.566 GB, free: 74.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/1.25, allocations: 5.344 MB / 0.5712 GB, free: 69.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03914/1.289, allocations: 22.31 MB / 0.593 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006448/1.296, allocations: 1.991 MB / 0.5949 GB, free: 44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/1.297, allocations: 0.6838 MB / 0.5956 GB, free: 43.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009684/1.307, allocations: 3.687 MB / 0.5992 GB, free: 39.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.307, allocations: 47 kB / 0.5992 GB, free: 39.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 4.217e-06/1.307, allocations: 0 / 0.5992 GB, free: 39.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.007873/1.315, allocations: 1.585 MB / 0.6008 GB, free: 37.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/1.315, allocations: 55.84 kB / 0.6008 GB, free: 37.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/1.318, allocations: 1.726 MB / 0.6025 GB, free: 36.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/1.318, allocations: 37.7 kB / 0.6026 GB, free: 35.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.32, allocations: 1.895 MB / 0.6044 GB, free: 34.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/1.32, allocations: 320 kB / 0.6047 GB, free: 33.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/1.32, allocations: 60 kB / 0.6048 GB, free: 33.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/1.32, allocations: 441.1 kB / 0.6052 GB, free: 33.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/1.322, allocations: 0.8335 MB / 0.606 GB, free: 32.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/1.325, allocations: 2.676 MB / 0.6086 GB, free: 28.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/1.328, allocations: 1.517 MB / 0.6101 GB, free: 27.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-05/1.328, allocations: 24 kB / 0.6101 GB, free: 27.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.007709/1.336, allocations: 3.173 MB / 0.6132 GB, free: 24.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/1.336, allocations: 37.78 kB / 0.6133 GB, free: 24.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-05/1.336, allocations: 68 kB / 0.6133 GB, free: 23.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/1.336, allocations: 99.98 kB / 0.6134 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/1.34, allocations: 0.6589 MB / 0.6141 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001138/1.34, allocations: 131.5 kB / 0.6142 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/1.343, allocations: 407.7 kB / 0.6146 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000541/1.344, allocations: 188 kB / 0.6148 GB, free: 22.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (362): * Single equations (assignments): 359 * 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.000493/1.344, allocations: 338.4 kB / 0.6151 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/1.344, allocations: 157.9 kB / 0.6152 GB, free: 22.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/1.345, allocations: 201.2 kB / 0.6154 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/1.345, allocations: 15.97 kB / 0.6154 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.345, allocations: 0 / 0.6154 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.345, allocations: 0 / 0.6154 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/1.354, allocations: 4.081 MB / 0.6194 GB, free: 17.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.354, allocations: 7.938 kB / 0.6194 GB, free: 17.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/1.355, allocations: 103.8 kB / 0.6195 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/1.355, allocations: 16.8 kB / 0.6195 GB, free: 17.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/1.355, allocations: 20 kB / 0.6196 GB, free: 17.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/1.355, allocations: 19.92 kB / 0.6196 GB, free: 17.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.355, allocations: 8 kB / 0.6196 GB, free: 17.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.358, allocations: 1.72 MB / 0.6213 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/1.358, allocations: 262.7 kB / 0.6215 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/1.358, allocations: 23.97 kB / 0.6215 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009022/1.359, allocations: 27.89 kB / 0.6216 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.359, allocations: 55.84 kB / 0.6216 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/1.359, allocations: 31.98 kB / 0.6216 GB, free: 14.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002745/1.362, allocations: 1.252 MB / 0.6229 GB, free: 13.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.362, allocations: 0 / 0.6229 GB, free: 13.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003807/1.366, allocations: 0.7077 MB / 0.6236 GB, free: 12.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.002866/1.369, allocations: 4.049 MB / 0.6275 GB, free: 8.715 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00398/1.373, allocations: 1.869 MB / 0.6293 GB, free: 6.859 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/1.373, allocations: 0 / 0.6293 GB, free: 6.859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008032/1.374, allocations: 448.8 kB / 0.6298 GB, free: 6.426 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.376, allocations: 228.7 kB / 0.63 GB, free: 6.203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/1.39, allocations: 5.344 MB / 0.6352 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004097/1.394, allocations: 2.379 MB / 0.6375 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/1.397, allocations: 1.089 MB / 0.6386 GB, free: 13.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/1.397, allocations: 0 / 0.6386 GB, free: 13.22 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.583/4.981, allocations: 44.75 MB / 0.6823 GB, free: 500 kB / 490.7 MB