Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.74e-05, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07728/0.07733, allocations: 44.5 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.4526, allocations: 94.64 MB / 394.5 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/0.453, allocations: 89.38 kB / 394.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.376/0.829, allocations: 97.18 MB / 491.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.8291, allocations: 0 / 491.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002618/0.8294, allocations: 88 kB / 491.9 MB, free: 11.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.0153/0.8447, allocations: 4.67 MB / 496.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8448, allocations: 16.03 kB / 496.6 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02436/0.8691, allocations: 4.498 MB / 0.4893 GB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/0.8856, allocations: 5.05 MB / 0.4943 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000475/0.8861, allocations: 365.4 kB / 0.4946 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.8881, allocations: 467.9 kB / 0.4951 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2583/1.146, allocations: 11.89 MB / 0.5067 GB, free: 68.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/1.147, allocations: 57.06 kB / 0.5067 GB, free: 68.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/1.148, allocations: 232.2 kB / 0.5069 GB, free: 68.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002416/1.151, allocations: 1.193 MB / 0.5081 GB, free: 68.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02639/1.177, allocations: 9.635 MB / 0.5175 GB, free: 68.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06402/1.241, allocations: 52.86 MB / 0.5691 GB, free: 37.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/1.257, allocations: 5.157 MB / 0.5742 GB, free: 36.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004076/1.262, allocations: 2.616 MB / 0.5767 GB, free: 35.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01493/1.276, allocations: 8.036 MB / 0.5846 GB, free: 31.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.277, allocations: 54.25 kB / 0.5846 GB, free: 31.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=216): time 7.437e-06/1.277, allocations: 3.938 kB / 0.5846 GB, free: 31.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.05614/1.333, allocations: 16.68 MB / 0.6009 GB, free: 25.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/1.333, allocations: 184.7 kB / 0.6011 GB, free: 25.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008162/1.341, allocations: 4.161 MB / 0.6052 GB, free: 23.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004646/1.342, allocations: 57.88 kB / 0.6052 GB, free: 23.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002714/1.344, allocations: 3.417 MB / 0.6086 GB, free: 21.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.345, allocations: 0.89 MB / 0.6094 GB, free: 20.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005949/1.346, allocations: 129.6 kB / 0.6095 GB, free: 20.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004304/1.346, allocations: 0.5854 MB / 0.6101 GB, free: 19.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005015/1.352, allocations: 2.45 MB / 0.6125 GB, free: 18.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006836/1.358, allocations: 6.281 MB / 0.6186 GB, free: 10.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007178/1.366, allocations: 3.928 MB / 0.6225 GB, free: 7.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.366, allocations: 46.44 kB / 0.6225 GB, free: 7.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02063/1.386, allocations: 8.984 MB / 0.6313 GB, free: 15.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.387, allocations: 64.97 kB / 0.6314 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/1.387, allocations: 139.5 kB / 0.6315 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002948/1.39, allocations: 0.918 MB / 0.6324 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007607/1.397, allocations: 1.596 MB / 0.6339 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.408, allocations: 5.769 MB / 0.6396 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0068/1.415, allocations: 385.5 kB / 0.6399 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.416, allocations: 398.5 kB / 0.6403 GB, free: 7.445 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001419/1.418, allocations: 0.6072 MB / 0.6409 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.419, allocations: 418.4 kB / 0.6413 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.429, allocations: 4.25 MB / 0.6455 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-05/1.43, allocations: 24.86 kB / 0.6455 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/1.43, allocations: 4 kB / 0.6455 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-05/1.43, allocations: 14.41 kB / 0.6455 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02689/1.457, allocations: 10.41 MB / 0.6557 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-05/1.457, allocations: 4 kB / 0.6557 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00303/1.46, allocations: 473.7 kB / 0.6561 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/1.462, allocations: 0.7179 MB / 0.6568 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/1.463, allocations: 44 kB / 0.6569 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009842/1.472, allocations: 5.306 MB / 0.6621 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.473, allocations: 15.69 kB / 0.6621 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2816/1.754, allocations: 8.299 MB / 0.6702 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002752/1.757, allocations: 0.8173 MB / 0.671 GB, free: 91.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/1.758, allocations: 45.38 kB / 0.671 GB, free: 91.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.761, allocations: 145.7 kB / 0.6712 GB, free: 91.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005478/1.762, allocations: 145.1 kB / 0.6713 GB, free: 91.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/1.762, allocations: 66.55 kB / 0.6714 GB, free: 91.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007302/1.769, allocations: 2.965 MB / 0.6743 GB, free: 91.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.198e-06/1.769, allocations: 1.219 kB / 0.6743 GB, free: 91.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007462/1.777, allocations: 1.147 MB / 0.6754 GB, free: 91.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006258/1.777, allocations: 195.1 kB / 0.6756 GB, free: 91.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01146/1.789, allocations: 5.835 MB / 0.6813 GB, free: 91.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.789, allocations: 3.969 kB / 0.6813 GB, free: 91.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004489/1.794, allocations: 2.199 MB / 0.6834 GB, free: 91.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/1.797, allocations: 480 kB / 0.6839 GB, free: 91.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.817, allocations: 9.228 MB / 0.6929 GB, free: 89.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006416/1.823, allocations: 3.766 MB / 0.6966 GB, free: 88.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007619/1.831, allocations: 2.213 MB / 0.6987 GB, free: 88.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/1.832, allocations: 293.8 kB / 0.699 GB, free: 88.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.613e-06/1.832, allocations: 0 / 0.699 GB, free: 88.38 MB / 426.7 MB Notification: Performance of Templates: time 0.1101/1.942, allocations: 41.12 MB / 0.7392 GB, free: 85.18 MB / 426.7 MB