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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.588/1.588, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.792e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.3456, allocations: 88.92 MB / 352.7 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3459, allocations: 83.95 kB / 352.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5276/0.8735, allocations: 97.09 MB / 449.9 MB, free: 23.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.212e-06/0.8735, allocations: 192 / 449.9 MB, free: 23.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001983/0.8738, allocations: 95.94 kB / 450 MB, free: 23.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01285/0.8866, allocations: 4.662 MB / 454.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8867, allocations: 8.031 kB / 454.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02229/0.909, allocations: 4.494 MB / 459.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.9229, allocations: 5.042 MB / 464.2 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.9233, allocations: 357.4 kB / 464.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.9251, allocations: 471.8 kB / 465 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02812/0.9533, allocations: 11.9 MB / 476.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.9535, allocations: 63.41 kB / 476.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/0.9551, allocations: 223.9 kB / 477.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.9574, allocations: 1.203 MB / 478.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02666/0.9841, allocations: 9.627 MB / 488 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2838/1.268, allocations: 52.83 MB / 0.5282 GB, free: 29.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/1.284, allocations: 5.163 MB / 0.5332 GB, free: 29.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004134/1.288, allocations: 2.611 MB / 0.5357 GB, free: 29.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/1.304, allocations: 8.037 MB / 0.5436 GB, free: 27.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.304, allocations: 56.61 kB / 0.5436 GB, free: 27.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=216): time 6.334e-06/1.304, allocations: 0 / 0.5436 GB, free: 27.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=237): time 0.05538/1.359, allocations: 16.68 MB / 0.5599 GB, free: 24.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/1.359, allocations: 181.4 kB / 0.5601 GB, free: 23.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007464/1.367, allocations: 4.151 MB / 0.5642 GB, free: 22.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004305/1.367, allocations: 64.02 kB / 0.5642 GB, free: 22.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/1.369, allocations: 3.417 MB / 0.5676 GB, free: 19.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009943/1.37, allocations: 0.8908 MB / 0.5684 GB, free: 19.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/1.371, allocations: 130.8 kB / 0.5686 GB, free: 19.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003688/1.371, allocations: 0.5841 MB / 0.5691 GB, free: 18.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/1.376, allocations: 2.444 MB / 0.5715 GB, free: 17.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/1.383, allocations: 6.281 MB / 0.5776 GB, free: 11.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007185/1.39, allocations: 3.919 MB / 0.5815 GB, free: 10.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.943e-05/1.39, allocations: 42 kB / 0.5815 GB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02022/1.41, allocations: 8.988 MB / 0.5903 GB, free: 5.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.41, allocations: 73.91 kB / 0.5904 GB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/1.411, allocations: 136 kB / 0.5905 GB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/1.413, allocations: 0.9136 MB / 0.5914 GB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006894/1.42, allocations: 1.598 MB / 0.5929 GB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/1.43, allocations: 5.795 MB / 0.5986 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006962/1.437, allocations: 381 kB / 0.599 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.438, allocations: 397.9 kB / 0.5993 GB, free: 13.51 MB / 362.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.002096/1.44, allocations: 0.5948 MB / 0.5999 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.441, allocations: 430.5 kB / 0.6003 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.452, allocations: 4.238 MB / 0.6045 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.204e-05/1.452, allocations: 27.75 kB / 0.6045 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.452, allocations: 8 kB / 0.6045 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.691e-05/1.452, allocations: 8.578 kB / 0.6045 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.478, allocations: 10.34 MB / 0.6146 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/1.478, allocations: 7.703 kB / 0.6146 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/1.481, allocations: 467.7 kB / 0.6151 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005247/1.486, allocations: 0.8596 MB / 0.6159 GB, free: 0 / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007597/1.487, allocations: 63.36 kB / 0.616 GB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009852/1.497, allocations: 5.322 MB / 0.6212 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/1.497, allocations: 11.94 kB / 0.6212 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.513, allocations: 8.224 MB / 0.6292 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.515, allocations: 0.8223 MB / 0.63 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008955/1.516, allocations: 42.97 kB / 0.63 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.519, allocations: 146.4 kB / 0.6302 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004633/1.519, allocations: 149.7 kB / 0.6303 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/1.519, allocations: 71.66 kB / 0.6304 GB, free: 2.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2727/1.792, allocations: 2.965 MB / 0.6333 GB, free: 88.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.693e-06/1.792, allocations: 0 / 0.6333 GB, free: 88.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007944/1.8, allocations: 1.144 MB / 0.6344 GB, free: 88.96 MB / 378.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.0006895/1.801, allocations: 197.6 kB / 0.6346 GB, free: 88.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.812, allocations: 5.836 MB / 0.6403 GB, free: 88.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.359e-06/1.812, allocations: 0 / 0.6403 GB, free: 88.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/1.817, allocations: 2.209 MB / 0.6425 GB, free: 88.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/1.82, allocations: 475.2 kB / 0.6429 GB, free: 88.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/1.839, allocations: 9.205 MB / 0.6519 GB, free: 86.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005628/1.845, allocations: 3.759 MB / 0.6556 GB, free: 85.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00737/1.852, allocations: 2.212 MB / 0.6577 GB, free: 85.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/1.854, allocations: 295.6 kB / 0.658 GB, free: 85.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.736e-06/1.854, allocations: 0 / 0.658 GB, free: 85.91 MB / 378.7 MB Notification: Performance of Templates: time 0.1147/1.968, allocations: 41.14 MB / 0.6982 GB, free: 72.25 MB / 378.7 MB