Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.691e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3942, allocations: 61.86 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.585, allocations: 105.9 MB / 0.5027 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.5853, allocations: 79.95 kB / 0.5028 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9183/1.504, allocations: 151.3 MB / 0.6506 GB, free: 4.387 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.504, allocations: 0 / 0.6506 GB, free: 4.387 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005232/1.504, allocations: 148 kB / 0.6507 GB, free: 4.242 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.03137/1.536, allocations: 7.366 MB / 0.6579 GB, free: 12.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/1.536, allocations: 8.031 kB / 0.6579 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00644/1.542, allocations: 1.293 MB / 0.6592 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03168/1.574, allocations: 3.531 MB / 0.6626 GB, free: 7.938 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03301/1.607, allocations: 8.767 MB / 0.6712 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008621/1.608, allocations: 0.5654 MB / 0.6718 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004386/1.612, allocations: 0.7457 MB / 0.6725 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0585/1.671, allocations: 17.41 MB / 0.6895 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004143/1.671, allocations: 91.2 kB / 0.6896 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/1.674, allocations: 363.8 kB / 0.6899 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004533/1.679, allocations: 1.621 MB / 0.6915 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05127/1.73, allocations: 13.11 MB / 0.7043 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.531/2.261, allocations: 74.59 MB / 0.7771 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0259/2.287, allocations: 5.431 MB / 0.7825 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004647/2.292, allocations: 2.066 MB / 0.7845 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0251/2.317, allocations: 9.962 MB / 0.7942 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/2.317, allocations: 58.28 kB / 0.7943 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.4e-06/2.317, allocations: 1.203 kB / 0.7943 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.05901/2.376, allocations: 13.36 MB / 0.8073 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/2.376, allocations: 157.6 kB / 0.8075 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/2.388, allocations: 5.502 MB / 0.8128 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004185/2.389, allocations: 53.64 kB / 0.8129 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004238/2.393, allocations: 5.082 MB / 0.8178 GB, free: 31.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/2.394, allocations: 0.8216 MB / 0.8186 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007949/2.395, allocations: 160.9 kB / 0.8188 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000444/2.395, allocations: 0.6497 MB / 0.8194 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004863/2.4, allocations: 2.091 MB / 0.8215 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008104/2.408, allocations: 7.361 MB / 0.8287 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008305/2.417, allocations: 3.883 MB / 0.8325 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/2.417, allocations: 53.91 kB / 0.8325 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02234/2.439, allocations: 8.388 MB / 0.8407 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.439, allocations: 89.5 kB / 0.8408 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002786/2.44, allocations: 192.9 kB / 0.841 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/2.44, allocations: 277.2 kB / 0.8412 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/2.452, allocations: 1.994 MB / 0.8432 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003597/2.452, allocations: 374.3 kB / 0.8435 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.464, allocations: 0.5676 MB / 0.8441 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002064/2.466, allocations: 0.4978 MB / 0.8446 GB, free: 18.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.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.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.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.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 (1031): * Single equations (assignments): 1028 * 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.002789/2.469, allocations: 0.7645 MB / 0.8453 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/2.47, allocations: 0.5403 MB / 0.8458 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/2.473, allocations: 0.6497 MB / 0.8465 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-05/2.473, allocations: 23.41 kB / 0.8465 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/2.473, allocations: 2.969 kB / 0.8465 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/2.473, allocations: 15.59 kB / 0.8465 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05069/2.524, allocations: 16.53 MB / 0.8627 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.492e-05/2.524, allocations: 42.72 kB / 0.8627 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/2.527, allocations: 376.7 kB / 0.8631 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-05/2.527, allocations: 52 kB / 0.8631 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/2.528, allocations: 91.8 kB / 0.8632 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.988e-05/2.528, allocations: 74.72 kB / 0.8633 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.956e-05/2.528, allocations: 59.75 kB / 0.8633 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/2.54, allocations: 10.36 MB / 0.8734 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/2.543, allocations: 0.6233 MB / 0.8741 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/2.546, allocations: 94.55 kB / 0.8741 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004667/2.55, allocations: 163.1 kB / 0.8743 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/2.551, allocations: 249.5 kB / 0.8745 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/2.551, allocations: 107.5 kB / 0.8746 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01117/2.563, allocations: 3.855 MB / 0.8784 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.12e-07/2.563, allocations: 0 / 0.8784 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01172/2.574, allocations: 1.365 MB / 0.8797 GB, free: 4.766 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 195 * 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.01604/2.59, allocations: 18.25 MB / 0.8976 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01314/2.604, allocations: 4.731 MB / 0.9022 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.496e-05/2.604, allocations: 4 kB / 0.9022 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/2.607, allocations: 1.058 MB / 0.9032 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00712/2.614, allocations: 0.8319 MB / 0.904 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05609/2.67, allocations: 15.64 MB / 0.9193 GB, free: 13.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01412/2.684, allocations: 5.38 MB / 0.9246 GB, free: 9.871 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00872/2.693, allocations: 3.478 MB / 0.928 GB, free: 6.633 MB / 0.573 GB Notification: Performance of SimCode: time 1.653e-06/2.693, allocations: 3.844 kB / 0.928 GB, free: 6.633 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.244/7.937, allocations: 127.3 MB / 1.052 GB, free: 97.4 MB / 0.573 GB