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_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.33e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4037, allocations: 48.7 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1033/0.5071, allocations: 58.12 MB / 383 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0469/0.554, allocations: 12.68 MB / 395.6 MB, free: 8.605 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01487/0.569, allocations: 311.2 kB / 395.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01224/0.5813, allocations: 3.08 MB / 399 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03327/0.6146, allocations: 8.372 MB / 407.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005285/0.6199, allocations: 0.7762 MB / 408.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05084/0.6708, allocations: 16.87 MB / 425 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.6814, allocations: 5.165 MB / 430.2 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.6843, allocations: 1.106 MB / 431.3 MB, free: 4.832 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.6882, allocations: 1.734 MB / 433 MB, free: 3.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.6917, allocations: 1.073 MB / 434.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.693, allocations: 176 kB / 434.3 MB, free: 1.848 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003481/0.6965, allocations: 2.112 MB / 436.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.6983, allocations: 360 kB / 436.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.7105, allocations: 7.56 MB / 444.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7105, allocations: 0 / 444.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.7106, allocations: 0 / 444.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003333/0.7109, allocations: 0 / 444.3 MB, free: 7.801 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.01863/0.7295, allocations: 5.404 MB / 449.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7296, allocations: 8.031 kB / 449.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1198/0.8494, allocations: 11.78 MB / 461.5 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.8636, allocations: 4.302 MB / 465.8 MB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/0.8641, allocations: 303.8 kB / 466.1 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.8662, allocations: 407.7 kB / 466.5 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03708/0.9033, allocations: 13.01 MB / 479.5 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.9036, allocations: 55.53 kB / 479.6 MB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/0.905, allocations: 199.8 kB / 479.8 MB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006387/0.9114, allocations: 2.386 MB / 482.1 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3143/1.226, allocations: 10.66 MB / 492.8 MB, free: 123.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08695/1.313, allocations: 49.73 MB / 0.5298 GB, free: 84.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/1.331, allocations: 4.433 MB / 0.5342 GB, free: 79.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01612/1.347, allocations: 6.591 MB / 0.5406 GB, free: 73.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/1.347, allocations: 54.34 kB / 0.5406 GB, free: 73.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 5.931e-06/1.347, allocations: 0 / 0.5406 GB, free: 73.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=195): time 0.07005/1.418, allocations: 17.9 MB / 0.5581 GB, free: 55.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/1.418, allocations: 229.1 kB / 0.5583 GB, free: 54.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.429, allocations: 5.503 MB / 0.5637 GB, free: 49.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004982/1.43, allocations: 50.41 kB / 0.5638 GB, free: 49.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003189/1.433, allocations: 3.917 MB / 0.5676 GB, free: 45.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.434, allocations: 0.7692 MB / 0.5683 GB, free: 44.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/1.435, allocations: 140 kB / 0.5685 GB, free: 44.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004097/1.436, allocations: 0.6126 MB / 0.5691 GB, free: 43.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005746/1.441, allocations: 2.386 MB / 0.5714 GB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008598/1.45, allocations: 6.845 MB / 0.5781 GB, free: 32.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008989/1.459, allocations: 3.97 MB / 0.582 GB, free: 28.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/1.459, allocations: 48 kB / 0.582 GB, free: 28.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.0245/1.484, allocations: 9.288 MB / 0.5911 GB, free: 19.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.484, allocations: 72 kB / 0.5911 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/1.484, allocations: 160 kB / 0.5913 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/1.487, allocations: 0.7602 MB / 0.592 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009911/1.497, allocations: 1.661 MB / 0.5937 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.508, allocations: 6.581 MB / 0.6001 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008191/1.516, allocations: 398.2 kB / 0.6005 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/1.517, allocations: 444 kB / 0.6009 GB, free: 8.703 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (877): * Single equations (assignments): 870 * 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.006655/1.524, allocations: 2.637 MB / 0.6035 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.525, allocations: 485.6 kB / 0.6039 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/1.534, allocations: 3.291 MB / 0.6071 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-05/1.534, allocations: 24 kB / 0.6072 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.534, allocations: 7.953 kB / 0.6072 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/1.534, allocations: 16.84 kB / 0.6072 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02694/1.561, allocations: 8.836 MB / 0.6158 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/1.561, allocations: 4.031 kB / 0.6158 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/1.565, allocations: 323.5 kB / 0.6161 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/1.567, allocations: 0.5011 MB / 0.6166 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004943/1.568, allocations: 32 kB / 0.6167 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.58, allocations: 5.906 MB / 0.6224 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.58, allocations: 4 kB / 0.6224 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/1.597, allocations: 6.466 MB / 0.6287 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003333/1.6, allocations: 0.8344 MB / 0.6296 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001684/1.602, allocations: 28 kB / 0.6296 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004031/1.606, allocations: 103.9 kB / 0.6297 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006617/1.607, allocations: 118.1 kB / 0.6298 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.607, allocations: 48 kB / 0.6298 GB, free: 10.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01107/1.618, allocations: 3.956 MB / 0.6337 GB, free: 6.555 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.618, allocations: 0 / 0.6337 GB, free: 6.555 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009016/1.627, allocations: 1.256 MB / 0.6349 GB, free: 5.305 MB / 442.7 MB 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 (154): * Single equations (assignments): 149 * 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.0009857/1.628, allocations: 185.4 kB / 0.6351 GB, free: 5.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3244/1.952, allocations: 5.864 MB / 0.6408 GB, free: 143.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.952, allocations: 1.969 kB / 0.6408 GB, free: 143.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004467/1.957, allocations: 1.783 MB / 0.6426 GB, free: 143.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/1.962, allocations: 0.6 MB / 0.6432 GB, free: 143.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/1.999, allocations: 14.42 MB / 0.6572 GB, free: 136.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/2.009, allocations: 4.248 MB / 0.6614 GB, free: 135 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002293/2.011, allocations: 376.4 kB / 0.6617 GB, free: 134.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.024e-06/2.011, allocations: 1.812 kB / 0.6617 GB, free: 134.9 MB / 442.7 MB Notification: Performance of Templates: time 0.2156/2.227, allocations: 118.8 MB / 0.7778 GB, free: 28.48 MB / 442.7 MB