Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.543/2.543, allocations: 270 MB / 282.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.451e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4816/0.4816, allocations: 61.86 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.6892, allocations: 107.2 MB / 0.5041 GB, free: 15.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.6896, allocations: 75.97 kB / 0.5041 GB, free: 15.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/1.699, allocations: 175.2 MB / 0.6752 GB, free: 10.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.699, allocations: 0 / 0.6752 GB, free: 10.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006327/1.7, allocations: 172 kB / 0.6754 GB, free: 10.76 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.03605/1.736, allocations: 8.425 MB / 0.6836 GB, free: 2.254 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/1.736, allocations: 12.03 kB / 0.6836 GB, free: 2.242 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007822/1.744, allocations: 1.56 MB / 0.6852 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03409/1.778, allocations: 3.775 MB / 0.6889 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0368/1.815, allocations: 9.434 MB / 0.6981 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/1.816, allocations: 0.6821 MB / 0.6987 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005228/1.821, allocations: 0.9099 MB / 0.6996 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5003/2.322, allocations: 20.9 MB / 0.72 GB, free: 70.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009685/2.323, allocations: 92.36 kB / 0.7201 GB, free: 70.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005303/2.328, allocations: 432.2 kB / 0.7205 GB, free: 70.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005397/2.333, allocations: 1.86 MB / 0.7223 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06957/2.403, allocations: 15.93 MB / 0.7379 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.143/2.546, allocations: 83.65 MB / 0.8196 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03172/2.578, allocations: 6.336 MB / 0.8258 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005508/2.583, allocations: 2.314 MB / 0.828 GB, free: 20.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/2.614, allocations: 10.95 MB / 0.8387 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/2.614, allocations: 56.94 kB / 0.8388 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 7.123e-06/2.614, allocations: 0 / 0.8388 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.07553/2.69, allocations: 15.75 MB / 0.8542 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/2.69, allocations: 154.9 kB / 0.8543 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01448/2.704, allocations: 5.87 MB / 0.86 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005219/2.705, allocations: 64.33 kB / 0.8601 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004701/2.709, allocations: 5.801 MB / 0.8658 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001231/2.711, allocations: 0.9276 MB / 0.8667 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/2.712, allocations: 173.1 kB / 0.8668 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006757/2.712, allocations: 0.6825 MB / 0.8675 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01213/2.725, allocations: 2.646 MB / 0.8701 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01281/2.737, allocations: 8.006 MB / 0.8779 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/2.748, allocations: 4.252 MB / 0.8821 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002326/2.749, allocations: 67.03 kB / 0.8821 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.0288/2.777, allocations: 9.18 MB / 0.8911 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002264/2.778, allocations: 100.2 kB / 0.8912 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004771/2.778, allocations: 204 kB / 0.8914 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004774/2.779, allocations: 307.4 kB / 0.8917 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/2.793, allocations: 2.153 MB / 0.8938 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005507/2.794, allocations: 408.3 kB / 0.8942 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/2.806, allocations: 0.6009 MB / 0.8948 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001985/2.808, allocations: 0.5409 MB / 0.8953 GB, free: 6.293 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.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],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[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],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[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],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.002162/2.81, allocations: 0.8373 MB / 0.8961 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/2.812, allocations: 0.5784 MB / 0.8967 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/2.815, allocations: 0.7044 MB / 0.8974 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/2.816, allocations: 24 kB / 0.8974 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/2.816, allocations: 4 kB / 0.8974 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/2.816, allocations: 22.47 kB / 0.8974 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04858/2.864, allocations: 19.35 MB / 0.9163 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.37e-05/2.864, allocations: 56 kB / 0.9164 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/2.867, allocations: 0.5018 MB / 0.9168 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/2.868, allocations: 76 kB / 0.9169 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/2.868, allocations: 122.1 kB / 0.917 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001052/2.868, allocations: 106.3 kB / 0.9171 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.118e-05/2.868, allocations: 91.92 kB / 0.9172 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4409/3.309, allocations: 14.65 MB / 0.9315 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/3.312, allocations: 0.6992 MB / 0.9322 GB, free: 99.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002413/3.314, allocations: 122.1 kB / 0.9323 GB, free: 99.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005892/3.32, allocations: 189.8 kB / 0.9325 GB, free: 99.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008582/3.321, allocations: 361.2 kB / 0.9328 GB, free: 99.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/3.321, allocations: 153.1 kB / 0.933 GB, free: 99.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01236/3.334, allocations: 4.078 MB / 0.937 GB, free: 99.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.813e-06/3.334, allocations: 0 / 0.937 GB, free: 99.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01294/3.347, allocations: 1.55 MB / 0.9385 GB, free: 99.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.02041/3.367, allocations: 25.21 MB / 0.9631 GB, free: 76.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01524/3.383, allocations: 5.228 MB / 0.9682 GB, free: 76.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.03e-05/3.383, allocations: 11.22 kB / 0.9682 GB, free: 76.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005603/3.388, allocations: 1.254 MB / 0.9695 GB, free: 76.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008991/3.397, allocations: 0.9688 MB / 0.9704 GB, free: 76.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05927/3.457, allocations: 18.48 MB / 0.9884 GB, free: 71.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02076/3.478, allocations: 6.251 MB / 0.9946 GB, free: 70.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009637/3.487, allocations: 4.119 MB / 0.9986 GB, free: 70.23 MB / 0.5573 GB Notification: Performance of SimCode: time 1.643e-06/3.487, allocations: 0 / 0.9986 GB, free: 70.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.475/8.962, allocations: 145.3 MB / 1.14 GB, free: 103.6 MB / 0.573 GB