Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 270 MB / 282.7 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.899e-05, allocations: 3.984 kB / 347 MB, free: 3.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3366, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.5215, allocations: 102.7 MB / 0.4996 GB, free: 3.914 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004811/0.522, allocations: 75.95 kB / 0.4997 GB, free: 3.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4974/1.02, allocations: 53.73 MB / 0.5521 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.099e-06/1.02, allocations: 0 / 0.5521 GB, free: 88.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.772e-05/1.02, allocations: 48 kB / 0.5522 GB, free: 88.94 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.004424/1.024, allocations: 2.525 MB / 0.5546 GB, free: 86.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.024, allocations: 8.031 kB / 0.5547 GB, free: 86.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008326/1.032, allocations: 1.796 MB / 0.5564 GB, free: 84.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/1.036, allocations: 1.67 MB / 0.558 GB, free: 82.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/1.036, allocations: 210 kB / 0.5582 GB, free: 82.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006109/1.037, allocations: 271.5 kB / 0.5585 GB, free: 82.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/1.048, allocations: 6.235 MB / 0.5646 GB, free: 75.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.245e-05/1.048, allocations: 19.81 kB / 0.5646 GB, free: 75.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004601/1.048, allocations: 123.9 kB / 0.5647 GB, free: 75.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008623/1.049, allocations: 0.6333 MB / 0.5653 GB, free: 75.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/1.06, allocations: 5.344 MB / 0.5706 GB, free: 69.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/1.088, allocations: 22.31 MB / 0.5923 GB, free: 46.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/1.093, allocations: 1.987 MB / 0.5943 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.094, allocations: 0.6838 MB / 0.595 GB, free: 43.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007089/1.101, allocations: 3.691 MB / 0.5986 GB, free: 40.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.101, allocations: 43 kB / 0.5986 GB, free: 40.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 4.085e-06/1.101, allocations: 0 / 0.5986 GB, free: 40.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.006274/1.107, allocations: 1.589 MB / 0.6002 GB, free: 38.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/1.107, allocations: 55.84 kB / 0.6002 GB, free: 38.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/1.11, allocations: 1.719 MB / 0.6019 GB, free: 36.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/1.11, allocations: 33.7 kB / 0.6019 GB, free: 36.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009293/1.111, allocations: 1.901 MB / 0.6038 GB, free: 34.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/1.111, allocations: 321.5 kB / 0.6041 GB, free: 34.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.111, allocations: 56 kB / 0.6041 GB, free: 34.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/1.112, allocations: 441.1 kB / 0.6046 GB, free: 33.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/1.113, allocations: 0.8413 MB / 0.6054 GB, free: 33.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/1.115, allocations: 2.672 MB / 0.608 GB, free: 29.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/1.117, allocations: 1.521 MB / 0.6095 GB, free: 27.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/1.118, allocations: 20 kB / 0.6095 GB, free: 27.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.00544/1.123, allocations: 3.177 MB / 0.6126 GB, free: 24.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/1.123, allocations: 33.72 kB / 0.6126 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.43e-05/1.123, allocations: 71.98 kB / 0.6127 GB, free: 24.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/1.123, allocations: 96 kB / 0.6128 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/1.126, allocations: 0.655 MB / 0.6134 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.536e-05/1.126, allocations: 131.5 kB / 0.6135 GB, free: 23.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/1.128, allocations: 415.8 kB / 0.6139 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/1.128, allocations: 180 kB / 0.6141 GB, free: 23.16 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.0003644/1.129, allocations: 350.4 kB / 0.6145 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/1.129, allocations: 153.9 kB / 0.6146 GB, free: 22.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/1.129, allocations: 205.2 kB / 0.6148 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/1.129, allocations: 8 kB / 0.6148 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.129, allocations: 4 kB / 0.6148 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.129, allocations: 0 / 0.6148 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00699/1.136, allocations: 4.082 MB / 0.6188 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.136, allocations: 4 kB / 0.6188 GB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/1.137, allocations: 99.84 kB / 0.6189 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/1.137, allocations: 16 kB / 0.6189 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/1.137, allocations: 20 kB / 0.6189 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.301e-05/1.137, allocations: 15.92 kB / 0.6189 GB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-06/1.137, allocations: 8 kB / 0.6189 GB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.139, allocations: 1.727 MB / 0.6206 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/1.139, allocations: 262.7 kB / 0.6209 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.139, allocations: 15.98 kB / 0.6209 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/1.14, allocations: 31.89 kB / 0.6209 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/1.14, allocations: 55.84 kB / 0.621 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/1.14, allocations: 31.98 kB / 0.621 GB, free: 15.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001889/1.142, allocations: 1.252 MB / 0.6222 GB, free: 14.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.76e-07/1.142, allocations: 0 / 0.6222 GB, free: 14.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002821/1.145, allocations: 0.7077 MB / 0.6229 GB, free: 13.63 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.0002829/1.145, allocations: 162.9 kB / 0.6231 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/1.148, allocations: 1.855 MB / 0.6249 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.516e-06/1.148, allocations: 5 kB / 0.6249 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006175/1.149, allocations: 453.8 kB / 0.6253 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.15, allocations: 233.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.008013/1.158, allocations: 4.488 MB / 0.6299 GB, free: 6.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/1.161, allocations: 2.371 MB / 0.6323 GB, free: 3.934 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/1.161, allocations: 151.4 kB / 0.6324 GB, free: 3.785 MB / 442.7 MB Notification: Performance of SimCode: time 1.826e-06/1.161, allocations: 0 / 0.6324 GB, free: 3.785 MB / 442.7 MB Notification: Performance of Templates: time 0.05416/1.215, allocations: 29.39 MB / 0.6611 GB, free: 6.426 MB / 474.7 MB