Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.065e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.4141/0.5385, allocations: 59.71 MB / 470.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04014/0.5787, allocations: 13.05 MB / 483.7 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01716/0.5959, allocations: 315.2 kB / 484 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.6084, allocations: 3.13 MB / 487.1 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04733/0.6558, allocations: 8.627 MB / 495.8 MB, free: 2.637 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.663, allocations: 0.745 MB / 496.5 MB, free: 1.891 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1503/0.8134, allocations: 47.17 MB / 0.5309 GB, free: 2.684 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.8235, allocations: 5.07 MB / 0.5359 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.8258, allocations: 1.036 MB / 0.5369 GB, free: 12.53 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.829, allocations: 1.57 MB / 0.5384 GB, free: 10.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.8324, allocations: 1.018 MB / 0.5394 GB, free: 9.934 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.8338, allocations: 163.9 kB / 0.5396 GB, free: 9.773 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003319/0.8372, allocations: 1.968 MB / 0.5415 GB, free: 7.801 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.8389, allocations: 336 kB / 0.5418 GB, free: 7.473 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.8501, allocations: 6.952 MB / 0.5486 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.8501, allocations: 0 / 0.5486 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.8502, allocations: 0 / 0.5486 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003294/0.8505, allocations: 0 / 0.5486 GB, free: 0.5039 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02418/0.8747, allocations: 5.019 MB / 0.5535 GB, free: 11.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.8748, allocations: 12.02 kB / 0.5535 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1569/1.032, allocations: 11.7 MB / 0.5649 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/1.046, allocations: 3.849 MB / 0.5687 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/1.047, allocations: 295.2 kB / 0.569 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/1.049, allocations: 383.7 kB / 0.5693 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03479/1.084, allocations: 11.96 MB / 0.581 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/1.084, allocations: 59.47 kB / 0.5811 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/1.086, allocations: 179.8 kB / 0.5813 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007213/1.093, allocations: 2.276 MB / 0.5835 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03266/1.126, allocations: 9.786 MB / 0.593 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4226/1.548, allocations: 46.47 MB / 0.6384 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/1.566, allocations: 3.816 MB / 0.6421 GB, free: 139 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/1.582, allocations: 5.729 MB / 0.6477 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/1.582, allocations: 53.41 kB / 0.6478 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 6.352e-06/1.582, allocations: 0 / 0.6478 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.06837/1.65, allocations: 15.99 MB / 0.6634 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/1.65, allocations: 228 kB / 0.6636 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/1.662, allocations: 5.314 MB / 0.6688 GB, free: 126 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003997/1.662, allocations: 46.3 kB / 0.6689 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003114/1.665, allocations: 3.661 MB / 0.6724 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.666, allocations: 0.6517 MB / 0.6731 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006007/1.667, allocations: 132.2 kB / 0.6732 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003975/1.667, allocations: 0.5881 MB / 0.6738 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/1.672, allocations: 2.058 MB / 0.6758 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007269/1.679, allocations: 6.309 MB / 0.6819 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007298/1.687, allocations: 3.533 MB / 0.6854 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.687, allocations: 44 kB / 0.6854 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02069/1.708, allocations: 8.384 MB / 0.6936 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.708, allocations: 68 kB / 0.6937 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/1.708, allocations: 152 kB / 0.6938 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.711, allocations: 0.7512 MB / 0.6946 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008736/1.72, allocations: 1.52 MB / 0.696 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.73, allocations: 6.558 MB / 0.7024 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00713/1.737, allocations: 348.9 kB / 0.7028 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.739, allocations: 421.7 kB / 0.7032 GB, free: 91.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (804): * Single equations (assignments): 797 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005542/1.744, allocations: 2.463 MB / 0.7056 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.745, allocations: 473.9 kB / 0.706 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007241/1.753, allocations: 2.649 MB / 0.7086 GB, free: 85.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.523e-05/1.753, allocations: 21.27 kB / 0.7086 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.753, allocations: 8 kB / 0.7087 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/1.753, allocations: 11.91 kB / 0.7087 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/1.776, allocations: 7.615 MB / 0.7161 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/1.776, allocations: 4.281 kB / 0.7161 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/1.78, allocations: 255.6 kB / 0.7164 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/1.783, allocations: 0.4972 MB / 0.7168 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004613/1.784, allocations: 32 kB / 0.7169 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/1.799, allocations: 5.882 MB / 0.7226 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.799, allocations: 4 kB / 0.7226 GB, free: 70.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/1.815, allocations: 5.427 MB / 0.7279 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.818, allocations: 0.5418 MB / 0.7284 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002424/1.82, allocations: 28.69 kB / 0.7285 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005462/1.826, allocations: 81.05 kB / 0.7285 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009474/1.827, allocations: 92.81 kB / 0.7286 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003776/1.827, allocations: 51.98 kB / 0.7287 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009918/1.837, allocations: 3.81 MB / 0.7324 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.72e-07/1.837, allocations: 0 / 0.7324 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00741/1.844, allocations: 1.147 MB / 0.7335 GB, free: 59.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 115 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008015/1.845, allocations: 184.2 kB / 0.7337 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.856, allocations: 5.098 MB / 0.7387 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.856, allocations: 0 / 0.7387 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/1.86, allocations: 1.493 MB / 0.7401 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005495/1.865, allocations: 0.5978 MB / 0.7407 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03722/1.902, allocations: 13.15 MB / 0.7536 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/1.913, allocations: 3.966 MB / 0.7574 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/1.915, allocations: 347.3 kB / 0.7578 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/1.915, allocations: 0 / 0.7578 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.6504/2.566, allocations: 109.4 MB / 0.8646 GB, free: 128.1 MB / 0.5261 GB