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.488/2.488, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.854e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.4154/0.5619, allocations: 31.15 MB / 442.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02141/0.5834, allocations: 6.849 MB / 448.9 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00871/0.5922, allocations: 162 kB / 449.1 MB, free: 8.289 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00678/0.599, allocations: 1.65 MB / 450.7 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01933/0.6184, allocations: 4.508 MB / 455.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.6208, allocations: 218.3 kB / 455.4 MB, free: 5.402 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.6242, allocations: 0.9302 MB / 456.4 MB, free: 4.812 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005629/0.6299, allocations: 2.671 MB / 459 MB, free: 3.246 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.631, allocations: 432 kB / 459.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.6323, allocations: 0.6377 MB / 460.1 MB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.6337, allocations: 0.5004 MB / 460.6 MB, free: 2.512 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.6342, allocations: 69 kB / 460.7 MB, free: 2.512 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.6355, allocations: 0.874 MB / 461.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006162/0.6361, allocations: 146.8 kB / 461.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.6416, allocations: 3.433 MB / 465.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6417, allocations: 2.531 kB / 465.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.6417, allocations: 0 / 465.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001585/0.6419, allocations: 0 / 465.1 MB, free: 15.78 MB / 378.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.007274/0.6492, allocations: 2.477 MB / 467.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6492, allocations: 13.47 kB / 467.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.6605, allocations: 1.918 MB / 469.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.6648, allocations: 1.315 MB / 470.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.665, allocations: 159.7 kB / 471 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007405/0.6657, allocations: 187.9 kB / 471.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.6822, allocations: 6.459 MB / 477.6 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/0.6823, allocations: 11.88 kB / 477.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000409/0.6827, allocations: 91.89 kB / 477.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00377/0.6865, allocations: 1.407 MB / 479.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/0.704, allocations: 5.51 MB / 484.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.7459, allocations: 20.64 MB / 0.4935 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006935/0.7529, allocations: 2.003 MB / 0.4954 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.7634, allocations: 3.678 MB / 0.499 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.7635, allocations: 38.94 kB / 0.499 GB, free: 2.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 5.38e-06/0.7635, allocations: 0 / 0.499 GB, free: 2.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.009341/0.7729, allocations: 2.233 MB / 0.5012 GB, free: 15.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.773, allocations: 59.84 kB / 0.5013 GB, free: 15.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/0.7767, allocations: 1.742 MB / 0.503 GB, free: 14.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.67e-05/0.7768, allocations: 33.7 kB / 0.503 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.7785, allocations: 1.901 MB / 0.5049 GB, free: 12.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.7789, allocations: 312.1 kB / 0.5052 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.7791, allocations: 59.98 kB / 0.5052 GB, free: 11.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.7795, allocations: 461.2 kB / 0.5057 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.7817, allocations: 0.8764 MB / 0.5065 GB, free: 10.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.7854, allocations: 2.754 MB / 0.5092 GB, free: 6.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/0.7893, allocations: 1.552 MB / 0.5107 GB, free: 5.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.718e-05/0.7894, allocations: 20 kB / 0.5107 GB, free: 5.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.009871/0.7993, allocations: 3.484 MB / 0.5141 GB, free: 1.574 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.7994, allocations: 39.94 kB / 0.5142 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.389e-05/0.7995, allocations: 64.09 kB / 0.5142 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.7997, allocations: 104 kB / 0.5143 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/0.8036, allocations: 0.655 MB / 0.515 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001603/0.8038, allocations: 131.5 kB / 0.5151 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.8069, allocations: 423.5 kB / 0.5155 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005777/0.8075, allocations: 180 kB / 0.5157 GB, free: 15.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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.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 (365): * Single equations (assignments): 360 * Array equations: 5 * 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.003437/0.811, allocations: 1.365 MB / 0.517 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.8114, allocations: 161.8 kB / 0.5172 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.8119, allocations: 201.2 kB / 0.5174 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/0.812, allocations: 8 kB / 0.5174 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.812, allocations: 0 / 0.5174 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.812, allocations: 3.984 kB / 0.5174 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.8229, allocations: 4.092 MB / 0.5214 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.8229, allocations: 8 kB / 0.5214 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/0.8237, allocations: 99.83 kB / 0.5215 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.8238, allocations: 11.94 kB / 0.5215 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.8238, allocations: 19.98 kB / 0.5215 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/0.8239, allocations: 16.53 kB / 0.5215 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.8239, allocations: 4 kB / 0.5215 GB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.8267, allocations: 1.73 MB / 0.5232 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.8274, allocations: 258.7 kB / 0.5235 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/0.8278, allocations: 20 kB / 0.5235 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/0.8287, allocations: 31.89 kB / 0.5235 GB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.8288, allocations: 63.7 kB / 0.5236 GB, free: 7.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.8289, allocations: 24 kB / 0.5236 GB, free: 7.375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003068/0.832, allocations: 1.279 MB / 0.5248 GB, free: 6.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.832, allocations: 0 / 0.5248 GB, free: 6.105 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003738/0.8358, allocations: 0.6999 MB / 0.5255 GB, free: 5.402 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.0004997/0.8363, allocations: 143 kB / 0.5257 GB, free: 5.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005167/0.8415, allocations: 2.023 MB / 0.5276 GB, free: 3.242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.8416, allocations: 64 / 0.5276 GB, free: 3.242 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.8427, allocations: 471.3 kB / 0.5281 GB, free: 2.785 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.8444, allocations: 231.9 kB / 0.5283 GB, free: 2.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.8602, allocations: 6.584 MB / 0.5347 GB, free: 11.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004655/0.8649, allocations: 2.379 MB / 0.5371 GB, free: 9.441 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/0.8657, allocations: 147.4 kB / 0.5372 GB, free: 9.297 MB / 458.7 MB Notification: Performance of SimCode: time 1.764e-06/0.8658, allocations: 0 / 0.5372 GB, free: 9.297 MB / 458.7 MB Notification: Performance of Templates: time 0.06907/0.9348, allocations: 29.72 MB / 0.5662 GB, free: 11.6 MB / 490.7 MB