Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.948e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3236, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.4956, allocations: 110.1 MB / 492.3 MB, free: 14.36 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4959, allocations: 79.95 kB / 492.4 MB, free: 14.29 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7887/1.285, allocations: 149.3 MB / 0.6267 GB, free: 47.84 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.318e-06/1.285, allocations: 4 kB / 0.6267 GB, free: 47.84 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003943/1.285, allocations: 148 kB / 0.6268 GB, free: 47.7 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02245/1.307, allocations: 7.394 MB / 0.634 GB, free: 40.22 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.308, allocations: 8.031 kB / 0.634 GB, free: 40.21 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03852/1.346, allocations: 7.322 MB / 0.6412 GB, free: 32.87 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/1.368, allocations: 7.897 MB / 0.6489 GB, free: 24.89 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/1.369, allocations: 0.5855 MB / 0.6495 GB, free: 24.3 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003193/1.372, allocations: 0.773 MB / 0.6502 GB, free: 23.53 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04676/1.419, allocations: 18.76 MB / 0.6686 GB, free: 3.254 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000437/1.42, allocations: 95.14 kB / 0.6686 GB, free: 3.16 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003034/1.423, allocations: 371.8 kB / 0.669 GB, free: 2.797 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/1.426, allocations: 1.833 MB / 0.6708 GB, free: 0.957 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04417/1.47, allocations: 15.07 MB / 0.6855 GB, free: 1.863 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7401/2.21, allocations: 81.83 MB / 0.7654 GB, free: 47.43 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03048/2.241, allocations: 8.619 MB / 0.7738 GB, free: 46.73 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007572/2.248, allocations: 4.617 MB / 0.7784 GB, free: 46.68 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02399/2.272, allocations: 11.7 MB / 0.7898 GB, free: 44.63 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/2.272, allocations: 81.16 kB / 0.7899 GB, free: 44.59 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=347): time 8.094e-06/2.272, allocations: 0 / 0.7899 GB, free: 44.59 MB / 0.4949 GB Notification: Performance of matching and sorting (n=389): time 0.113/2.385, allocations: 31.51 MB / 0.8206 GB, free: 36.97 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/2.386, allocations: 244.9 kB / 0.8209 GB, free: 36.71 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01492/2.401, allocations: 6.517 MB / 0.8272 GB, free: 34.46 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008291/2.401, allocations: 88.03 kB / 0.8273 GB, free: 34.39 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004334/2.406, allocations: 5.284 MB / 0.8325 GB, free: 30.33 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/2.408, allocations: 1.444 MB / 0.8339 GB, free: 29.26 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/2.409, allocations: 201.2 kB / 0.8341 GB, free: 29.11 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0008013/2.41, allocations: 0.7219 MB / 0.8348 GB, free: 28.62 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008712/2.419, allocations: 4.026 MB / 0.8387 GB, free: 27.23 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01202/2.431, allocations: 9.553 MB / 0.848 GB, free: 18.41 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/2.443, allocations: 6.164 MB / 0.8541 GB, free: 13.94 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001789/2.443, allocations: 56 kB / 0.8541 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.03442/2.478, allocations: 14.43 MB / 0.8682 GB, free: 2.023 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.478, allocations: 91.42 kB / 0.8683 GB, free: 1.938 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/2.478, allocations: 196 kB / 0.8685 GB, free: 1.746 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005483/2.484, allocations: 1.726 MB / 0.8702 GB, free: 452 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/2.496, allocations: 2.434 MB / 0.8725 GB, free: 14.39 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/2.518, allocations: 11.41 MB / 0.8837 GB, free: 4.121 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.529, allocations: 0.5744 MB / 0.8843 GB, free: 3.641 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/2.531, allocations: 0.574 MB / 0.8848 GB, free: 3.086 MB / 0.5106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[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 (1228): * Single equations (assignments): 1223 * 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.003475/2.535, allocations: 0.8592 MB / 0.8857 GB, free: 2.23 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/2.537, allocations: 0.6518 MB / 0.8863 GB, free: 1.57 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02635/2.563, allocations: 8.411 MB / 0.8945 GB, free: 11.62 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-05/2.563, allocations: 40 kB / 0.8945 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.684e-05/2.563, allocations: 12 kB / 0.8946 GB, free: 11.57 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.448e-05/2.563, allocations: 22.39 kB / 0.8946 GB, free: 11.57 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0491/2.612, allocations: 18.2 MB / 0.9123 GB, free: 11.92 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.888e-05/2.612, allocations: 11.38 kB / 0.9124 GB, free: 11.91 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005455/2.618, allocations: 0.7683 MB / 0.9131 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005467/2.623, allocations: 1.425 MB / 0.9145 GB, free: 9.715 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008576/2.624, allocations: 74.81 kB / 0.9146 GB, free: 9.645 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3401/2.964, allocations: 10.59 MB / 0.9249 GB, free: 133.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/2.964, allocations: 15.28 kB / 0.9249 GB, free: 133.5 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02706/2.992, allocations: 14.37 MB / 0.939 GB, free: 130.9 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004215/2.996, allocations: 1.316 MB / 0.9402 GB, free: 130.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00198/2.998, allocations: 73.78 kB / 0.9403 GB, free: 130.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005244/3.003, allocations: 261.6 kB / 0.9406 GB, free: 130.8 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/3.004, allocations: 238.1 kB / 0.9408 GB, free: 130.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000512/3.005, allocations: 103.6 kB / 0.9409 GB, free: 130.8 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01111/3.016, allocations: 4.667 MB / 0.9454 GB, free: 130.6 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.155e-06/3.016, allocations: 0 / 0.9454 GB, free: 130.6 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01162/3.028, allocations: 1.874 MB / 0.9473 GB, free: 130.6 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.001109/3.029, allocations: 238.5 kB / 0.9475 GB, free: 130.5 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02275/3.052, allocations: 9.639 MB / 0.9569 GB, free: 130.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/3.052, allocations: 0 / 0.9569 GB, free: 130.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01432/3.066, allocations: 3.925 MB / 0.9607 GB, free: 129.9 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009478/3.075, allocations: 0.7709 MB / 0.9615 GB, free: 129.9 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0576/3.133, allocations: 15.15 MB / 0.9763 GB, free: 126.4 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01919/3.152, allocations: 5.65 MB / 0.9818 GB, free: 124.6 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01973/3.172, allocations: 3.33 MB / 0.9851 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002924/3.175, allocations: 452.1 kB / 0.9855 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of SimCode: time 2.141e-06/3.175, allocations: 0 / 0.9855 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of Templates: time 0.1804/3.356, allocations: 69.71 MB / 1.054 GB, free: 78.23 MB / 0.5418 GB