Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque2,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.Torque2") Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.142e-05, allocations: 4 kB / 348.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3802, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.5672, allocations: 112.2 MB / 0.5103 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/0.5677, allocations: 75.97 kB / 0.5103 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.811/2.379, allocations: 222.1 MB / 0.7272 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.455e-06/2.379, allocations: 1.875 kB / 0.7272 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007355/2.38, allocations: 231.9 kB / 0.7275 GB, free: 48.89 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.04413/2.424, allocations: 11.53 MB / 0.7387 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/2.424, allocations: 10.69 kB / 0.7387 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06521/2.489, allocations: 12.62 MB / 0.7511 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03371/2.523, allocations: 12.2 MB / 0.763 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009538/2.524, allocations: 0.8746 MB / 0.7638 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004568/2.529, allocations: 1.168 MB / 0.765 GB, free: 42.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07064/2.599, allocations: 27.38 MB / 0.7917 GB, free: 37.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005922/2.6, allocations: 144.3 kB / 0.7918 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003219/2.603, allocations: 0.5435 MB / 0.7924 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004038/2.607, allocations: 2.534 MB / 0.7948 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0581/2.665, allocations: 21.67 MB / 0.816 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5442/3.21, allocations: 119.5 MB / 0.9327 GB, free: 95.38 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04643/3.256, allocations: 12.77 MB / 0.9452 GB, free: 94.65 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/3.267, allocations: 7.088 MB / 0.9521 GB, free: 94.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03352/3.301, allocations: 17.29 MB / 0.969 GB, free: 91.83 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/3.301, allocations: 84.41 kB / 0.969 GB, free: 91.79 MB / 0.573 GB Notification: Performance of pre-optimization done (n=459): time 9.827e-06/3.301, allocations: 0 / 0.969 GB, free: 91.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=543): time 0.2296/3.531, allocations: 54.41 MB / 1.022 GB, free: 80.25 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/3.531, allocations: 365.4 kB / 1.023 GB, free: 79.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02291/3.554, allocations: 10.16 MB / 1.032 GB, free: 79.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/3.555, allocations: 108.9 kB / 1.033 GB, free: 79.08 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006584/3.561, allocations: 7.895 MB / 1.04 GB, free: 75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002778/3.564, allocations: 2.015 MB / 1.042 GB, free: 73.52 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/3.566, allocations: 289.7 kB / 1.043 GB, free: 73.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0009653/3.567, allocations: 0.9004 MB / 1.043 GB, free: 72.74 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0119/3.579, allocations: 5.727 MB / 1.049 GB, free: 70.78 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01586/3.595, allocations: 13.54 MB / 1.062 GB, free: 58.31 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/3.611, allocations: 8.731 MB / 1.071 GB, free: 53.03 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002288/3.611, allocations: 87.42 kB / 1.071 GB, free: 52.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=1818) (initialization): time 0.06171/3.673, allocations: 21.33 MB / 1.092 GB, free: 36.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004457/3.673, allocations: 124 kB / 1.092 GB, free: 36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007006/3.674, allocations: 283.4 kB / 1.092 GB, free: 35.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0228/3.697, allocations: 3.274 MB / 1.095 GB, free: 33.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03318/3.73, allocations: 3.355 MB / 1.099 GB, free: 30.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/3.765, allocations: 22.56 MB / 1.121 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/3.779, allocations: 0.8244 MB / 1.121 GB, free: 9.566 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002888/3.782, allocations: 0.8148 MB / 1.122 GB, free: 8.785 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1264 * 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],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],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],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],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%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003066/3.786, allocations: 1.194 MB / 1.123 GB, free: 7.602 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002537/3.788, allocations: 0.9988 MB / 1.124 GB, free: 6.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03436/3.822, allocations: 12.75 MB / 1.137 GB, free: 13.1 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/3.823, allocations: 59.95 kB / 1.137 GB, free: 13.04 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.687e-05/3.823, allocations: 16 kB / 1.137 GB, free: 13.03 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/3.823, allocations: 31.64 kB / 1.137 GB, free: 13.02 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4342/4.257, allocations: 28.59 MB / 1.165 GB, free: 99.99 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.59e-05/4.257, allocations: 16.56 kB / 1.165 GB, free: 99.99 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007478/4.265, allocations: 1.067 MB / 1.166 GB, free: 99.99 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009537/4.274, allocations: 2.821 MB / 1.169 GB, free: 99.95 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001222/4.275, allocations: 107.8 kB / 1.169 GB, free: 99.95 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03469/4.31, allocations: 21.13 MB / 1.189 GB, free: 94.62 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/4.31, allocations: 14.47 kB / 1.189 GB, free: 94.62 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04037/4.351, allocations: 22.52 MB / 1.211 GB, free: 89.8 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003759/4.354, allocations: 1.094 MB / 1.212 GB, free: 89.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003554/4.358, allocations: 107.1 kB / 1.212 GB, free: 89.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007859/4.366, allocations: 367.4 kB / 1.213 GB, free: 89.7 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001822/4.368, allocations: 355.3 kB / 1.213 GB, free: 89.69 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007747/4.369, allocations: 139.7 kB / 1.213 GB, free: 89.69 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.0176/4.386, allocations: 7.313 MB / 1.22 GB, free: 89.36 MB / 0.5887 GB Notification: Performance of sort global known variables: time 1.3e-06/4.386, allocations: 3.031 kB / 1.22 GB, free: 89.36 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01736/4.404, allocations: 2.79 MB / 1.223 GB, free: 89.36 MB / 0.5887 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 (451): * Single equations (assignments): 444 * 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.001599/4.405, allocations: 276.2 kB / 1.223 GB, free: 89.27 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.02758/4.433, allocations: 14.05 MB / 1.237 GB, free: 85.54 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/4.433, allocations: 5.25 kB / 1.237 GB, free: 85.54 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/4.446, allocations: 6.081 MB / 1.243 GB, free: 83.23 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008963/4.455, allocations: 1.321 MB / 1.244 GB, free: 82.7 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05198/4.507, allocations: 23.12 MB / 1.267 GB, free: 74.52 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01727/4.524, allocations: 8.165 MB / 1.275 GB, free: 69.37 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.01673/4.541, allocations: 4.644 MB / 1.279 GB, free: 66.54 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004012/4.545, allocations: 0.6593 MB / 1.28 GB, free: 65.91 MB / 0.5887 GB Notification: Performance of SimCode: time 2.196e-06/4.545, allocations: 0 / 1.28 GB, free: 65.91 MB / 0.5887 GB Notification: Performance of Templates: time 0.673/5.218, allocations: 104.5 MB / 1.382 GB, free: 87.15 MB / 0.5887 GB