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.3_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadModel(ModelicaTest): time 2.497/2.497, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.373e-05, allocations: 7.938 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3476, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5114, allocations: 107.6 MB / 489.8 MB, free: 0.9414 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.5117, allocations: 75.97 kB / 489.8 MB, free: 0.8672 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8005/1.312, allocations: 132.5 MB / 0.6078 GB, free: 67.21 MB / 458.8 MB Notification: Performance of FrontEnd: time 4.19e-06/1.312, allocations: 3.984 kB / 0.6078 GB, free: 67.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003612/1.313, allocations: 136 kB / 0.6079 GB, free: 67.07 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02275/1.335, allocations: 6.661 MB / 0.6144 GB, free: 60.33 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/1.336, allocations: 8.031 kB / 0.6144 GB, free: 60.32 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07801/1.414, allocations: 7.151 MB / 0.6214 GB, free: 53.15 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0231/1.437, allocations: 7.462 MB / 0.6287 GB, free: 45.61 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00057/1.437, allocations: 0.5014 MB / 0.6292 GB, free: 45.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/1.44, allocations: 0.6676 MB / 0.6299 GB, free: 44.43 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.036/1.476, allocations: 16 MB / 0.6455 GB, free: 26.94 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003703/1.476, allocations: 95.11 kB / 0.6456 GB, free: 26.84 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002347/1.479, allocations: 327.8 kB / 0.6459 GB, free: 26.52 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002483/1.481, allocations: 1.553 MB / 0.6474 GB, free: 24.96 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02997/1.511, allocations: 12.68 MB / 0.6598 GB, free: 12.25 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4401/1.951, allocations: 73.05 MB / 0.7311 GB, free: 65.81 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/1.972, allocations: 6.44 MB / 0.7374 GB, free: 65.12 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009755/1.982, allocations: 3.683 MB / 0.741 GB, free: 65.07 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03174/2.013, allocations: 9.28 MB / 0.7501 GB, free: 63.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.535e-05/2.014, allocations: 62.62 kB / 0.7501 GB, free: 63.56 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=269): time 1.25e-05/2.014, allocations: 0 / 0.7501 GB, free: 63.56 MB / 0.4949 GB Notification: Performance of matching and sorting (n=311): time 0.09544/2.109, allocations: 25.89 MB / 0.7754 GB, free: 58.25 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/2.109, allocations: 237.8 kB / 0.7756 GB, free: 58 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/2.122, allocations: 6.127 MB / 0.7816 GB, free: 57.06 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006769/2.123, allocations: 71.11 kB / 0.7817 GB, free: 56.99 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003781/2.126, allocations: 4.848 MB / 0.7864 GB, free: 53.26 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/2.128, allocations: 1.179 MB / 0.7876 GB, free: 52.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000857/2.129, allocations: 181.3 kB / 0.7878 GB, free: 52.26 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005255/2.129, allocations: 0.6886 MB / 0.7884 GB, free: 51.79 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007106/2.136, allocations: 3.494 MB / 0.7918 GB, free: 50.59 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/2.146, allocations: 8.741 MB / 0.8004 GB, free: 42.33 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/2.157, allocations: 5.5 MB / 0.8057 GB, free: 40.7 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/2.157, allocations: 50.69 kB / 0.8058 GB, free: 40.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.03674/2.194, allocations: 13.03 MB / 0.8185 GB, free: 32.76 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/2.194, allocations: 87.34 kB / 0.8186 GB, free: 32.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003784/2.194, allocations: 184 kB / 0.8188 GB, free: 32.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009629/2.204, allocations: 1.712 MB / 0.8204 GB, free: 31.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/2.221, allocations: 2.131 MB / 0.8225 GB, free: 29.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/2.24, allocations: 11.35 MB / 0.8336 GB, free: 19.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009746/2.25, allocations: 0.5326 MB / 0.8341 GB, free: 18.76 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001996/2.252, allocations: 0.5421 MB / 0.8347 GB, free: 18.24 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 853 * Number of states: 0 () * Number of discrete variables: 63 (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.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 (1107): * Single equations (assignments): 1102 * 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.002141/2.254, allocations: 0.7976 MB / 0.8354 GB, free: 17.44 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.255, allocations: 0.5973 MB / 0.836 GB, free: 16.84 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/2.271, allocations: 6.69 MB / 0.8426 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.775e-05/2.271, allocations: 34.34 kB / 0.8426 GB, free: 11.39 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/2.271, allocations: 12 kB / 0.8426 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.617e-05/2.271, allocations: 13.36 kB / 0.8426 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07565/2.347, allocations: 15.24 MB / 0.8575 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.102e-05/2.347, allocations: 4 kB / 0.8575 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008647/2.355, allocations: 0.5649 MB / 0.8581 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007205/2.363, allocations: 1.408 MB / 0.8594 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007157/2.363, allocations: 56 kB / 0.8595 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/2.383, allocations: 10.49 MB / 0.8697 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/2.384, allocations: 7.938 kB / 0.8697 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/2.409, allocations: 11.74 MB / 0.8812 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004284/2.414, allocations: 1.157 MB / 0.8823 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/2.416, allocations: 52 kB / 0.8824 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004626/2.42, allocations: 211.1 kB / 0.8826 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/2.421, allocations: 197.9 kB / 0.8828 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/2.422, allocations: 84 kB / 0.8829 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01165/2.433, allocations: 4.361 MB / 0.8871 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.373e-06/2.434, allocations: 0 / 0.8871 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01098/2.445, allocations: 1.652 MB / 0.8887 GB, free: 396 kB / 0.5261 GB 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.0009488/2.445, allocations: 210.2 kB / 0.8889 GB, free: 184 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01898/2.464, allocations: 8.407 MB / 0.8971 GB, free: 7.781 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.351e-06/2.465, allocations: 0 / 0.8971 GB, free: 7.781 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.00805/2.473, allocations: 3.297 MB / 0.9004 GB, free: 4.461 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/2.478, allocations: 0.7152 MB / 0.9011 GB, free: 3.777 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03441/2.512, allocations: 13.2 MB / 0.9139 GB, free: 6.531 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01216/2.524, allocations: 5.031 MB / 0.9189 GB, free: 1.5 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01224/2.537, allocations: 2.979 MB / 0.9218 GB, free: 14.53 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/2.539, allocations: 415.3 kB / 0.9222 GB, free: 14.13 MB / 0.573 GB Notification: Performance of SimCode: time 2.192e-06/2.539, allocations: 0 / 0.9222 GB, free: 14.13 MB / 0.573 GB Notification: Performance of Templates: time 0.4802/3.019, allocations: 62.66 MB / 0.9834 GB, free: 175 MB / 0.573 GB