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_4.0.0_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.951e-05/4.977e-05, allocations: 4 kB / 348.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3566, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.5248, allocations: 108.9 MB / 0.507 GB, free: 13.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.525, allocations: 75.95 kB / 0.5071 GB, free: 13.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7707/1.296, allocations: 125.9 MB / 0.63 GB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.463e-06/1.296, allocations: 0 / 0.63 GB, free: 11.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003614/1.296, allocations: 128 kB / 0.6301 GB, free: 10.95 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01994/1.316, allocations: 6.346 MB / 0.6363 GB, free: 4.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.316, allocations: 8.031 kB / 0.6363 GB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03601/1.352, allocations: 7.07 MB / 0.6432 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/1.375, allocations: 6.953 MB / 0.65 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006743/1.376, allocations: 476.6 kB / 0.6505 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/1.378, allocations: 0.6247 MB / 0.6511 GB, free: 5.285 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04064/1.419, allocations: 15.08 MB / 0.6658 GB, free: 4.738 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003629/1.419, allocations: 91.12 kB / 0.6659 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/1.422, allocations: 303.9 kB / 0.6662 GB, free: 4.352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002813/1.424, allocations: 1.427 MB / 0.6676 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03282/1.457, allocations: 11.86 MB / 0.6792 GB, free: 7.039 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4907/1.948, allocations: 69.87 MB / 0.7474 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/1.969, allocations: 6.071 MB / 0.7534 GB, free: 58.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005402/1.974, allocations: 3.379 MB / 0.7566 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01684/1.991, allocations: 8.336 MB / 0.7648 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.991, allocations: 59.81 kB / 0.7648 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 6.873e-06/1.991, allocations: 0 / 0.7648 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=278): time 0.08506/2.076, allocations: 24.32 MB / 0.7886 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/2.076, allocations: 237.7 kB / 0.7888 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/2.088, allocations: 5.91 MB / 0.7946 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005754/2.089, allocations: 70.42 kB / 0.7947 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003556/2.092, allocations: 4.577 MB / 0.7991 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/2.094, allocations: 1.059 MB / 0.8002 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007701/2.095, allocations: 174 kB / 0.8003 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000487/2.095, allocations: 0.6655 MB / 0.801 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006783/2.102, allocations: 3.175 MB / 0.8041 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009375/2.111, allocations: 8.205 MB / 0.8121 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009576/2.121, allocations: 5.066 MB / 0.817 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/2.121, allocations: 48.84 kB / 0.8171 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.0287/2.15, allocations: 12.16 MB / 0.829 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/2.15, allocations: 86.44 kB / 0.829 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/2.15, allocations: 176 kB / 0.8292 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/2.155, allocations: 1.692 MB / 0.8309 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008579/2.164, allocations: 1.981 MB / 0.8328 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/2.183, allocations: 11.35 MB / 0.8439 GB, free: 18.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/2.199, allocations: 0.4885 MB / 0.8444 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0028/2.202, allocations: 0.5101 MB / 0.8449 GB, free: 17.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 67 (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.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1026 * 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.004165/2.206, allocations: 0.7698 MB / 0.8456 GB, free: 16.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/2.209, allocations: 0.5666 MB / 0.8462 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/2.234, allocations: 6.068 MB / 0.8521 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.753e-05/2.234, allocations: 32 kB / 0.8521 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.471e-05/2.234, allocations: 8 kB / 0.8521 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.07e-05/2.234, allocations: 17.09 kB / 0.8521 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05491/2.289, allocations: 13.9 MB / 0.8657 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-05/2.289, allocations: 4 kB / 0.8657 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007134/2.296, allocations: 0.5173 MB / 0.8662 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009694/2.306, allocations: 1.411 MB / 0.8676 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008801/2.307, allocations: 48 kB / 0.8676 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03399/2.341, allocations: 10.55 MB / 0.878 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.366e-05/2.341, allocations: 11.03 kB / 0.878 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04562/2.387, allocations: 10.93 MB / 0.8886 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/2.39, allocations: 0.6428 MB / 0.8893 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003019/2.394, allocations: 48 kB / 0.8893 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007346/2.401, allocations: 182.4 kB / 0.8895 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/2.402, allocations: 178.9 kB / 0.8897 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006927/2.403, allocations: 71.7 kB / 0.8897 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01669/2.42, allocations: 4.21 MB / 0.8938 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.831e-06/2.42, allocations: 0 / 0.8938 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01245/2.432, allocations: 1.544 MB / 0.8953 GB, free: 5.926 MB / 0.5417 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 (220): * Single equations (assignments): 215 * 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.0008867/2.433, allocations: 202.9 kB / 0.8955 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01747/2.451, allocations: 7.676 MB / 0.903 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.001e-06/2.451, allocations: 0 / 0.903 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007707/2.459, allocations: 3.048 MB / 0.906 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/2.464, allocations: 0.7049 MB / 0.9067 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/2.497, allocations: 12.29 MB / 0.9187 GB, free: 14.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/2.508, allocations: 4.764 MB / 0.9234 GB, free: 9.285 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01108/2.519, allocations: 2.789 MB / 0.9261 GB, free: 6.508 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0022/2.522, allocations: 387.4 kB / 0.9264 GB, free: 6.129 MB / 0.573 GB Notification: Performance of SimCode: time 1.992e-06/2.522, allocations: 3.656 kB / 0.9264 GB, free: 6.129 MB / 0.573 GB Notification: Performance of Templates: time 0.5332/3.055, allocations: 59.35 MB / 0.9844 GB, free: 154.4 MB / 0.573 GB