Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.448e-05, allocations: 4 kB / 347 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4249, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.624, allocations: 102.7 MB / 0.4997 GB, free: 3.746 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.6244, allocations: 79.95 kB / 0.4997 GB, free: 3.668 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5733/1.198, allocations: 53.73 MB / 0.5522 GB, free: 88.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.198, allocations: 0 / 0.5522 GB, free: 88.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001362/1.198, allocations: 55.94 kB / 0.5523 GB, free: 88.62 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.008942/1.207, allocations: 2.523 MB / 0.5547 GB, free: 86.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.207, allocations: 8.031 kB / 0.5547 GB, free: 86.05 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001754/1.209, allocations: 0.5161 MB / 0.5553 GB, free: 85.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/1.222, allocations: 1.793 MB / 0.557 GB, free: 83.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/1.227, allocations: 1.67 MB / 0.5586 GB, free: 82.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/1.228, allocations: 209.7 kB / 0.5588 GB, free: 81.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009789/1.229, allocations: 268.8 kB / 0.5591 GB, free: 81.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/1.244, allocations: 6.243 MB / 0.5652 GB, free: 75.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.833e-05/1.244, allocations: 19.81 kB / 0.5652 GB, free: 74.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005659/1.244, allocations: 123.9 kB / 0.5653 GB, free: 74.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/1.246, allocations: 0.6333 MB / 0.5659 GB, free: 74.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/1.26, allocations: 5.344 MB / 0.5712 GB, free: 68.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03671/1.297, allocations: 22.3 MB / 0.5929 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006142/1.303, allocations: 1.991 MB / 0.5949 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/1.304, allocations: 0.6799 MB / 0.5956 GB, free: 43.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009344/1.314, allocations: 3.69 MB / 0.5992 GB, free: 39.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.314, allocations: 43 kB / 0.5992 GB, free: 39.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 4.409e-06/1.314, allocations: 0 / 0.5992 GB, free: 39.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.007786/1.322, allocations: 1.585 MB / 0.6007 GB, free: 37.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.322, allocations: 55.84 kB / 0.6008 GB, free: 37.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/1.325, allocations: 1.726 MB / 0.6025 GB, free: 35.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.442e-05/1.325, allocations: 33.7 kB / 0.6025 GB, free: 35.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.326, allocations: 1.899 MB / 0.6044 GB, free: 33.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/1.326, allocations: 324 kB / 0.6047 GB, free: 33.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.327, allocations: 56 kB / 0.6047 GB, free: 33.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/1.327, allocations: 445 kB / 0.6052 GB, free: 33.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/1.328, allocations: 0.8296 MB / 0.606 GB, free: 32.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/1.331, allocations: 2.664 MB / 0.6086 GB, free: 28.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/1.334, allocations: 1.529 MB / 0.6101 GB, free: 27.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.644e-05/1.334, allocations: 16 kB / 0.6101 GB, free: 27.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.006777/1.341, allocations: 3.188 MB / 0.6132 GB, free: 23.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/1.341, allocations: 33.56 kB / 0.6132 GB, free: 23.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.317e-05/1.341, allocations: 64 kB / 0.6133 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/1.341, allocations: 100 kB / 0.6134 GB, free: 23.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/1.344, allocations: 0.6557 MB / 0.614 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001042/1.345, allocations: 139.4 kB / 0.6142 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.347, allocations: 411.6 kB / 0.6145 GB, free: 22.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/1.348, allocations: 188 kB / 0.6147 GB, free: 22.31 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.0004356/1.348, allocations: 342.4 kB / 0.615 GB, free: 21.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/1.348, allocations: 157.9 kB / 0.6152 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/1.349, allocations: 201.2 kB / 0.6154 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/1.349, allocations: 12 kB / 0.6154 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.349, allocations: 0 / 0.6154 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/1.349, allocations: 3.984 kB / 0.6154 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008469/1.357, allocations: 4.077 MB / 0.6194 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.357, allocations: 8 kB / 0.6194 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/1.358, allocations: 99.83 kB / 0.6195 GB, free: 17.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/1.358, allocations: 12 kB / 0.6195 GB, free: 17.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/1.358, allocations: 23.98 kB / 0.6195 GB, free: 17.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.358, allocations: 11.94 kB / 0.6195 GB, free: 17.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.358, allocations: 11.94 kB / 0.6195 GB, free: 17.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/1.36, allocations: 1.724 MB / 0.6212 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/1.361, allocations: 254.7 kB / 0.6215 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/1.361, allocations: 20 kB / 0.6215 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/1.362, allocations: 27.89 kB / 0.6215 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.362, allocations: 59.77 kB / 0.6216 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/1.362, allocations: 32 kB / 0.6216 GB, free: 14.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002356/1.364, allocations: 1.256 MB / 0.6228 GB, free: 13.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.364, allocations: 0 / 0.6228 GB, free: 13.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003257/1.368, allocations: 0.7077 MB / 0.6235 GB, free: 12.79 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.002791/1.371, allocations: 4.053 MB / 0.6275 GB, free: 8.516 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00387/1.374, allocations: 1.859 MB / 0.6293 GB, free: 6.672 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.374, allocations: 64 / 0.6293 GB, free: 6.672 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007548/1.375, allocations: 461.1 kB / 0.6297 GB, free: 6.223 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.377, allocations: 230 kB / 0.63 GB, free: 6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.391, allocations: 5.344 MB / 0.6352 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004164/1.395, allocations: 2.379 MB / 0.6375 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/1.398, allocations: 1.093 MB / 0.6386 GB, free: 13.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/1.398, allocations: 0 / 0.6386 GB, free: 13.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.41/4.808, allocations: 44.75 MB / 0.6823 GB, free: 296 kB / 490.7 MB