Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.6/2.6, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.673e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4052, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.6095, allocations: 107.2 MB / 0.5041 GB, free: 15.28 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6098, allocations: 79.97 kB / 0.5041 GB, free: 15.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074/1.684, allocations: 176.5 MB / 0.6765 GB, free: 9.629 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.963e-06/1.684, allocations: 3.938 kB / 0.6765 GB, free: 9.625 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005503/1.685, allocations: 172 kB / 0.6767 GB, free: 9.457 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.03491/1.72, allocations: 8.425 MB / 0.6849 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/1.72, allocations: 8.031 kB / 0.6849 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007907/1.728, allocations: 1.557 MB / 0.6864 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03343/1.761, allocations: 3.783 MB / 0.6901 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03451/1.796, allocations: 9.43 MB / 0.6993 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/1.797, allocations: 0.686 MB / 0.7 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005408/1.802, allocations: 0.9098 MB / 0.7009 GB, free: 476 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4504/2.253, allocations: 20.9 MB / 0.7213 GB, free: 69.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007129/2.254, allocations: 90.66 kB / 0.7214 GB, free: 69.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004503/2.258, allocations: 430.2 kB / 0.7218 GB, free: 69.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005113/2.263, allocations: 1.864 MB / 0.7236 GB, free: 69.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0523/2.316, allocations: 15.93 MB / 0.7392 GB, free: 69.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1382/2.454, allocations: 83.64 MB / 0.8209 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03105/2.485, allocations: 6.277 MB / 0.827 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0052/2.49, allocations: 2.311 MB / 0.8292 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02893/2.519, allocations: 10.94 MB / 0.8399 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/2.519, allocations: 54.66 kB / 0.84 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 7.004e-06/2.519, allocations: 2.906 kB / 0.84 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.07097/2.59, allocations: 15.74 MB / 0.8554 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/2.59, allocations: 152.4 kB / 0.8555 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/2.606, allocations: 5.877 MB / 0.8612 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004762/2.606, allocations: 61.14 kB / 0.8613 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004859/2.611, allocations: 5.806 MB / 0.867 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/2.612, allocations: 0.93 MB / 0.8679 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/2.613, allocations: 177.2 kB / 0.868 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005544/2.614, allocations: 0.6925 MB / 0.8687 GB, free: 416 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01672/2.631, allocations: 2.913 MB / 0.8716 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01274/2.643, allocations: 8.006 MB / 0.8794 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/2.654, allocations: 4.246 MB / 0.8835 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002601/2.654, allocations: 60 kB / 0.8836 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02714/2.682, allocations: 9.189 MB / 0.8926 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/2.682, allocations: 98.25 kB / 0.8927 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000375/2.682, allocations: 204 kB / 0.8928 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/2.683, allocations: 300 kB / 0.8931 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01433/2.697, allocations: 2.165 MB / 0.8952 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007255/2.698, allocations: 407 kB / 0.8956 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01654/2.714, allocations: 0.5944 MB / 0.8962 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002436/2.717, allocations: 0.5429 MB / 0.8967 GB, free: 6.266 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1126 * 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.002928/2.72, allocations: 0.832 MB / 0.8976 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001971/2.722, allocations: 0.5784 MB / 0.8981 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/2.725, allocations: 0.7086 MB / 0.8988 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.939e-05/2.725, allocations: 24 kB / 0.8988 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/2.725, allocations: 8 kB / 0.8988 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.121e-05/2.725, allocations: 14.59 kB / 0.8989 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07249/2.798, allocations: 22.65 MB / 0.921 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-05/2.798, allocations: 51.81 kB / 0.921 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/2.801, allocations: 450.7 kB / 0.9215 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.393e-05/2.801, allocations: 67.94 kB / 0.9215 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/2.801, allocations: 107.4 kB / 0.9216 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.189e-05/2.801, allocations: 78.92 kB / 0.9217 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.092e-05/2.801, allocations: 81.08 kB / 0.9218 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4344/3.236, allocations: 12.74 MB / 0.9342 GB, free: 99.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/3.238, allocations: 0.6737 MB / 0.9349 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/3.24, allocations: 103.9 kB / 0.935 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005313/3.245, allocations: 205.9 kB / 0.9352 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006757/3.246, allocations: 302.8 kB / 0.9355 GB, free: 99.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/3.246, allocations: 128.8 kB / 0.9356 GB, free: 99.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01047/3.257, allocations: 4.077 MB / 0.9396 GB, free: 99.42 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/3.257, allocations: 3.906 kB / 0.9396 GB, free: 99.42 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01142/3.268, allocations: 1.55 MB / 0.9411 GB, free: 99.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 229 * 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.01138/3.279, allocations: 21.68 MB / 0.9623 GB, free: 79.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01213/3.292, allocations: 5.278 MB / 0.9674 GB, free: 79.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.543e-05/3.292, allocations: 7.438 kB / 0.9674 GB, free: 79.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/3.295, allocations: 1.258 MB / 0.9686 GB, free: 79.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007768/3.302, allocations: 0.9465 MB / 0.9696 GB, free: 79.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05706/3.36, allocations: 18.21 MB / 0.9874 GB, free: 75.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01515/3.375, allocations: 6.237 MB / 0.9934 GB, free: 74.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008831/3.384, allocations: 4.131 MB / 0.9975 GB, free: 74.21 MB / 0.5573 GB Notification: Performance of SimCode: time 1.563e-06/3.384, allocations: 0 / 0.9975 GB, free: 74.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.516/8.9, allocations: 145.8 MB / 1.14 GB, free: 99.25 MB / 0.573 GB