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.1_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 1.825/1.825, allocations: 209.3 MB / 221.5 MB, free: 1.855 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.607e-05, allocations: 4 kB / 273.1 MB, free: 232 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08704, allocations: 48.7 MB / 321.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3716/0.4587, allocations: 97.06 MB / 418.8 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.459, allocations: 82.97 kB / 418.9 MB, free: 8.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151/1.61, allocations: 223.3 MB / 0.6271 GB, free: 28.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.362e-06/1.61, allocations: 0 / 0.6271 GB, free: 28.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001287/1.611, allocations: 240 kB / 0.6274 GB, free: 28.52 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.07384/1.685, allocations: 11.37 MB / 0.6385 GB, free: 17.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/1.685, allocations: 12.03 kB / 0.6385 GB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07107/1.756, allocations: 12.63 MB / 0.6508 GB, free: 4.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5854/2.342, allocations: 12.53 MB / 0.6631 GB, free: 39.15 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/2.343, allocations: 0.9021 MB / 0.6639 GB, free: 39.12 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005758/2.349, allocations: 1.195 MB / 0.6651 GB, free: 39.11 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07676/2.425, allocations: 27.98 MB / 0.6924 GB, free: 33.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007507/2.426, allocations: 139.1 kB / 0.6926 GB, free: 33.67 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004808/2.431, allocations: 0.5556 MB / 0.6931 GB, free: 33.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004959/2.436, allocations: 2.682 MB / 0.6957 GB, free: 33.64 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09265/2.529, allocations: 22.8 MB / 0.718 GB, free: 31.84 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1862/2.715, allocations: 116.8 MB / 0.8321 GB, free: 4.125 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3404/3.055, allocations: 13.67 MB / 0.8454 GB, free: 96.3 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01436/3.07, allocations: 7.872 MB / 0.8531 GB, free: 96.24 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003012/3.073, allocations: 2.352 MB / 0.8554 GB, free: 94.25 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/3.073, allocations: 95.56 kB / 0.8555 GB, free: 94.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=559): time 1.347e-05/3.073, allocations: 1.25 kB / 0.8555 GB, free: 94.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=643): time 0.1975/3.271, allocations: 53.31 MB / 0.9076 GB, free: 86.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/3.271, allocations: 322.1 kB / 0.9079 GB, free: 86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02102/3.292, allocations: 8.977 MB / 0.9166 GB, free: 85.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001442/3.293, allocations: 130 kB / 0.9167 GB, free: 85.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006242/3.3, allocations: 7.726 MB / 0.9243 GB, free: 79.21 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003269/3.303, allocations: 2.334 MB / 0.9266 GB, free: 77.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/3.305, allocations: 292.5 kB / 0.9269 GB, free: 77.25 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00102/3.306, allocations: 0.9097 MB / 0.9277 GB, free: 76.69 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01596/3.322, allocations: 6.385 MB / 0.934 GB, free: 74.45 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01968/3.341, allocations: 13.87 MB / 0.9475 GB, free: 62.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/3.359, allocations: 9.364 MB / 0.9567 GB, free: 56.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00022/3.36, allocations: 76 kB / 0.9567 GB, free: 55.94 MB / 490.8 MB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.05276/3.412, allocations: 22.49 MB / 0.9787 GB, free: 37.47 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/3.413, allocations: 120 kB / 0.9788 GB, free: 37.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003126/3.413, allocations: 260.9 kB / 0.9791 GB, free: 37.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/3.423, allocations: 3.273 MB / 0.9823 GB, free: 34.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01684/3.44, allocations: 3.495 MB / 0.9857 GB, free: 31.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03395/3.474, allocations: 22.56 MB / 1.008 GB, free: 11.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01537/3.49, allocations: 0.8667 MB / 1.009 GB, free: 10.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003164/3.493, allocations: 0.8057 MB / 1.009 GB, free: 9.984 MB / 490.8 MB 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.347/3.84, allocations: 1.177 MB / 1.01 GB, free: 80.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002818/3.843, allocations: 0.9523 MB / 1.011 GB, free: 80.45 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04889/3.891, allocations: 14.44 MB / 1.026 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001902/3.892, allocations: 68.56 kB / 1.026 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001321/3.892, allocations: 16.81 kB / 1.026 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001901/3.892, allocations: 32.08 kB / 1.026 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09135/3.983, allocations: 31.09 MB / 1.056 GB, free: 78.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.449e-05/3.984, allocations: 3.312 kB / 1.056 GB, free: 78.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008592/3.992, allocations: 1.216 MB / 1.057 GB, free: 78.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009843/4.002, allocations: 2.837 MB / 1.06 GB, free: 78.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001618/4.004, allocations: 117.8 kB / 1.06 GB, free: 78.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03457/4.038, allocations: 21.08 MB / 1.081 GB, free: 69.61 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/4.038, allocations: 10.94 kB / 1.081 GB, free: 69.61 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04668/4.085, allocations: 23.75 MB / 1.104 GB, free: 59.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006975/4.092, allocations: 2.042 MB / 1.106 GB, free: 58.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003487/4.096, allocations: 111.2 kB / 1.106 GB, free: 58.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008393/4.104, allocations: 488.8 kB / 1.106 GB, free: 58.65 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002019/4.106, allocations: 394.1 kB / 1.107 GB, free: 58.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001006/4.107, allocations: 166.3 kB / 1.107 GB, free: 58.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01545/4.123, allocations: 6.42 MB / 1.113 GB, free: 56.37 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.089e-06/4.123, allocations: 0 / 1.113 GB, free: 56.37 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01803/4.141, allocations: 2.935 MB / 1.116 GB, free: 56.04 MB / 490.8 MB 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.002753/4.144, allocations: 295.9 kB / 1.116 GB, free: 55.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03392/4.177, allocations: 15.59 MB / 1.132 GB, free: 43.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/4.178, allocations: 4 kB / 1.132 GB, free: 43.74 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01417/4.192, allocations: 6.972 MB / 1.138 GB, free: 37.51 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008327/4.2, allocations: 1.191 MB / 1.14 GB, free: 36.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05749/4.258, allocations: 23.96 MB / 1.163 GB, free: 15.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0191/4.277, allocations: 8.301 MB / 1.171 GB, free: 9.484 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0178/4.295, allocations: 4.721 MB / 1.176 GB, free: 6.387 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00446/4.299, allocations: 0.6693 MB / 1.176 GB, free: 5.758 MB / 490.8 MB Notification: Performance of SimCode: time 2.185e-06/4.299, allocations: 4 kB / 1.176 GB, free: 5.754 MB / 490.8 MB Notification: Performance of Templates: time 0.6051/4.904, allocations: 108.3 MB / 1.282 GB, free: 77.95 MB / 0.4949 GB