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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.093e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0841/0.08416, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.4938, allocations: 100.2 MB / 417.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/0.4942, allocations: 83.64 kB / 417.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3767/0.8709, allocations: 97.65 MB / 0.5028 GB, free: 9.086 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.8709, allocations: 0 / 0.5028 GB, free: 9.086 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002699/0.8712, allocations: 92 kB / 0.5029 GB, free: 8.996 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01442/0.8857, allocations: 4.677 MB / 0.5074 GB, free: 4.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8857, allocations: 8.031 kB / 0.5074 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3474/1.233, allocations: 4.497 MB / 0.5118 GB, free: 91.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/1.25, allocations: 5.053 MB / 0.5168 GB, free: 91.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/1.25, allocations: 359.7 kB / 0.5171 GB, free: 91.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/1.252, allocations: 481.5 kB / 0.5176 GB, free: 91.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/1.278, allocations: 11.91 MB / 0.5292 GB, free: 88.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/1.278, allocations: 58.56 kB / 0.5293 GB, free: 88.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008998/1.279, allocations: 230 kB / 0.5295 GB, free: 88.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00185/1.281, allocations: 1.201 MB / 0.5307 GB, free: 88.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02376/1.305, allocations: 9.638 MB / 0.5401 GB, free: 88.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0635/1.368, allocations: 52.97 MB / 0.5918 GB, free: 53.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.385, allocations: 5.155 MB / 0.5968 GB, free: 51.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004172/1.39, allocations: 2.621 MB / 0.5994 GB, free: 50.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01517/1.405, allocations: 8.033 MB / 0.6072 GB, free: 46.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.405, allocations: 57.47 kB / 0.6073 GB, free: 46.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=216): time 6.853e-06/1.405, allocations: 0 / 0.6073 GB, free: 46.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.05502/1.46, allocations: 16.7 MB / 0.6236 GB, free: 35.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/1.46, allocations: 180.2 kB / 0.6238 GB, free: 35.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008001/1.468, allocations: 4.188 MB / 0.6279 GB, free: 31.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004397/1.468, allocations: 53.7 kB / 0.6279 GB, free: 31.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/1.471, allocations: 3.438 MB / 0.6313 GB, free: 28.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.472, allocations: 0.8858 MB / 0.6321 GB, free: 27.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000575/1.473, allocations: 136 kB / 0.6323 GB, free: 27.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003841/1.473, allocations: 0.5887 MB / 0.6328 GB, free: 27.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004859/1.478, allocations: 2.447 MB / 0.6352 GB, free: 24.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006871/1.485, allocations: 6.3 MB / 0.6414 GB, free: 17.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006906/1.492, allocations: 3.935 MB / 0.6452 GB, free: 13.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-05/1.492, allocations: 40 kB / 0.6453 GB, free: 13.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01975/1.512, allocations: 9.004 MB / 0.6541 GB, free: 5.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.807e-05/1.512, allocations: 66.03 kB / 0.6541 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/1.512, allocations: 140 kB / 0.6542 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/1.515, allocations: 0.9148 MB / 0.6551 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006714/1.521, allocations: 1.597 MB / 0.6567 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009422/1.531, allocations: 5.811 MB / 0.6624 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006412/1.537, allocations: 378.7 kB / 0.6627 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.538, allocations: 406.8 kB / 0.6631 GB, free: 13.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (819): * Single equations (assignments): 815 * 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.00136/1.54, allocations: 0.6112 MB / 0.6637 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009205/1.541, allocations: 414.6 kB / 0.6641 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009596/1.55, allocations: 4.247 MB / 0.6683 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/1.55, allocations: 27.95 kB / 0.6683 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.55, allocations: 4 kB / 0.6683 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/1.55, allocations: 14.45 kB / 0.6683 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2682/1.819, allocations: 10.33 MB / 0.6784 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-05/1.819, allocations: 8.719 kB / 0.6784 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003201/1.822, allocations: 474.1 kB / 0.6789 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002765/1.825, allocations: 0.7179 MB / 0.6796 GB, free: 94.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004351/1.825, allocations: 48.75 kB / 0.6796 GB, free: 94.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009354/1.835, allocations: 5.315 MB / 0.6848 GB, free: 93.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/1.835, allocations: 8.25 kB / 0.6848 GB, free: 93.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/1.855, allocations: 8.229 MB / 0.6928 GB, free: 91.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00416/1.86, allocations: 0.8174 MB / 0.6936 GB, free: 91.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001878/1.862, allocations: 48.66 kB / 0.6937 GB, free: 91.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00518/1.867, allocations: 142.2 kB / 0.6938 GB, free: 91.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008239/1.868, allocations: 147.3 kB / 0.694 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000458/1.868, allocations: 67.92 kB / 0.694 GB, free: 91.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009924/1.878, allocations: 2.985 MB / 0.6969 GB, free: 91.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-06/1.878, allocations: 2.125 kB / 0.6969 GB, free: 91.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01238/1.891, allocations: 1.154 MB / 0.6981 GB, free: 91.19 MB / 442.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.001053/1.892, allocations: 192 kB / 0.6982 GB, free: 91.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0207/1.912, allocations: 5.848 MB / 0.704 GB, free: 90.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.912, allocations: 3.906 kB / 0.704 GB, free: 90.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004694/1.917, allocations: 2.205 MB / 0.7061 GB, free: 90.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/1.92, allocations: 485.6 kB / 0.7066 GB, free: 90.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.94, allocations: 9.239 MB / 0.7156 GB, free: 88.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006199/1.946, allocations: 3.777 MB / 0.7193 GB, free: 88.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007513/1.954, allocations: 2.221 MB / 0.7215 GB, free: 88.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.956, allocations: 291.9 kB / 0.7217 GB, free: 88.11 MB / 442.7 MB Notification: Performance of SimCode: time 2.07e-06/1.956, allocations: 3.688 kB / 0.7217 GB, free: 88.11 MB / 442.7 MB Notification: Performance of Templates: time 0.1086/2.064, allocations: 41.27 MB / 0.762 GB, free: 78.81 MB / 442.7 MB