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_3.2.3_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.5e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.4942, allocations: 111.5 MB / 493.7 MB, free: 13.02 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4945, allocations: 71.97 kB / 493.7 MB, free: 12.95 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.098/1.593, allocations: 241.3 MB / 0.7178 GB, free: 2.199 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.234e-06/1.593, allocations: 0 / 0.7178 GB, free: 2.199 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0008525/1.593, allocations: 255.9 kB / 0.7181 GB, free: 1.949 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4457 * Number of variables: 4457 Notification: Performance of Generate backend data structure: time 0.7453/2.339, allocations: 12.36 MB / 0.7301 GB, free: 46.2 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/2.339, allocations: 7.562 kB / 0.7302 GB, free: 46.2 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07289/2.412, allocations: 12.81 MB / 0.7427 GB, free: 45.33 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03884/2.451, allocations: 13.31 MB / 0.7557 GB, free: 44.04 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001158/2.452, allocations: 0.9612 MB / 0.7566 GB, free: 44.01 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005463/2.457, allocations: 1.275 MB / 0.7578 GB, free: 44 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08016/2.537, allocations: 29.79 MB / 0.7869 GB, free: 37.89 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008139/2.538, allocations: 152.7 kB / 0.7871 GB, free: 37.88 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004977/2.543, allocations: 0.5872 MB / 0.7877 GB, free: 37.88 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005462/2.549, allocations: 2.877 MB / 0.7905 GB, free: 37.84 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06481/2.614, allocations: 23.87 MB / 0.8138 GB, free: 36.29 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6058/3.22, allocations: 127.9 MB / 0.9387 GB, free: 39.58 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05263/3.272, allocations: 13.88 MB / 0.9522 GB, free: 38.84 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0134/3.286, allocations: 7.969 MB / 0.96 GB, free: 38.76 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04342/3.329, allocations: 19.83 MB / 0.9794 GB, free: 35.98 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.592e-05/3.329, allocations: 102.5 kB / 0.9795 GB, free: 35.94 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=562): time 1.147e-05/3.329, allocations: 0 / 0.9795 GB, free: 35.94 MB / 0.5574 GB Notification: Performance of matching and sorting (n=646): time 0.2131/3.542, allocations: 59.15 MB / 1.037 GB, free: 22.44 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/3.543, allocations: 386.2 kB / 1.038 GB, free: 22.05 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02463/3.567, allocations: 10.63 MB / 1.048 GB, free: 20.14 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001362/3.569, allocations: 129.5 kB / 1.048 GB, free: 20.09 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.006922/3.576, allocations: 8.558 MB / 1.056 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003239/3.579, allocations: 2.375 MB / 1.059 GB, free: 10.48 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/3.581, allocations: 317.3 kB / 1.059 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.00111/3.582, allocations: 0.9618 MB / 1.06 GB, free: 9.395 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01375/3.596, allocations: 6.624 MB / 1.066 GB, free: 3.449 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04168/3.638, allocations: 16.01 MB / 1.082 GB, free: 4.156 MB / 0.5731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02561/3.663, allocations: 10.09 MB / 1.092 GB, free: 12.86 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003147/3.664, allocations: 84 kB / 1.092 GB, free: 12.78 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2020) (initialization): time 0.06447/3.728, allocations: 23.77 MB / 1.115 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/3.728, allocations: 128 kB / 1.115 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004937/3.729, allocations: 296 kB / 1.116 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/3.741, allocations: 3.307 MB / 1.119 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02026/3.761, allocations: 3.762 MB / 1.123 GB, free: 3.754 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04692/3.808, allocations: 22.83 MB / 1.145 GB, free: 0 / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01859/3.827, allocations: 0.9458 MB / 1.146 GB, free: 15.25 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004025/3.831, allocations: 0.891 MB / 1.147 GB, free: 14.4 MB / 0.6356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1346 * Number of states: 0 () * Number of discrete variables: 120 (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.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[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.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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 (1900): * Single equations (assignments): 1893 * 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.00632/3.837, allocations: 1.288 MB / 1.148 GB, free: 13.11 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004178/3.841, allocations: 1.072 MB / 1.149 GB, free: 12.03 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04084/3.882, allocations: 14.6 MB / 1.163 GB, free: 14.27 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/3.882, allocations: 64 kB / 1.163 GB, free: 14.2 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.252e-05/3.882, allocations: 19.98 kB / 1.163 GB, free: 14.18 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001504/3.882, allocations: 31.89 kB / 1.163 GB, free: 14.15 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4492/4.332, allocations: 32.37 MB / 1.195 GB, free: 176 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-05/4.332, allocations: 11.75 kB / 1.195 GB, free: 176 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009743/4.342, allocations: 1.282 MB / 1.196 GB, free: 176 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/4.352, allocations: 2.838 MB / 1.199 GB, free: 176 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001536/4.353, allocations: 126.9 kB / 1.199 GB, free: 176 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03531/4.389, allocations: 21.08 MB / 1.22 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/4.389, allocations: 15.25 kB / 1.22 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04864/4.437, allocations: 26.09 MB / 1.245 GB, free: 165.2 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00798/4.445, allocations: 2.184 MB / 1.247 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003968/4.449, allocations: 119.6 kB / 1.247 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009731/4.459, allocations: 448.2 kB / 1.248 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002063/4.461, allocations: 415.5 kB / 1.248 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001147/4.462, allocations: 167.8 kB / 1.248 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.01841/4.481, allocations: 7.663 MB / 1.256 GB, free: 164.7 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.493e-06/4.481, allocations: 0 / 1.256 GB, free: 164.7 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.01885/4.5, allocations: 3.113 MB / 1.259 GB, free: 164.7 MB / 0.6512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (553): * Single equations (assignments): 546 * 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.001814/4.502, allocations: 305.8 kB / 1.259 GB, free: 164.6 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.03236/4.534, allocations: 16.09 MB / 1.275 GB, free: 159.6 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/4.534, allocations: 1.594 kB / 1.275 GB, free: 159.6 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/4.55, allocations: 6.924 MB / 1.282 GB, free: 157 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009958/4.56, allocations: 1.344 MB / 1.283 GB, free: 156.4 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06142/4.621, allocations: 25.68 MB / 1.308 GB, free: 144.5 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02085/4.642, allocations: 8.895 MB / 1.317 GB, free: 138.1 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.01981/4.662, allocations: 5.158 MB / 1.322 GB, free: 135 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004753/4.667, allocations: 0.7347 MB / 1.323 GB, free: 134.3 MB / 0.6512 GB Notification: Performance of SimCode: time 2.938e-06/4.667, allocations: 0 / 1.323 GB, free: 134.3 MB / 0.6512 GB Notification: Performance of Templates: time 0.6658/5.333, allocations: 113.1 MB / 1.433 GB, free: 170.8 MB / 0.6512 GB