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_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.11e-05, allocations: 0 / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3211, allocations: 54.86 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.4798, allocations: 103.9 MB / 463.6 MB, free: 9.082 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.48, allocations: 72.55 kB / 463.7 MB, free: 9.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023/1.504, allocations: 223.7 MB / 0.6713 GB, free: 16.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.888e-06/1.504, allocations: 0 / 0.6713 GB, free: 16.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000631/1.504, allocations: 236 kB / 0.6715 GB, free: 16.05 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.03631/1.541, allocations: 11.38 MB / 0.6826 GB, free: 4.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.541, allocations: 8.031 kB / 0.6826 GB, free: 4.562 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06746/1.608, allocations: 12.64 MB / 0.695 GB, free: 7.883 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.338/1.946, allocations: 12.54 MB / 0.7072 GB, free: 51.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/1.948, allocations: 0.9019 MB / 0.7081 GB, free: 51.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005543/1.953, allocations: 1.208 MB / 0.7093 GB, free: 51.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07866/2.032, allocations: 28 MB / 0.7366 GB, free: 46.47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000807/2.033, allocations: 136.1 kB / 0.7367 GB, free: 46.47 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004793/2.037, allocations: 0.5548 MB / 0.7373 GB, free: 46.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004912/2.042, allocations: 2.681 MB / 0.7399 GB, free: 46.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06232/2.105, allocations: 22.83 MB / 0.7622 GB, free: 46.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.176/2.281, allocations: 116.9 MB / 0.8763 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05471/2.336, allocations: 13.9 MB / 0.8899 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01469/2.35, allocations: 7.883 MB / 0.8976 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003759/2.354, allocations: 2.346 MB / 0.8999 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/2.354, allocations: 94.19 kB / 0.9 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 1.175e-05/2.354, allocations: 0 / 0.9 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.5028/2.857, allocations: 53.32 MB / 0.9521 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/2.857, allocations: 323.9 kB / 0.9524 GB, free: 101 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02012/2.877, allocations: 8.969 MB / 0.9611 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001487/2.879, allocations: 129.8 kB / 0.9612 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005722/2.885, allocations: 7.304 MB / 0.9684 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003287/2.888, allocations: 2.343 MB / 0.9707 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/2.89, allocations: 291.8 kB / 0.9709 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001125/2.891, allocations: 0.9131 MB / 0.9718 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01404/2.905, allocations: 6.385 MB / 0.9781 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/2.924, allocations: 13.87 MB / 0.9916 GB, free: 85.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01834/2.942, allocations: 9.356 MB / 1.001 GB, free: 82.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002639/2.942, allocations: 78.34 kB / 1.001 GB, free: 82.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.05456/2.997, allocations: 22.08 MB / 1.022 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/2.997, allocations: 127.2 kB / 1.023 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003165/2.998, allocations: 264.5 kB / 1.023 GB, free: 75.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/3.008, allocations: 3.257 MB / 1.026 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01684/3.025, allocations: 3.498 MB / 1.029 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03336/3.058, allocations: 22.56 MB / 1.051 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01573/3.074, allocations: 0.8701 MB / 1.052 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003439/3.077, allocations: 0.8131 MB / 1.053 GB, free: 48.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (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],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.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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1741): * Single equations (assignments): 1734 * 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.005124/3.083, allocations: 1.179 MB / 1.054 GB, free: 47.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/3.086, allocations: 0.941 MB / 1.055 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03522/3.121, allocations: 14.43 MB / 1.069 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-05/3.121, allocations: 68 kB / 1.069 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.854e-05/3.121, allocations: 16 kB / 1.069 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001421/3.121, allocations: 31.88 kB / 1.069 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4038/3.525, allocations: 31.17 MB / 1.1 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.339e-05/3.525, allocations: 6.219 kB / 1.1 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008704/3.534, allocations: 1.214 MB / 1.101 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/3.545, allocations: 2.822 MB / 1.104 GB, free: 88.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001578/3.546, allocations: 121 kB / 1.104 GB, free: 88.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03606/3.582, allocations: 21.07 MB / 1.124 GB, free: 82.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.471e-06/3.582, allocations: 13.28 kB / 1.124 GB, free: 82.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04982/3.632, allocations: 23.75 MB / 1.148 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007343/3.64, allocations: 2.038 MB / 1.15 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00381/3.644, allocations: 111.4 kB / 1.15 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008703/3.652, allocations: 497.4 kB / 1.15 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002157/3.655, allocations: 389.1 kB / 1.151 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001448/3.656, allocations: 168.4 kB / 1.151 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01585/3.672, allocations: 6.414 MB / 1.157 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.176e-06/3.672, allocations: 0 / 1.157 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01789/3.69, allocations: 2.931 MB / 1.16 GB, free: 79.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (554): * Single equations (assignments): 547 * 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.001754/3.692, allocations: 301.6 kB / 1.16 GB, free: 79.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03029/3.722, allocations: 15.58 MB / 1.175 GB, free: 75.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/3.722, allocations: 2.938 kB / 1.175 GB, free: 75.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01582/3.738, allocations: 6.97 MB / 1.182 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008788/3.747, allocations: 1.199 MB / 1.183 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06253/3.809, allocations: 25.29 MB / 1.208 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01933/3.829, allocations: 8.314 MB / 1.216 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005812/3.834, allocations: 0.7677 MB / 1.217 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of SimCode: time 2.048e-06/3.834, allocations: 0 / 1.217 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of Templates: time 1.212/5.046, allocations: 344.5 MB / 1.553 GB, free: 145.7 MB / 0.5886 GB