Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 270 MB / 283.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.516e-05, allocations: 4 kB / 348.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3623, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.5293, allocations: 106.8 MB / 0.505 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5297, allocations: 83.94 kB / 0.505 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8599/1.39, allocations: 155.9 MB / 0.6573 GB, free: 14.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.021e-06/1.39, allocations: 0 / 0.6573 GB, free: 14.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006923/1.39, allocations: 156 kB / 0.6574 GB, free: 14.71 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02841/1.419, allocations: 7.62 MB / 0.6649 GB, free: 7.004 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.419, allocations: 8.031 kB / 0.6649 GB, free: 6.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06542/1.484, allocations: 11.93 MB / 0.6765 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03158/1.516, allocations: 9.964 MB / 0.6863 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008125/1.517, allocations: 0.5658 MB / 0.6868 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003282/1.52, allocations: 0.7692 MB / 0.6876 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05035/1.57, allocations: 17.86 MB / 0.705 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005108/1.571, allocations: 103.1 kB / 0.7051 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002579/1.574, allocations: 359.8 kB / 0.7055 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003224/1.577, allocations: 1.579 MB / 0.707 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3599/1.937, allocations: 14.08 MB / 0.7207 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09575/2.033, allocations: 75.42 MB / 0.7944 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02694/2.06, allocations: 7.42 MB / 0.8016 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/2.065, allocations: 3.546 MB / 0.8051 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/2.066, allocations: 0.6586 MB / 0.8058 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/2.066, allocations: 62 kB / 0.8058 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 8.446e-06/2.066, allocations: 2.844 kB / 0.8058 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263): time 0.08867/2.155, allocations: 23 MB / 0.8283 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/2.155, allocations: 294.1 kB / 0.8286 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01496/2.17, allocations: 6.419 MB / 0.8348 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005066/2.171, allocations: 61.42 kB / 0.8349 GB, free: 29.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004441/2.175, allocations: 5.34 MB / 0.8401 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/2.176, allocations: 1.018 MB / 0.8411 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00081/2.177, allocations: 169.6 kB / 0.8413 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005191/2.178, allocations: 0.6673 MB / 0.8419 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005793/2.184, allocations: 2.838 MB / 0.8447 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009042/2.193, allocations: 8.022 MB / 0.8525 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008869/2.201, allocations: 4.754 MB / 0.8572 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/2.202, allocations: 54 kB / 0.8572 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02486/2.227, allocations: 10.94 MB / 0.8679 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/2.227, allocations: 86.53 kB / 0.868 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/2.227, allocations: 192.2 kB / 0.8682 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/2.23, allocations: 0.9861 MB / 0.8691 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008201/2.238, allocations: 1.941 MB / 0.871 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/2.256, allocations: 10.97 MB / 0.8817 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009336/2.266, allocations: 449.3 kB / 0.8822 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001901/2.268, allocations: 0.5205 MB / 0.8827 GB, free: 5.094 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1040): * Single equations (assignments): 1033 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002028/2.27, allocations: 0.7773 MB / 0.8834 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/2.271, allocations: 0.6244 MB / 0.884 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/2.283, allocations: 4.578 MB / 0.8885 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-05/2.283, allocations: 30.42 kB / 0.8885 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.002e-05/2.283, allocations: 8 kB / 0.8885 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/2.283, allocations: 17.36 kB / 0.8886 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03372/2.317, allocations: 12.41 MB / 0.9007 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/2.317, allocations: 7.562 kB / 0.9007 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/2.32, allocations: 381.6 kB / 0.901 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/2.323, allocations: 0.6644 MB / 0.9017 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004604/2.323, allocations: 44 kB / 0.9017 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/2.339, allocations: 9.856 MB / 0.9114 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.692e-06/2.339, allocations: 4 kB / 0.9114 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/2.356, allocations: 7.899 MB / 0.9191 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/2.359, allocations: 0.6798 MB / 0.9197 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001841/2.361, allocations: 48 kB / 0.9198 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004216/2.365, allocations: 133.7 kB / 0.9199 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007155/2.366, allocations: 161.5 kB / 0.9201 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/2.366, allocations: 77.69 kB / 0.9201 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.3559/2.722, allocations: 4.642 MB / 0.9247 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.401e-06/2.722, allocations: 0 / 0.9247 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0188/2.741, allocations: 1.639 MB / 0.9263 GB, free: 125.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (207): * Single equations (assignments): 200 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.00111/2.742, allocations: 195 kB / 0.9265 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02204/2.764, allocations: 7.112 MB / 0.9334 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/2.764, allocations: 2.969 kB / 0.9334 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006194/2.77, allocations: 2.517 MB / 0.9359 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006076/2.777, allocations: 0.9007 MB / 0.9368 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/2.806, allocations: 13.11 MB / 0.9496 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009785/2.816, allocations: 5.547 MB / 0.955 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009424/2.826, allocations: 2.757 MB / 0.9577 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/2.827, allocations: 409.6 kB / 0.9581 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.793e-06/2.827, allocations: 0 / 0.9581 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1798/3.007, allocations: 61.01 MB / 1.018 GB, free: 106 MB / 0.5573 GB