Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,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",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.633e-05, allocations: 7.984 kB / 304.9 MB, free: 5.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 54.85 MB / 359.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.4761, allocations: 101.4 MB / 461.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4764, allocations: 76.73 kB / 461.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8131/1.289, allocations: 132 MB / 0.5793 GB, free: 98.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.101e-06/1.29, allocations: 0 / 0.5793 GB, free: 98.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003644/1.29, allocations: 135.8 kB / 0.5795 GB, free: 98.9 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.0205/1.31, allocations: 6.666 MB / 0.586 GB, free: 95.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.31, allocations: 11.12 kB / 0.586 GB, free: 95.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03721/1.348, allocations: 7.138 MB / 0.593 GB, free: 93.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0218/1.37, allocations: 7.43 MB / 0.6002 GB, free: 88.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004969/1.37, allocations: 0.4994 MB / 0.6007 GB, free: 88.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/1.373, allocations: 0.6689 MB / 0.6014 GB, free: 87.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/1.409, allocations: 16 MB / 0.617 GB, free: 70.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003422/1.409, allocations: 91.17 kB / 0.6171 GB, free: 70.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/1.411, allocations: 326 kB / 0.6174 GB, free: 70.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002513/1.414, allocations: 1.555 MB / 0.6189 GB, free: 68.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03047/1.444, allocations: 12.66 MB / 0.6313 GB, free: 55.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4449/1.889, allocations: 72.98 MB / 0.7025 GB, free: 94.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02206/1.911, allocations: 6.428 MB / 0.7088 GB, free: 93.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006486/1.918, allocations: 3.671 MB / 0.7124 GB, free: 93.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01922/1.937, allocations: 9.294 MB / 0.7215 GB, free: 92.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/1.937, allocations: 58.5 kB / 0.7215 GB, free: 92.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=269): time 7.329e-06/1.937, allocations: 4.312 kB / 0.7215 GB, free: 92.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=311): time 0.08743/2.025, allocations: 25.86 MB / 0.7468 GB, free: 85.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/2.025, allocations: 242.3 kB / 0.747 GB, free: 85.47 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/2.038, allocations: 6.097 MB / 0.753 GB, free: 83.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006329/2.038, allocations: 72.7 kB / 0.753 GB, free: 83.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003651/2.042, allocations: 4.836 MB / 0.7578 GB, free: 79.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/2.043, allocations: 1.18 MB / 0.7589 GB, free: 78.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008579/2.044, allocations: 177.3 kB / 0.7591 GB, free: 78.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000538/2.045, allocations: 0.6865 MB / 0.7597 GB, free: 78.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01144/2.056, allocations: 3.494 MB / 0.7632 GB, free: 76.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01613/2.073, allocations: 8.718 MB / 0.7717 GB, free: 68.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/2.083, allocations: 5.484 MB / 0.777 GB, free: 66.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001585/2.083, allocations: 52.72 kB / 0.7771 GB, free: 66.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03299/2.116, allocations: 13.01 MB / 0.7898 GB, free: 62.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/2.117, allocations: 84 kB / 0.7899 GB, free: 62.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003424/2.117, allocations: 188.9 kB / 0.79 GB, free: 62.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009042/2.126, allocations: 1.705 MB / 0.7917 GB, free: 60.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01741/2.144, allocations: 2.128 MB / 0.7938 GB, free: 58.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02503/2.169, allocations: 11.35 MB / 0.8049 GB, free: 48.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009434/2.178, allocations: 0.5351 MB / 0.8054 GB, free: 48.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/2.18, allocations: 0.5432 MB / 0.8059 GB, free: 47.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * Number of states: 0 () * Number of discrete variables: 60 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1104): * Single equations (assignments): 1099 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001959/2.182, allocations: 0.7867 MB / 0.8067 GB, free: 46.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/2.183, allocations: 0.5862 MB / 0.8073 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/2.198, allocations: 6.703 MB / 0.8138 GB, free: 40.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.699e-05/2.198, allocations: 33.7 kB / 0.8138 GB, free: 40.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-05/2.198, allocations: 8 kB / 0.8139 GB, free: 40.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.126e-05/2.198, allocations: 15.47 kB / 0.8139 GB, free: 40.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04274/2.241, allocations: 15.12 MB / 0.8286 GB, free: 28.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.88e-05/2.241, allocations: 4 kB / 0.8286 GB, free: 28.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003666/2.245, allocations: 0.5674 MB / 0.8292 GB, free: 27.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004701/2.25, allocations: 1.412 MB / 0.8306 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007247/2.25, allocations: 55.98 kB / 0.8306 GB, free: 26.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/2.266, allocations: 10.49 MB / 0.8409 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/2.266, allocations: 7.938 kB / 0.8409 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/2.287, allocations: 11.73 MB / 0.8523 GB, free: 3.465 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004417/2.291, allocations: 1.153 MB / 0.8535 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/2.293, allocations: 63.12 kB / 0.8535 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004547/2.298, allocations: 211.7 kB / 0.8537 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009698/2.299, allocations: 189.9 kB / 0.8539 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000415/2.299, allocations: 89.05 kB / 0.854 GB, free: 1.754 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01115/2.31, allocations: 4.345 MB / 0.8582 GB, free: 13.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.714e-06/2.31, allocations: 7.938 kB / 0.8582 GB, free: 13.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01979/2.33, allocations: 1.652 MB / 0.8598 GB, free: 11.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001469/2.332, allocations: 202.8 kB / 0.86 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01924/2.351, allocations: 8.396 MB / 0.8682 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/2.351, allocations: 0 / 0.8682 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007883/2.359, allocations: 3.298 MB / 0.8715 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00526/2.364, allocations: 0.7048 MB / 0.8721 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3686/2.733, allocations: 13.17 MB / 0.885 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01845/2.751, allocations: 5.029 MB / 0.8899 GB, free: 123 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01179/2.763, allocations: 2.968 MB / 0.8928 GB, free: 123 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/2.766, allocations: 410.4 kB / 0.8932 GB, free: 123 MB / 0.4948 GB Notification: Performance of SimCode: time 1.858e-06/2.766, allocations: 0 / 0.8932 GB, free: 123 MB / 0.4948 GB Notification: Performance of Templates: time 0.1656/2.931, allocations: 62.56 MB / 0.9543 GB, free: 107.3 MB / 0.4948 GB