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_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.693/2.693, allocations: 270 MB / 283.6 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.042e-05, allocations: 4 kB / 348.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3265, allocations: 61.88 MB / 410.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.4953, allocations: 108.1 MB / 0.5062 GB, free: 14.31 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4956, allocations: 79.95 kB / 0.5063 GB, free: 14.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.668/1.164, allocations: 108.2 MB / 0.612 GB, free: 29.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.18e-06/1.164, allocations: 0 / 0.612 GB, free: 29.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000505/1.164, allocations: 107.9 kB / 0.6121 GB, free: 29.22 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02812/1.192, allocations: 5.148 MB / 0.6171 GB, free: 24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.828e-05/1.192, allocations: 11.97 kB / 0.6171 GB, free: 23.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05627/1.249, allocations: 6.876 MB / 0.6238 GB, free: 17.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/1.268, allocations: 6.391 MB / 0.63 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/1.268, allocations: 382.1 kB / 0.6304 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/1.27, allocations: 0.4997 MB / 0.6309 GB, free: 9.773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02979/1.3, allocations: 12.27 MB / 0.6429 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003276/1.3, allocations: 79.33 kB / 0.643 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001974/1.302, allocations: 247.9 kB / 0.6432 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002449/1.305, allocations: 1.129 MB / 0.6443 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02629/1.331, allocations: 9.454 MB / 0.6535 GB, free: 1.348 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1131/1.444, allocations: 56.41 MB / 0.7086 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.459, allocations: 4.234 MB / 0.7128 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/1.463, allocations: 1.904 MB / 0.7146 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3213/1.784, allocations: 5.635 MB / 0.7201 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.784, allocations: 54.25 kB / 0.7202 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 6.758e-06/1.784, allocations: 0 / 0.7202 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.04442/1.829, allocations: 12.93 MB / 0.7328 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/1.829, allocations: 228.1 kB / 0.733 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/1.84, allocations: 4.962 MB / 0.7379 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003089/1.84, allocations: 53.61 kB / 0.7379 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003161/1.843, allocations: 3.87 MB / 0.7417 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/1.844, allocations: 0.6507 MB / 0.7423 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005947/1.845, allocations: 134.4 kB / 0.7425 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004222/1.845, allocations: 0.5818 MB / 0.743 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004234/1.849, allocations: 1.927 MB / 0.7449 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006455/1.856, allocations: 6.174 MB / 0.7509 GB, free: 107 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/1.862, allocations: 3.449 MB / 0.7543 GB, free: 107 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001406/1.863, allocations: 43.94 kB / 0.7543 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02375/1.886, allocations: 7.846 MB / 0.762 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/1.887, allocations: 70.66 kB / 0.7621 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002997/1.887, allocations: 155 kB / 0.7622 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/1.89, allocations: 0.6014 MB / 0.7628 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01143/1.902, allocations: 1.492 MB / 0.7643 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.915, allocations: 5.712 MB / 0.7698 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/1.927, allocations: 352.5 kB / 0.7702 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/1.929, allocations: 418.2 kB / 0.7706 GB, free: 102.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (809): * Single equations (assignments): 804 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001841/1.931, allocations: 0.6211 MB / 0.7712 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009976/1.932, allocations: 466.6 kB / 0.7716 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005791/1.938, allocations: 2.411 MB / 0.774 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/1.938, allocations: 17.75 kB / 0.774 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.938, allocations: 6.875 kB / 0.774 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/1.938, allocations: 6.562 kB / 0.774 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.955, allocations: 7.227 MB / 0.7811 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/1.955, allocations: 3.812 kB / 0.7811 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.957, allocations: 257.2 kB / 0.7813 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/1.959, allocations: 353 kB / 0.7817 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.959, allocations: 27.34 kB / 0.7817 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006765/1.966, allocations: 5.065 MB / 0.7866 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.477e-06/1.966, allocations: 10.16 kB / 0.7866 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008333/1.974, allocations: 5.08 MB / 0.7916 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.976, allocations: 0.5207 MB / 0.7921 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008564/1.976, allocations: 40.75 kB / 0.7921 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.979, allocations: 62.33 kB / 0.7922 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/1.979, allocations: 101.3 kB / 0.7923 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.979, allocations: 44.78 kB / 0.7923 GB, free: 90.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008014/1.987, allocations: 3.539 MB / 0.7958 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.181e-06/1.987, allocations: 0 / 0.7958 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007821/1.995, allocations: 1.115 MB / 0.7969 GB, free: 86.14 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.0005492/1.996, allocations: 169.9 kB / 0.7971 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008889/2.005, allocations: 4.679 MB / 0.8016 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/2.005, allocations: 0 / 0.8016 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/2.007, allocations: 1.367 MB / 0.803 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/2.011, allocations: 0.5903 MB / 0.8035 GB, free: 80 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/2.03, allocations: 8.69 MB / 0.812 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007995/2.038, allocations: 3.972 MB / 0.8159 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007619/2.046, allocations: 2.133 MB / 0.818 GB, free: 67.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/2.047, allocations: 298 kB / 0.8183 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.929e-06/2.047, allocations: 0 / 0.8183 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.1089/2.156, allocations: 39.29 MB / 0.8566 GB, free: 36.67 MB / 0.5105 GB