Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque3,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.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 270.1 MB / 283.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.854e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.553, allocations: 110.7 MB / 0.5087 GB, free: 9.391 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5533, allocations: 80.53 kB / 0.5088 GB, free: 9.312 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272/1.825, allocations: 205.4 MB / 0.7094 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.228e-06/1.825, allocations: 0 / 0.7094 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006661/1.826, allocations: 216.9 kB / 0.7096 GB, free: 92.1 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: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.03302/1.859, allocations: 10.57 MB / 0.7199 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.859, allocations: 8.031 kB / 0.7199 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06164/1.92, allocations: 12.44 MB / 0.7321 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03973/1.96, allocations: 11.45 MB / 0.7432 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008754/1.961, allocations: 0.8145 MB / 0.744 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004266/1.965, allocations: 1.101 MB / 0.7451 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07548/2.041, allocations: 25.6 MB / 0.7701 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008669/2.042, allocations: 130.8 kB / 0.7702 GB, free: 28.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004653/2.047, allocations: 0.5076 MB / 0.7707 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006645/2.053, allocations: 2.353 MB / 0.773 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1408/2.194, allocations: 20.61 MB / 0.7932 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8445/3.039, allocations: 108.6 MB / 0.8992 GB, free: 27.95 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04283/3.082, allocations: 12.32 MB / 0.9112 GB, free: 27.24 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01091/3.093, allocations: 6.958 MB / 0.918 GB, free: 25.7 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002662/3.095, allocations: 2.332 MB / 0.9203 GB, free: 23.63 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.606e-05/3.095, allocations: 88.7 kB / 0.9204 GB, free: 23.56 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=443): time 1.04e-05/3.095, allocations: 0 / 0.9204 GB, free: 23.56 MB / 0.5262 GB Notification: Performance of matching and sorting (n=527): time 0.207/3.302, allocations: 48.64 MB / 0.9679 GB, free: 7.734 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/3.302, allocations: 316.7 kB / 0.9682 GB, free: 7.414 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01811/3.321, allocations: 8.55 MB / 0.9766 GB, free: 252 kB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/3.322, allocations: 101.7 kB / 0.9766 GB, free: 144 kB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.01004/3.332, allocations: 7.239 MB / 0.9837 GB, free: 10.04 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.003271/3.335, allocations: 1.942 MB / 0.9856 GB, free: 8.316 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/3.337, allocations: 256 kB / 0.9859 GB, free: 8.066 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001042/3.338, allocations: 0.8507 MB / 0.9867 GB, free: 7.363 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01294/3.351, allocations: 5.491 MB / 0.9921 GB, free: 2.449 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03838/3.389, allocations: 13.45 MB / 1.005 GB, free: 6.102 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02128/3.41, allocations: 8.383 MB / 1.013 GB, free: 15.68 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002539/3.411, allocations: 70.06 kB / 1.013 GB, free: 15.61 MB / 0.573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.4506/3.861, allocations: 20.11 MB / 1.033 GB, free: 124.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/3.862, allocations: 110.4 kB / 1.033 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005268/3.862, allocations: 249 kB / 1.033 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/3.874, allocations: 3.24 MB / 1.037 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01623/3.89, allocations: 3.091 MB / 1.04 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03737/3.928, allocations: 22.5 MB / 1.062 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/3.942, allocations: 0.7725 MB / 1.062 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002946/3.945, allocations: 0.737 MB / 1.063 GB, free: 119.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 126 (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],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1542): * Single equations (assignments): 1535 * 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%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003845/3.949, allocations: 1.096 MB / 1.064 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002176/3.951, allocations: 0.8736 MB / 1.065 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02917/3.98, allocations: 12.26 MB / 1.077 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.648e-05/3.98, allocations: 56.56 kB / 1.077 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.466e-05/3.98, allocations: 18.22 kB / 1.077 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001144/3.98, allocations: 29.44 kB / 1.077 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06579/4.046, allocations: 27.16 MB / 1.104 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.608e-05/4.046, allocations: 2.906 kB / 1.104 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006585/4.053, allocations: 0.9754 MB / 1.105 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/4.063, allocations: 2.822 MB / 1.107 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001335/4.064, allocations: 100.2 kB / 1.107 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03488/4.099, allocations: 21.02 MB / 1.128 GB, free: 99.21 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.613e-06/4.099, allocations: 7.906 kB / 1.128 GB, free: 99.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05831/4.157, allocations: 20.33 MB / 1.148 GB, free: 86.83 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002903/4.16, allocations: 0.9386 MB / 1.149 GB, free: 85.91 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002688/4.163, allocations: 99.28 kB / 1.149 GB, free: 85.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00694/4.17, allocations: 409.3 kB / 1.149 GB, free: 85.56 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001709/4.172, allocations: 331.4 kB / 1.149 GB, free: 85.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007089/4.173, allocations: 132.9 kB / 1.15 GB, free: 85.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01329/4.186, allocations: 6.101 MB / 1.156 GB, free: 79.89 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.362e-06/4.186, allocations: 3.094 kB / 1.156 GB, free: 79.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01537/4.201, allocations: 2.617 MB / 1.158 GB, free: 77.29 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 428 * 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%) 18,(4,75.0%) 18,(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.001448/4.203, allocations: 279.6 kB / 1.158 GB, free: 77.02 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02613/4.229, allocations: 13.51 MB / 1.172 GB, free: 64.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/4.229, allocations: 7.047 kB / 1.172 GB, free: 64.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01235/4.241, allocations: 5.952 MB / 1.177 GB, free: 59.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00766/4.249, allocations: 1.173 MB / 1.179 GB, free: 58.57 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07957/4.329, allocations: 21.38 MB / 1.199 GB, free: 39.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05061/4.379, allocations: 7.592 MB / 1.207 GB, free: 34.12 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01596/4.395, allocations: 4.219 MB / 1.211 GB, free: 30.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003709/4.399, allocations: 0.5931 MB / 1.212 GB, free: 29.79 MB / 0.573 GB Notification: Performance of SimCode: time 1.791e-06/4.399, allocations: 4 kB / 1.212 GB, free: 29.79 MB / 0.573 GB Notification: Performance of Templates: time 0.7024/5.101, allocations: 97.83 MB / 1.307 GB, free: 126 MB / 0.5887 GB