Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 270 MB / 282.7 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.034e-05, allocations: 4 kB / 347 MB, free: 3.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3235, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.4786, allocations: 102.8 MB / 0.4996 GB, free: 3.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.4789, allocations: 75.95 kB / 0.4997 GB, free: 3.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4558/0.9347, allocations: 53.74 MB / 0.5522 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.33e-06/0.9348, allocations: 4 kB / 0.5522 GB, free: 89.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.614e-05/0.9349, allocations: 51.94 kB / 0.5522 GB, free: 88.96 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004614/0.9395, allocations: 2.517 MB / 0.5547 GB, free: 86.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.9396, allocations: 12.03 kB / 0.5547 GB, free: 86.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008762/0.9483, allocations: 1.795 MB / 0.5564 GB, free: 84.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.9523, allocations: 1.67 MB / 0.5581 GB, free: 82.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.9525, allocations: 208.6 kB / 0.5583 GB, free: 82.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008134/0.9533, allocations: 273.5 kB / 0.5585 GB, free: 82.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.9651, allocations: 6.239 MB / 0.5646 GB, free: 75.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.387e-05/0.9652, allocations: 15.81 kB / 0.5646 GB, free: 75.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004695/0.9657, allocations: 127.9 kB / 0.5648 GB, free: 75.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008914/0.9666, allocations: 0.6294 MB / 0.5654 GB, free: 75.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.9773, allocations: 5.344 MB / 0.5706 GB, free: 69.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/1.005, allocations: 22.31 MB / 0.5924 GB, free: 46.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004959/1.01, allocations: 1.991 MB / 0.5943 GB, free: 44.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.011, allocations: 0.6837 MB / 0.595 GB, free: 43.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007219/1.018, allocations: 3.679 MB / 0.5986 GB, free: 40.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/1.018, allocations: 51 kB / 0.5986 GB, free: 40.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.842e-06/1.018, allocations: 3.938 kB / 0.5986 GB, free: 40.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.00625/1.024, allocations: 1.581 MB / 0.6002 GB, free: 38.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/1.024, allocations: 55.84 kB / 0.6002 GB, free: 38.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/1.027, allocations: 1.723 MB / 0.6019 GB, free: 36.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/1.027, allocations: 33.7 kB / 0.6019 GB, free: 36.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/1.028, allocations: 1.901 MB / 0.6038 GB, free: 34.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/1.028, allocations: 325.4 kB / 0.6041 GB, free: 34.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/1.028, allocations: 56 kB / 0.6042 GB, free: 34.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/1.029, allocations: 441.1 kB / 0.6046 GB, free: 33.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/1.03, allocations: 0.8335 MB / 0.6054 GB, free: 33.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/1.032, allocations: 2.668 MB / 0.608 GB, free: 29.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/1.034, allocations: 1.521 MB / 0.6095 GB, free: 27.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/1.035, allocations: 20 kB / 0.6095 GB, free: 27.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005545/1.04, allocations: 3.181 MB / 0.6126 GB, free: 24.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/1.04, allocations: 33.72 kB / 0.6127 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.315e-05/1.04, allocations: 72.16 kB / 0.6127 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/1.04, allocations: 99.94 kB / 0.6128 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/1.043, allocations: 0.655 MB / 0.6135 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.702e-05/1.043, allocations: 135.4 kB / 0.6136 GB, free: 23.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.046, allocations: 407.6 kB / 0.614 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/1.046, allocations: 188 kB / 0.6142 GB, free: 23.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 359 * 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.0003796/1.046, allocations: 338.5 kB / 0.6145 GB, free: 22.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.047, allocations: 157.9 kB / 0.6146 GB, free: 22.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/1.047, allocations: 201.2 kB / 0.6148 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/1.047, allocations: 12 kB / 0.6148 GB, free: 22.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.611e-06/1.047, allocations: 0 / 0.6148 GB, free: 22.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.205e-06/1.047, allocations: 3.984 kB / 0.6148 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007215/1.054, allocations: 4.077 MB / 0.6188 GB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.054, allocations: 11.98 kB / 0.6188 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/1.055, allocations: 99.83 kB / 0.6189 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/1.055, allocations: 12.75 kB / 0.6189 GB, free: 18.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/1.055, allocations: 23.98 kB / 0.619 GB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/1.055, allocations: 15.94 kB / 0.619 GB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.832e-06/1.055, allocations: 8 kB / 0.619 GB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.057, allocations: 1.723 MB / 0.6207 GB, free: 16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/1.057, allocations: 258.7 kB / 0.6209 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.057, allocations: 23.98 kB / 0.6209 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/1.058, allocations: 27.83 kB / 0.621 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/1.058, allocations: 59.77 kB / 0.621 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/1.058, allocations: 36 kB / 0.621 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001972/1.06, allocations: 1.256 MB / 0.6223 GB, free: 14.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.166e-06/1.06, allocations: 0 / 0.6223 GB, free: 14.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00294/1.063, allocations: 0.6999 MB / 0.623 GB, free: 13.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0003032/1.064, allocations: 155 kB / 0.6231 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/1.067, allocations: 1.867 MB / 0.6249 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.358e-06/1.067, allocations: 0 / 0.6249 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006248/1.067, allocations: 451.2 kB / 0.6254 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/1.069, allocations: 236.9 kB / 0.6256 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/1.077, allocations: 4.48 MB / 0.63 GB, free: 6.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/1.08, allocations: 2.383 MB / 0.6323 GB, free: 3.938 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/1.08, allocations: 143.4 kB / 0.6324 GB, free: 3.797 MB / 442.7 MB Notification: Performance of SimCode: time 1.819e-06/1.08, allocations: 0 / 0.6324 GB, free: 3.797 MB / 442.7 MB Notification: Performance of Templates: time 0.05187/1.132, allocations: 29.4 MB / 0.6611 GB, free: 6.426 MB / 474.7 MB