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.1_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadModel(ModelicaTest): time 1.866/1.866, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.939e-05, allocations: 4 kB / 273.1 MB, free: 244 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08438, allocations: 48.7 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.448, allocations: 94.6 MB / 416.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4483, allocations: 78.92 kB / 416.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7451/1.193, allocations: 131.8 MB / 0.5354 GB, free: 89.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.809e-06/1.193, allocations: 0 / 0.5354 GB, free: 89.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004057/1.194, allocations: 133.3 kB / 0.5355 GB, free: 89.1 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: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.02071/1.215, allocations: 6.654 MB / 0.542 GB, free: 86.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.215, allocations: 11.34 kB / 0.542 GB, free: 86.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03898/1.254, allocations: 7.141 MB / 0.549 GB, free: 86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02113/1.275, allocations: 7.43 MB / 0.5563 GB, free: 84.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004687/1.275, allocations: 0.5046 MB / 0.5568 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002705/1.278, allocations: 0.6596 MB / 0.5574 GB, free: 84.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03853/1.317, allocations: 15.97 MB / 0.573 GB, free: 76.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003011/1.317, allocations: 92.62 kB / 0.5731 GB, free: 76.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/1.319, allocations: 327.8 kB / 0.5734 GB, free: 75.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002425/1.321, allocations: 1.55 MB / 0.5749 GB, free: 75.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/1.353, allocations: 12.66 MB / 0.5873 GB, free: 65.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08865/1.441, allocations: 72.95 MB / 0.6585 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02185/1.463, allocations: 6.418 MB / 0.6648 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2576/1.721, allocations: 3.675 MB / 0.6684 GB, free: 96.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02083/1.742, allocations: 9.277 MB / 0.6774 GB, free: 95.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/1.742, allocations: 63.83 kB / 0.6775 GB, free: 95.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=269): time 8.351e-06/1.742, allocations: 3.844 kB / 0.6775 GB, free: 95.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=311): time 0.09083/1.833, allocations: 25.86 MB / 0.7028 GB, free: 90.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/1.833, allocations: 242.7 kB / 0.703 GB, free: 90.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.846, allocations: 6.098 MB / 0.7089 GB, free: 88.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006417/1.846, allocations: 70.27 kB / 0.709 GB, free: 88.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003791/1.85, allocations: 4.832 MB / 0.7137 GB, free: 84.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.852, allocations: 1.18 MB / 0.7149 GB, free: 83.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008191/1.853, allocations: 182.9 kB / 0.7151 GB, free: 83.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005283/1.853, allocations: 0.6849 MB / 0.7157 GB, free: 82.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00721/1.86, allocations: 3.489 MB / 0.7191 GB, free: 81.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/1.871, allocations: 8.722 MB / 0.7276 GB, free: 73.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.881, allocations: 5.476 MB / 0.733 GB, free: 71.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/1.881, allocations: 53.12 kB / 0.733 GB, free: 71.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03171/1.913, allocations: 13.01 MB / 0.7458 GB, free: 67.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/1.913, allocations: 88.94 kB / 0.7458 GB, free: 67.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/1.913, allocations: 183.5 kB / 0.746 GB, free: 67.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005242/1.918, allocations: 1.704 MB / 0.7477 GB, free: 67.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009683/1.928, allocations: 2.136 MB / 0.7498 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.945, allocations: 11.35 MB / 0.7608 GB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009568/1.955, allocations: 0.5302 MB / 0.7614 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/1.956, allocations: 0.5341 MB / 0.7619 GB, free: 56.89 MB / 442.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.001815/1.958, allocations: 0.7929 MB / 0.7627 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.96, allocations: 0.59 MB / 0.7632 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.974, allocations: 6.705 MB / 0.7698 GB, free: 50.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.696e-05/1.974, allocations: 32.86 kB / 0.7698 GB, free: 50.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/1.974, allocations: 8 kB / 0.7698 GB, free: 50.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-05/1.974, allocations: 18.33 kB / 0.7698 GB, free: 50.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03407/2.008, allocations: 15.12 MB / 0.7846 GB, free: 37.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/2.008, allocations: 4 kB / 0.7846 GB, free: 37.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003694/2.012, allocations: 0.5666 MB / 0.7852 GB, free: 37.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004515/2.016, allocations: 1.408 MB / 0.7865 GB, free: 36.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000658/2.017, allocations: 59.92 kB / 0.7866 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/2.032, allocations: 10.5 MB / 0.7968 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.324e-06/2.033, allocations: 4 kB / 0.7968 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/2.052, allocations: 11.73 MB / 0.8083 GB, free: 16.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003447/2.055, allocations: 1.16 MB / 0.8094 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/2.057, allocations: 55.95 kB / 0.8095 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/2.06, allocations: 219.5 kB / 0.8097 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000625/2.061, allocations: 185 kB / 0.8099 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003395/2.061, allocations: 81.97 kB / 0.81 GB, free: 14.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008612/2.07, allocations: 4.358 MB / 0.8142 GB, free: 10.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.07, allocations: 0 / 0.8142 GB, free: 10.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009833/2.08, allocations: 1.65 MB / 0.8158 GB, free: 9.117 MB / 442.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.0009871/2.081, allocations: 206.3 kB / 0.816 GB, free: 8.914 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01569/2.096, allocations: 8.397 MB / 0.8242 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/2.097, allocations: 0 / 0.8242 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007496/2.104, allocations: 3.297 MB / 0.8274 GB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2893/2.393, allocations: 0.7002 MB / 0.8281 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03301/2.426, allocations: 13.16 MB / 0.841 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/2.438, allocations: 5.038 MB / 0.8459 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01613/2.454, allocations: 2.962 MB / 0.8488 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003711/2.458, allocations: 408.8 kB / 0.8492 GB, free: 102.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.417e-06/2.458, allocations: 0 / 0.8492 GB, free: 102.1 MB / 458.7 MB Notification: Performance of Templates: time 0.1605/2.618, allocations: 62.55 MB / 0.9103 GB, free: 82.83 MB / 458.7 MB