Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.93e-05, allocations: 4 kB / 348.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3423, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.532, allocations: 108.1 MB / 0.5062 GB, free: 14.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/0.5324, allocations: 79.95 kB / 0.5063 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.695/1.227, allocations: 108 MB / 0.6118 GB, free: 29.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.938e-06/1.227, allocations: 0 / 0.6118 GB, free: 29.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002818/1.228, allocations: 107.9 kB / 0.6119 GB, free: 29.68 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01462/1.242, allocations: 5.144 MB / 0.6169 GB, free: 24.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.242, allocations: 11.97 kB / 0.6169 GB, free: 24.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03375/1.276, allocations: 6.876 MB / 0.6236 GB, free: 17.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/1.294, allocations: 6.376 MB / 0.6299 GB, free: 11.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/1.294, allocations: 386 kB / 0.6302 GB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/1.296, allocations: 0.4959 MB / 0.6307 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02635/1.323, allocations: 12.26 MB / 0.6427 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002644/1.323, allocations: 79.25 kB / 0.6428 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/1.324, allocations: 247.9 kB / 0.643 GB, free: 12.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/1.326, allocations: 1.129 MB / 0.6441 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02645/1.353, allocations: 9.447 MB / 0.6533 GB, free: 1.852 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08442/1.437, allocations: 56.33 MB / 0.7083 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/1.452, allocations: 4.317 MB / 0.7125 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00382/1.456, allocations: 1.943 MB / 0.7144 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.394/1.85, allocations: 6.209 MB / 0.7205 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.85, allocations: 51.5 kB / 0.7206 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 5.303e-06/1.85, allocations: 0 / 0.7206 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.05366/1.904, allocations: 12.08 MB / 0.7324 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/1.904, allocations: 199.3 kB / 0.7325 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01758/1.922, allocations: 4.949 MB / 0.7374 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.922, allocations: 49.64 kB / 0.7374 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004856/1.927, allocations: 3.861 MB / 0.7412 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.928, allocations: 0.6611 MB / 0.7418 GB, free: 115 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/1.929, allocations: 134.2 kB / 0.742 GB, free: 115 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000643/1.93, allocations: 0.5881 MB / 0.7425 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007048/1.937, allocations: 1.952 MB / 0.7445 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.947, allocations: 6.191 MB / 0.7505 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.958, allocations: 3.491 MB / 0.7539 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002914/1.959, allocations: 41.47 kB / 0.7539 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.03348/1.992, allocations: 7.879 MB / 0.7616 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.993, allocations: 68.06 kB / 0.7617 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.993, allocations: 152.8 kB / 0.7619 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/1.995, allocations: 0.5863 MB / 0.7624 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006577/2.001, allocations: 1.501 MB / 0.7639 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/2.009, allocations: 5.577 MB / 0.7693 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/2.016, allocations: 343.7 kB / 0.7697 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/2.017, allocations: 418.8 kB / 0.7701 GB, free: 104.3 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 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (815): * Single equations (assignments): 810 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001165/2.018, allocations: 0.6369 MB / 0.7707 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009387/2.019, allocations: 464.3 kB / 0.7711 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005327/2.025, allocations: 2.445 MB / 0.7735 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/2.025, allocations: 17.23 kB / 0.7735 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/2.025, allocations: 7.125 kB / 0.7735 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/2.025, allocations: 12.48 kB / 0.7736 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/2.041, allocations: 7.152 MB / 0.7805 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/2.041, allocations: 3.75 kB / 0.7805 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/2.043, allocations: 228 kB / 0.7808 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/2.044, allocations: 346.5 kB / 0.7811 GB, free: 99.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/2.044, allocations: 26.81 kB / 0.7811 GB, free: 99.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/2.05, allocations: 4.946 MB / 0.7859 GB, free: 96.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.685e-06/2.051, allocations: 7.781 kB / 0.786 GB, free: 96.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008249/2.059, allocations: 5.058 MB / 0.7909 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/2.06, allocations: 0.5265 MB / 0.7914 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000925/2.061, allocations: 28 kB / 0.7914 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/2.063, allocations: 69.28 kB / 0.7915 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/2.064, allocations: 99.59 kB / 0.7916 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/2.064, allocations: 52.22 kB / 0.7916 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00704/2.071, allocations: 3.529 MB / 0.7951 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/2.071, allocations: 0 / 0.7951 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007351/2.078, allocations: 1.112 MB / 0.7962 GB, free: 88.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005053/2.079, allocations: 191.4 kB / 0.7964 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008611/2.088, allocations: 4.712 MB / 0.801 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/2.088, allocations: 3.938 kB / 0.801 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/2.09, allocations: 1.374 MB / 0.8023 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/2.094, allocations: 0.5892 MB / 0.8029 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/2.113, allocations: 8.68 MB / 0.8114 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007378/2.12, allocations: 3.968 MB / 0.8152 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00751/2.128, allocations: 2.16 MB / 0.8173 GB, free: 70.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/2.129, allocations: 299 kB / 0.8176 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of SimCode: time 2.574e-06/2.129, allocations: 0 / 0.8176 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.1119/2.241, allocations: 39.09 MB / 0.8558 GB, free: 39.39 MB / 0.5105 GB