Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.507/2.507, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.585e-05, allocations: 9.828 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.5806, allocations: 112.2 MB / 0.5103 GB, free: 7.801 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5809, allocations: 71.97 kB / 0.5103 GB, free: 7.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206/1.787, allocations: 222.6 MB / 0.7277 GB, free: 74.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/1.787, allocations: 0 / 0.7277 GB, free: 74.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006861/1.788, allocations: 232 kB / 0.7279 GB, free: 74.42 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.05751/1.845, allocations: 11.54 MB / 0.7392 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/1.845, allocations: 8.031 kB / 0.7392 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08086/1.926, allocations: 12.62 MB / 0.7515 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03463/1.961, allocations: 12.21 MB / 0.7634 GB, free: 37.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009729/1.962, allocations: 0.8745 MB / 0.7643 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004853/1.967, allocations: 1.167 MB / 0.7654 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07096/2.038, allocations: 27.82 MB / 0.7926 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006433/2.039, allocations: 146.7 kB / 0.7927 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003911/2.043, allocations: 0.5427 MB / 0.7933 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004502/2.047, allocations: 2.577 MB / 0.7958 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8041/2.851, allocations: 22.14 MB / 0.8174 GB, free: 77.59 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1681/3.019, allocations: 120.2 MB / 0.9348 GB, free: 9.074 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05459/3.074, allocations: 13.78 MB / 0.9483 GB, free: 5.516 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01196/3.086, allocations: 7.268 MB / 0.9554 GB, free: 2.504 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03743/3.124, allocations: 17.76 MB / 0.9727 GB, free: 10.16 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.216e-05/3.124, allocations: 86 kB / 0.9728 GB, free: 10.09 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=469): time 9.597e-06/3.124, allocations: 5.875 kB / 0.9728 GB, free: 10.09 MB / 0.5418 GB Notification: Performance of matching and sorting (n=553): time 0.5833/3.707, allocations: 56.87 MB / 1.028 GB, free: 129 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/3.707, allocations: 372 kB / 1.029 GB, free: 128.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02802/3.735, allocations: 10.12 MB / 1.039 GB, free: 128.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/3.736, allocations: 113.9 kB / 1.039 GB, free: 128.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00785/3.744, allocations: 7.853 MB / 1.046 GB, free: 126.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003051/3.747, allocations: 2.057 MB / 1.048 GB, free: 125.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/3.749, allocations: 280.9 kB / 1.049 GB, free: 125.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001322/3.751, allocations: 0.895 MB / 1.049 GB, free: 124.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01398/3.765, allocations: 5.777 MB / 1.055 GB, free: 124.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01759/3.782, allocations: 13.51 MB / 1.068 GB, free: 114.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/3.8, allocations: 8.777 MB / 1.077 GB, free: 114.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002627/3.8, allocations: 78.53 kB / 1.077 GB, free: 114.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.05298/3.853, allocations: 21.38 MB / 1.098 GB, free: 110.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000221/3.853, allocations: 124.1 kB / 1.098 GB, free: 110.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000349/3.853, allocations: 279.4 kB / 1.098 GB, free: 110.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/3.865, allocations: 3.246 MB / 1.101 GB, free: 109.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0173/3.882, allocations: 3.369 MB / 1.105 GB, free: 109.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03502/3.917, allocations: 22.41 MB / 1.127 GB, free: 97.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01554/3.932, allocations: 0.814 MB / 1.127 GB, free: 96.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003159/3.936, allocations: 0.8098 MB / 1.128 GB, free: 96.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1698): * Single equations (assignments): 1691 * 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 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003501/3.939, allocations: 1.205 MB / 1.129 GB, free: 95.78 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00235/3.942, allocations: 1.002 MB / 1.13 GB, free: 95.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03013/3.972, allocations: 12.67 MB / 1.143 GB, free: 90.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-05/3.972, allocations: 62.62 kB / 1.143 GB, free: 90.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-05/3.972, allocations: 16 kB / 1.143 GB, free: 90.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-05/3.972, allocations: 28.52 kB / 1.143 GB, free: 90.07 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06717/4.039, allocations: 28.83 MB / 1.171 GB, free: 66.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.374e-05/4.039, allocations: 12 kB / 1.171 GB, free: 66.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007536/4.047, allocations: 1.101 MB / 1.172 GB, free: 66.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01914/4.066, allocations: 2.816 MB / 1.175 GB, free: 64.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002397/4.069, allocations: 103.1 kB / 1.175 GB, free: 63.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09475/4.163, allocations: 21 MB / 1.195 GB, free: 45.15 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-05/4.163, allocations: 15.94 kB / 1.195 GB, free: 45.13 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04599/4.209, allocations: 22.74 MB / 1.218 GB, free: 24.32 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003733/4.213, allocations: 1.09 MB / 1.219 GB, free: 23.26 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003563/4.217, allocations: 108.5 kB / 1.219 GB, free: 23.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007901/4.225, allocations: 377.8 kB / 1.219 GB, free: 22.92 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001752/4.226, allocations: 361.9 kB / 1.219 GB, free: 22.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006443/4.227, allocations: 139.7 kB / 1.22 GB, free: 22.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01709/4.244, allocations: 7.292 MB / 1.227 GB, free: 16.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.362e-06/4.244, allocations: 0 / 1.227 GB, free: 16.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01724/4.262, allocations: 2.806 MB / 1.229 GB, free: 13.38 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/4.263, allocations: 285.8 kB / 1.23 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.384/4.647, allocations: 14.13 MB / 1.244 GB, free: 119 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/4.647, allocations: 1.312 kB / 1.244 GB, free: 119 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01529/4.662, allocations: 6.159 MB / 1.25 GB, free: 118.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009879/4.672, allocations: 1.317 MB / 1.251 GB, free: 118.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05933/4.732, allocations: 23.21 MB / 1.274 GB, free: 114.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01984/4.752, allocations: 8.162 MB / 1.281 GB, free: 113.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01836/4.77, allocations: 4.669 MB / 1.286 GB, free: 112.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004576/4.775, allocations: 0.6603 MB / 1.287 GB, free: 112.9 MB / 0.573 GB Notification: Performance of SimCode: time 2.08e-06/4.775, allocations: 0 / 1.287 GB, free: 112.9 MB / 0.573 GB Notification: Performance of Templates: time 0.2966/5.071, allocations: 104.8 MB / 1.389 GB, free: 52.18 MB / 0.573 GB