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.3_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.488e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3384, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5096, allocations: 110 MB / 492.2 MB, free: 14.45 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5099, allocations: 75.97 kB / 492.3 MB, free: 14.38 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.057/1.567, allocations: 224.7 MB / 0.7002 GB, free: 4.098 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.129e-06/1.567, allocations: 4 kB / 0.7002 GB, free: 4.094 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0007427/1.568, allocations: 232 kB / 0.7004 GB, free: 3.867 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.04253/1.61, allocations: 11.4 MB / 0.7116 GB, free: 8.371 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.61, allocations: 8.031 kB / 0.7116 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4305/2.041, allocations: 12.63 MB / 0.7239 GB, free: 56.15 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03539/2.076, allocations: 12.57 MB / 0.7362 GB, free: 55.62 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/2.077, allocations: 0.9037 MB / 0.7371 GB, free: 55.59 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00508/2.083, allocations: 1.208 MB / 0.7383 GB, free: 55.58 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07147/2.154, allocations: 28.02 MB / 0.7656 GB, free: 50.14 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006938/2.155, allocations: 132.1 kB / 0.7657 GB, free: 50.13 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004212/2.159, allocations: 0.5564 MB / 0.7663 GB, free: 50.13 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00464/2.164, allocations: 2.68 MB / 0.7689 GB, free: 50.11 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0596/2.223, allocations: 22.82 MB / 0.7912 GB, free: 49.91 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1768/2.4, allocations: 117 MB / 0.9055 GB, free: 7.777 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05702/2.457, allocations: 14.03 MB / 0.9192 GB, free: 14 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01505/2.472, allocations: 7.883 MB / 0.9269 GB, free: 6.773 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003864/2.476, allocations: 2.345 MB / 0.9292 GB, free: 4.254 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/2.476, allocations: 95.17 kB / 0.9293 GB, free: 4.156 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=559): time 1.663e-05/2.476, allocations: 0 / 0.9293 GB, free: 4.156 MB / 0.5574 GB Notification: Performance of matching and sorting (n=643): time 0.5231/3, allocations: 53.34 MB / 0.9813 GB, free: 104.6 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/3, allocations: 329.2 kB / 0.9817 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0197/3.019, allocations: 8.991 MB / 0.9904 GB, free: 103.5 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001393/3.021, allocations: 129 kB / 0.9906 GB, free: 103.5 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.006313/3.027, allocations: 7.756 MB / 0.9981 GB, free: 99.75 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00323/3.03, allocations: 2.342 MB / 1 GB, free: 98.36 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002098/3.033, allocations: 284.8 kB / 1.001 GB, free: 98.36 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001129/3.034, allocations: 0.9137 MB / 1.002 GB, free: 98.02 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01367/3.047, allocations: 6.386 MB / 1.008 GB, free: 97.99 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0181/3.066, allocations: 13.89 MB / 1.021 GB, free: 88.4 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/3.084, allocations: 9.372 MB / 1.031 GB, free: 87.36 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002629/3.084, allocations: 77.73 kB / 1.031 GB, free: 87.36 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.05507/3.139, allocations: 22.51 MB / 1.053 GB, free: 80.86 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002142/3.14, allocations: 119.5 kB / 1.053 GB, free: 80.86 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/3.14, allocations: 263.4 kB / 1.053 GB, free: 80.86 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/3.151, allocations: 3.264 MB / 1.056 GB, free: 80.27 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0164/3.167, allocations: 3.504 MB / 1.06 GB, free: 77.47 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03274/3.2, allocations: 22.57 MB / 1.082 GB, free: 57.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01507/3.215, allocations: 0.8677 MB / 1.082 GB, free: 56.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003257/3.218, allocations: 0.8107 MB / 1.083 GB, free: 55.72 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1204 * Number of states: 0 () * Number of discrete variables: 108 (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.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 (1744): * Single equations (assignments): 1737 * 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.004526/3.223, allocations: 1.191 MB / 1.084 GB, free: 54.54 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/3.225, allocations: 0.9449 MB / 1.085 GB, free: 53.58 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03362/3.259, allocations: 14.43 MB / 1.099 GB, free: 41.88 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.552e-05/3.259, allocations: 66.08 kB / 1.099 GB, free: 41.81 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.698e-05/3.259, allocations: 16 kB / 1.1 GB, free: 41.8 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001378/3.259, allocations: 33.72 kB / 1.1 GB, free: 41.79 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07576/3.335, allocations: 31.12 MB / 1.13 GB, free: 16.73 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.801e-05/3.335, allocations: 8 kB / 1.13 GB, free: 16.72 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008236/3.343, allocations: 1.219 MB / 1.131 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009683/3.353, allocations: 2.821 MB / 1.134 GB, free: 13.8 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001605/3.355, allocations: 119.3 kB / 1.134 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3846/3.739, allocations: 21.11 MB / 1.155 GB, free: 91.86 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.246e-06/3.739, allocations: 10.09 kB / 1.155 GB, free: 91.86 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04619/3.785, allocations: 23.75 MB / 1.178 GB, free: 88.91 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007054/3.793, allocations: 2.036 MB / 1.18 GB, free: 88.81 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00366/3.796, allocations: 109.4 kB / 1.18 GB, free: 88.81 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008765/3.805, allocations: 492.1 kB / 1.18 GB, free: 88.81 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002081/3.807, allocations: 397.1 kB / 1.181 GB, free: 88.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001503/3.809, allocations: 167.6 kB / 1.181 GB, free: 88.8 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01539/3.824, allocations: 6.431 MB / 1.187 GB, free: 88.47 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.141e-06/3.824, allocations: 0 / 1.187 GB, free: 88.47 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01721/3.841, allocations: 2.942 MB / 1.19 GB, free: 88.47 MB / 0.5574 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.001676/3.843, allocations: 302.4 kB / 1.19 GB, free: 88.38 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03045/3.874, allocations: 15.59 MB / 1.206 GB, free: 87.49 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/3.874, allocations: 0 / 1.206 GB, free: 87.49 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01558/3.889, allocations: 6.97 MB / 1.212 GB, free: 84.82 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008672/3.898, allocations: 1.196 MB / 1.214 GB, free: 84.32 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0562/3.954, allocations: 23.99 MB / 1.237 GB, free: 75.87 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01976/3.974, allocations: 8.324 MB / 1.245 GB, free: 73.46 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01832/3.992, allocations: 4.721 MB / 1.25 GB, free: 72.39 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/3.997, allocations: 0.6743 MB / 1.25 GB, free: 71.76 MB / 0.5574 GB Notification: Performance of SimCode: time 1.795e-06/3.997, allocations: 0 / 1.25 GB, free: 71.76 MB / 0.5574 GB Notification: Performance of Templates: time 0.6411/4.638, allocations: 108.4 MB / 1.356 GB, free: 113.4 MB / 0.573 GB