Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.751e-05, allocations: 7.938 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3902, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.5798, allocations: 102.8 MB / 0.4997 GB, free: 3.746 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.5802, allocations: 79.95 kB / 0.4998 GB, free: 3.668 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5739/1.154, allocations: 53.72 MB / 0.5522 GB, free: 88.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.154, allocations: 4 kB / 0.5522 GB, free: 88.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001137/1.154, allocations: 52 kB / 0.5523 GB, free: 88.7 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.008059/1.162, allocations: 2.527 MB / 0.5547 GB, free: 86.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.162, allocations: 8.031 kB / 0.5548 GB, free: 86.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001742/1.164, allocations: 0.5169 MB / 0.5553 GB, free: 85.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/1.177, allocations: 1.79 MB / 0.557 GB, free: 83.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/1.183, allocations: 1.675 MB / 0.5586 GB, free: 82.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/1.183, allocations: 211 kB / 0.5588 GB, free: 81.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/1.184, allocations: 267.9 kB / 0.5591 GB, free: 81.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/1.204, allocations: 6.235 MB / 0.5652 GB, free: 75.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/1.204, allocations: 19.81 kB / 0.5652 GB, free: 75.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001611/1.206, allocations: 123.9 kB / 0.5653 GB, free: 74.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001951/1.208, allocations: 0.6411 MB / 0.566 GB, free: 74.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/1.231, allocations: 5.344 MB / 0.5712 GB, free: 68.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05553/1.287, allocations: 22.12 MB / 0.5928 GB, free: 46.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/1.297, allocations: 2.067 MB / 0.5948 GB, free: 43.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/1.299, allocations: 0.6799 MB / 0.5955 GB, free: 43.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01375/1.313, allocations: 3.519 MB / 0.5989 GB, free: 39.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/1.313, allocations: 54.88 kB / 0.5989 GB, free: 39.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 5.941e-06/1.313, allocations: 0 / 0.5989 GB, free: 39.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.01224/1.326, allocations: 1.581 MB / 0.6005 GB, free: 37.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.326, allocations: 55.84 kB / 0.6005 GB, free: 37.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005406/1.331, allocations: 1.719 MB / 0.6022 GB, free: 36.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.331, allocations: 37.7 kB / 0.6023 GB, free: 36.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002046/1.333, allocations: 1.895 MB / 0.6041 GB, free: 34.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005869/1.334, allocations: 316 kB / 0.6044 GB, free: 33.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/1.334, allocations: 56 kB / 0.6045 GB, free: 33.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003152/1.335, allocations: 445.1 kB / 0.6049 GB, free: 33.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/1.338, allocations: 0.8374 MB / 0.6057 GB, free: 32.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/1.342, allocations: 2.668 MB / 0.6083 GB, free: 28.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/1.347, allocations: 1.529 MB / 0.6098 GB, free: 27.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.478e-05/1.347, allocations: 20 kB / 0.6098 GB, free: 27.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01221/1.359, allocations: 3.179 MB / 0.6129 GB, free: 24.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/1.359, allocations: 33.56 kB / 0.613 GB, free: 24.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/1.36, allocations: 68 kB / 0.613 GB, free: 24.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/1.36, allocations: 96 kB / 0.6131 GB, free: 24.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.365, allocations: 0.655 MB / 0.6138 GB, free: 23.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001984/1.365, allocations: 131.5 kB / 0.6139 GB, free: 23.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004985/1.37, allocations: 407.9 kB / 0.6143 GB, free: 22.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007905/1.371, allocations: 192 kB / 0.6144 GB, free: 22.65 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 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.0007467/1.372, allocations: 338.4 kB / 0.6148 GB, free: 22.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/1.372, allocations: 157.9 kB / 0.6149 GB, free: 22.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/1.373, allocations: 205.2 kB / 0.6151 GB, free: 21.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-05/1.373, allocations: 8 kB / 0.6151 GB, free: 21.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.373, allocations: 7.984 kB / 0.6151 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.373, allocations: 0 / 0.6151 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.388, allocations: 4.13 MB / 0.6192 GB, free: 17.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.388, allocations: 4 kB / 0.6192 GB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.389, allocations: 103.8 kB / 0.6193 GB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.261e-05/1.389, allocations: 8 kB / 0.6193 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-05/1.389, allocations: 20 kB / 0.6193 GB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/1.389, allocations: 8 kB / 0.6193 GB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/1.389, allocations: 11.92 kB / 0.6193 GB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/1.392, allocations: 1.638 MB / 0.6209 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/1.393, allocations: 262.5 kB / 0.6212 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/1.394, allocations: 19.98 kB / 0.6212 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.395, allocations: 23.98 kB / 0.6212 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/1.395, allocations: 59.73 kB / 0.6213 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.395, allocations: 31.98 kB / 0.6213 GB, free: 15.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004069/1.4, allocations: 1.252 MB / 0.6225 GB, free: 13.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.103e-06/1.4, allocations: 3.938 kB / 0.6225 GB, free: 13.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005816/1.405, allocations: 0.7155 MB / 0.6232 GB, free: 13.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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.004234/1.41, allocations: 3.771 MB / 0.6269 GB, free: 9.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005944/1.416, allocations: 1.874 MB / 0.6287 GB, free: 7.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/1.416, allocations: 4 kB / 0.6287 GB, free: 7.371 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/1.417, allocations: 444.6 kB / 0.6292 GB, free: 6.941 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.419, allocations: 232.4 kB / 0.6294 GB, free: 6.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.442, allocations: 5.302 MB / 0.6346 GB, free: 1.273 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006574/1.449, allocations: 2.375 MB / 0.6369 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00411/1.453, allocations: 1.081 MB / 0.6379 GB, free: 13.79 MB / 458.7 MB Notification: Performance of SimCode: time 6.503e-06/1.453, allocations: 0 / 0.6379 GB, free: 13.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.396/4.849, allocations: 44.75 MB / 0.6816 GB, free: 1.066 MB / 490.7 MB