Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.556/2.556, allocations: 270 MB / 282.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.466e-05/4.473e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4594, allocations: 61.88 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.6533, allocations: 105.1 MB / 0.5019 GB, free: 1.434 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.6536, allocations: 75.95 kB / 0.502 GB, free: 1.359 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5726/1.226, allocations: 60.89 MB / 0.5615 GB, free: 79.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.226, allocations: 0 / 0.5615 GB, free: 79.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001496/1.226, allocations: 60 kB / 0.5615 GB, free: 79.12 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.009924/1.236, allocations: 2.877 MB / 0.5644 GB, free: 76.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.236, allocations: 12.03 kB / 0.5644 GB, free: 76.17 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002501/1.239, allocations: 0.6135 MB / 0.565 GB, free: 75.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/1.253, allocations: 1.875 MB / 0.5668 GB, free: 73.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00603/1.259, allocations: 1.888 MB / 0.5686 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/1.259, allocations: 254.6 kB / 0.5689 GB, free: 71.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/1.261, allocations: 335.9 kB / 0.5692 GB, free: 71.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/1.282, allocations: 7.227 MB / 0.5763 GB, free: 63.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/1.282, allocations: 15.81 kB / 0.5763 GB, free: 63.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/1.284, allocations: 151.9 kB / 0.5764 GB, free: 63.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/1.285, allocations: 0.7082 MB / 0.5771 GB, free: 62.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/1.302, allocations: 6.096 MB / 0.5831 GB, free: 56.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04477/1.347, allocations: 25.04 MB / 0.6075 GB, free: 30.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00739/1.355, allocations: 2.175 MB / 0.6096 GB, free: 28.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/1.356, allocations: 0.758 MB / 0.6104 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/1.367, allocations: 3.922 MB / 0.6142 GB, free: 23.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/1.367, allocations: 39.12 kB / 0.6143 GB, free: 23.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=87): time 5.521e-06/1.367, allocations: 3.938 kB / 0.6143 GB, free: 23.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=87): time 0.009569/1.377, allocations: 1.785 MB / 0.616 GB, free: 21.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.377, allocations: 59.97 kB / 0.6161 GB, free: 21.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/1.381, allocations: 1.85 MB / 0.6179 GB, free: 19.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.381, allocations: 37.7 kB / 0.6179 GB, free: 19.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/1.383, allocations: 2.118 MB / 0.62 GB, free: 17.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004714/1.383, allocations: 355.6 kB / 0.6203 GB, free: 17.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/1.383, allocations: 60 kB / 0.6204 GB, free: 17.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/1.384, allocations: 441.5 kB / 0.6208 GB, free: 16.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/1.386, allocations: 0.8808 MB / 0.6216 GB, free: 15.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/1.389, allocations: 2.815 MB / 0.6244 GB, free: 12.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/1.392, allocations: 1.604 MB / 0.626 GB, free: 10.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.548e-05/1.392, allocations: 20 kB / 0.626 GB, free: 10.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008588/1.401, allocations: 3.359 MB / 0.6293 GB, free: 7.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/1.401, allocations: 41.7 kB / 0.6293 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.21e-05/1.401, allocations: 72 kB / 0.6294 GB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/1.401, allocations: 104 kB / 0.6295 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/1.405, allocations: 0.6979 MB / 0.6301 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/1.406, allocations: 139.4 kB / 0.6303 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/1.409, allocations: 435.4 kB / 0.6307 GB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006593/1.41, allocations: 192 kB / 0.6309 GB, free: 5.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (385): * Single equations (assignments): 382 * 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.000536/1.41, allocations: 359.2 kB / 0.6312 GB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/1.411, allocations: 169.8 kB / 0.6314 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/1.411, allocations: 226.7 kB / 0.6316 GB, free: 4.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/1.411, allocations: 8 kB / 0.6316 GB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.411, allocations: 0 / 0.6316 GB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.411, allocations: 7.984 kB / 0.6316 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.424, allocations: 5.048 MB / 0.6365 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.424, allocations: 8 kB / 0.6366 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/1.425, allocations: 115.8 kB / 0.6367 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.43e-05/1.425, allocations: 15.94 kB / 0.6367 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/1.425, allocations: 24 kB / 0.6367 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/1.425, allocations: 11.98 kB / 0.6367 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/1.425, allocations: 19.88 kB / 0.6367 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/1.428, allocations: 1.984 MB / 0.6387 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/1.429, allocations: 294.3 kB / 0.6389 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/1.429, allocations: 27.97 kB / 0.639 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.431, allocations: 35.89 kB / 0.639 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.431, allocations: 63.77 kB / 0.6391 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.431, allocations: 39.98 kB / 0.6391 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003905/1.435, allocations: 1.439 MB / 0.6405 GB, free: 11.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.435, allocations: 0 / 0.6405 GB, free: 11.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0044/1.439, allocations: 0.8201 MB / 0.6413 GB, free: 10.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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.00465/1.444, allocations: 4.664 MB / 0.6459 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005152/1.449, allocations: 1.983 MB / 0.6478 GB, free: 3.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.449, allocations: 5.75 kB / 0.6478 GB, free: 3.316 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.45, allocations: 0.491 MB / 0.6483 GB, free: 2.828 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/1.452, allocations: 260 kB / 0.6485 GB, free: 2.574 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.475, allocations: 6.176 MB / 0.6546 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007473/1.483, allocations: 2.675 MB / 0.6572 GB, free: 9.527 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003163/1.486, allocations: 1.292 MB / 0.6584 GB, free: 8.234 MB / 474.7 MB Notification: Performance of SimCode: time 1.924e-06/1.486, allocations: 4 kB / 0.6584 GB, free: 8.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.551/5.037, allocations: 51.25 MB / 0.7085 GB, free: 4.988 MB / 0.5105 GB