Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 270 MB / 282.7 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.52e-05, allocations: 11.92 kB / 347 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3666, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5268, allocations: 105.9 MB / 0.5026 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5271, allocations: 79.95 kB / 0.5027 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7716/1.299, allocations: 151.3 MB / 0.6505 GB, free: 4.344 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.728e-06/1.299, allocations: 0 / 0.6505 GB, free: 4.344 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003959/1.299, allocations: 144 kB / 0.6506 GB, free: 4.203 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.02337/1.323, allocations: 7.357 MB / 0.6578 GB, free: 12.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.323, allocations: 8.031 kB / 0.6578 GB, free: 12.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02228/1.345, allocations: 3.524 MB / 0.6613 GB, free: 9.219 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0267/1.372, allocations: 8.779 MB / 0.6698 GB, free: 368 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008451/1.373, allocations: 0.5577 MB / 0.6704 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/1.376, allocations: 0.7418 MB / 0.6711 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04598/1.422, allocations: 17.42 MB / 0.6881 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003215/1.422, allocations: 83.22 kB / 0.6882 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/1.424, allocations: 355.8 kB / 0.6885 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/1.427, allocations: 1.625 MB / 0.6901 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03685/1.464, allocations: 13.12 MB / 0.7029 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4158/1.88, allocations: 74.59 MB / 0.7758 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02065/1.901, allocations: 5.426 MB / 0.7811 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/1.904, allocations: 2.076 MB / 0.7831 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/1.924, allocations: 9.96 MB / 0.7928 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/1.924, allocations: 57.28 kB / 0.7929 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 7.049e-06/1.924, allocations: 0 / 0.7929 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.04878/1.973, allocations: 13.36 MB / 0.8059 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/1.973, allocations: 148.6 kB / 0.8061 GB, free: 34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009652/1.983, allocations: 5.514 MB / 0.8114 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002806/1.983, allocations: 51.39 kB / 0.8115 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003035/1.986, allocations: 5.083 MB / 0.8165 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00078/1.987, allocations: 0.8178 MB / 0.8173 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004435/1.987, allocations: 166.3 kB / 0.8174 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004398/1.988, allocations: 0.6483 MB / 0.818 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.992, allocations: 2.086 MB / 0.8201 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006145/1.998, allocations: 7.365 MB / 0.8273 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/2.005, allocations: 3.883 MB / 0.8311 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/2.005, allocations: 54.81 kB / 0.8311 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01832/2.023, allocations: 8.389 MB / 0.8393 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/2.023, allocations: 93.31 kB / 0.8394 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002115/2.024, allocations: 191.4 kB / 0.8396 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/2.024, allocations: 275.7 kB / 0.8398 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008018/2.032, allocations: 1.993 MB / 0.8418 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002763/2.032, allocations: 370.4 kB / 0.8421 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008484/2.041, allocations: 0.5688 MB / 0.8427 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/2.042, allocations: 0.4978 MB / 0.8432 GB, free: 18.65 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.001237/2.043, allocations: 0.7664 MB / 0.8439 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009197/2.044, allocations: 0.5441 MB / 0.8445 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/2.046, allocations: 0.6446 MB / 0.8451 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/2.046, allocations: 26.53 kB / 0.8451 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/2.046, allocations: 0 / 0.8451 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/2.046, allocations: 11.17 kB / 0.8451 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/2.076, allocations: 16.54 MB / 0.8613 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/2.076, allocations: 36 kB / 0.8613 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/2.077, allocations: 376.7 kB / 0.8617 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-05/2.077, allocations: 56 kB / 0.8617 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/2.078, allocations: 86.36 kB / 0.8618 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.028e-05/2.078, allocations: 70.92 kB / 0.8619 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.865e-05/2.078, allocations: 63.7 kB / 0.8619 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007789/2.085, allocations: 10.36 MB / 0.8721 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/2.087, allocations: 0.6228 MB / 0.8727 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007531/2.088, allocations: 86.98 kB / 0.8728 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/2.091, allocations: 163.1 kB / 0.8729 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/2.091, allocations: 256.8 kB / 0.8732 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/2.092, allocations: 115.6 kB / 0.8733 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008926/2.101, allocations: 3.851 MB / 0.877 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.199e-06/2.101, allocations: 3.938 kB / 0.877 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009698/2.11, allocations: 1.358 MB / 0.8784 GB, free: 5.387 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.0006364/2.111, allocations: 248.8 kB / 0.8786 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01041/2.121, allocations: 4.726 MB / 0.8832 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.93e-05/2.121, allocations: 12.19 kB / 0.8832 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/2.124, allocations: 1.084 MB / 0.8843 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004909/2.129, allocations: 0.8242 MB / 0.8851 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/2.16, allocations: 13.19 MB / 0.898 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01745/2.178, allocations: 5.791 MB / 0.9036 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/2.179, allocations: 415 kB / 0.904 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of SimCode: time 1.816e-06/2.179, allocations: 0 / 0.904 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of Templates: time 0.4612/2.64, allocations: 83.38 MB / 0.9854 GB, free: 123 MB / 0.5573 GB