Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.332e-05/4.339e-05, allocations: 5.406 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 50.4 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.5758, allocations: 100.7 MB / 443.4 MB, free: 9.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.5761, allocations: 85.7 kB / 443.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4218/0.9979, allocations: 92.48 MB / 0.5234 GB, free: 1.242 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.998, allocations: 4.188 kB / 0.5234 GB, free: 1.238 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003128/0.9983, allocations: 91.94 kB / 0.5235 GB, free: 1.148 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.3134/1.312, allocations: 4.419 MB / 0.5278 GB, free: 96.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/1.312, allocations: 9.469 kB / 0.5278 GB, free: 96.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003971/1.316, allocations: 0.8098 MB / 0.5286 GB, free: 96.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03523/1.351, allocations: 4.437 MB / 0.5329 GB, free: 95.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/1.371, allocations: 4.75 MB / 0.5375 GB, free: 95.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005246/1.371, allocations: 337.1 kB / 0.5379 GB, free: 95.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/1.374, allocations: 448.6 kB / 0.5383 GB, free: 95.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/1.407, allocations: 11.16 MB / 0.5492 GB, free: 92.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/1.408, allocations: 67.39 kB / 0.5493 GB, free: 92.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00212/1.41, allocations: 213.2 kB / 0.5495 GB, free: 92.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/1.412, allocations: 1.095 MB / 0.5505 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02655/1.439, allocations: 8.942 MB / 0.5593 GB, free: 92.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06922/1.508, allocations: 50.38 MB / 0.6085 GB, free: 56.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.528, allocations: 4.734 MB / 0.6131 GB, free: 55.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004295/1.532, allocations: 2.297 MB / 0.6153 GB, free: 54.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/1.549, allocations: 7.271 MB / 0.6224 GB, free: 50.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.549, allocations: 51.31 kB / 0.6225 GB, free: 50.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 5.69e-06/1.549, allocations: 3.094 kB / 0.6225 GB, free: 50.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=198): time 0.06632/1.616, allocations: 15.23 MB / 0.6374 GB, free: 39.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/1.616, allocations: 171.5 kB / 0.6375 GB, free: 39.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00857/1.624, allocations: 4.053 MB / 0.6415 GB, free: 35.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004994/1.625, allocations: 57.64 kB / 0.6415 GB, free: 35.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/1.628, allocations: 3.127 MB / 0.6446 GB, free: 32.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.629, allocations: 0.7548 MB / 0.6453 GB, free: 32.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006377/1.63, allocations: 123.8 kB / 0.6454 GB, free: 32.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003663/1.63, allocations: 0.5759 MB / 0.646 GB, free: 31.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004887/1.635, allocations: 2.162 MB / 0.6481 GB, free: 29.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/1.642, allocations: 5.848 MB / 0.6538 GB, free: 22.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007447/1.649, allocations: 3.546 MB / 0.6573 GB, free: 19.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.264e-05/1.65, allocations: 40 kB / 0.6573 GB, free: 19.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.02109/1.671, allocations: 8.078 MB / 0.6652 GB, free: 12.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/1.671, allocations: 64.25 kB / 0.6653 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/1.671, allocations: 132 kB / 0.6654 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003511/1.675, allocations: 0.9115 MB / 0.6663 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009017/1.684, allocations: 1.475 MB / 0.6677 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.694, allocations: 5.757 MB / 0.6733 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/1.701, allocations: 354.3 kB / 0.6737 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.703, allocations: 380 kB / 0.674 GB, free: 4.102 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 49 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 752 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001837/1.705, allocations: 0.5882 MB / 0.6746 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.706, allocations: 394.8 kB / 0.675 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.716, allocations: 3.558 MB / 0.6785 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.045e-05/1.716, allocations: 24 kB / 0.6785 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.716, allocations: 4 kB / 0.6785 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.057e-05/1.716, allocations: 11.97 kB / 0.6785 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02953/1.746, allocations: 9.08 MB / 0.6874 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-05/1.746, allocations: 8 kB / 0.6874 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00384/1.75, allocations: 391.9 kB / 0.6878 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003534/1.753, allocations: 0.7196 MB / 0.6885 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004461/1.754, allocations: 39.98 kB / 0.6885 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3206/2.075, allocations: 5.303 MB / 0.6937 GB, free: 99.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.741e-05/2.075, allocations: 11.22 kB / 0.6937 GB, free: 99.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/2.091, allocations: 7.142 MB / 0.7007 GB, free: 98.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/2.093, allocations: 472.1 kB / 0.7011 GB, free: 98.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/2.094, allocations: 38.58 kB / 0.7012 GB, free: 98.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/2.097, allocations: 117.2 kB / 0.7013 GB, free: 98.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005485/2.098, allocations: 130 kB / 0.7014 GB, free: 98.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/2.098, allocations: 55.91 kB / 0.7014 GB, free: 98.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008499/2.106, allocations: 2.886 MB / 0.7043 GB, free: 98.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.272e-06/2.107, allocations: 3.188 kB / 0.7043 GB, free: 98.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007943/2.114, allocations: 1.058 MB / 0.7053 GB, free: 98.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01673/2.131, allocations: 8.977 MB / 0.7141 GB, free: 94.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01146/2.143, allocations: 5.144 MB / 0.7191 GB, free: 94.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/2.143, allocations: 3.531 kB / 0.7191 GB, free: 94.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004749/2.148, allocations: 1.872 MB / 0.7209 GB, free: 94.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/2.151, allocations: 465.9 kB / 0.7214 GB, free: 94.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/2.181, allocations: 10.41 MB / 0.7315 GB, free: 92.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006571/2.187, allocations: 3.562 MB / 0.735 GB, free: 91.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005015/2.192, allocations: 2.143 MB / 0.7371 GB, free: 90.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/2.192, allocations: 0 / 0.7371 GB, free: 90.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.459/6.652, allocations: 105.3 MB / 0.84 GB, free: 17.91 MB / 458.7 MB