Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.219e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.5255, allocations: 98.91 MB / 415.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5258, allocations: 90.06 kB / 415.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3804/0.9062, allocations: 98.16 MB / 0.502 GB, free: 9.828 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9063, allocations: 0 / 0.502 GB, free: 9.828 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002941/0.9066, allocations: 104 kB / 0.5021 GB, free: 9.727 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.0224/0.929, allocations: 5.503 MB / 0.5075 GB, free: 4.156 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9291, allocations: 8.031 kB / 0.5075 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.9428, allocations: 2.313 MB / 0.5098 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2575/1.2, allocations: 4.926 MB / 0.5146 GB, free: 88.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005065/1.201, allocations: 398.1 kB / 0.515 GB, free: 88.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/1.203, allocations: 0.5104 MB / 0.5155 GB, free: 88.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/1.235, allocations: 12.85 MB / 0.528 GB, free: 85.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000275/1.236, allocations: 72.59 kB / 0.5281 GB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/1.237, allocations: 253.2 kB / 0.5283 GB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002032/1.239, allocations: 1.204 MB / 0.5295 GB, free: 85.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/1.266, allocations: 10.81 MB / 0.5401 GB, free: 85.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07315/1.339, allocations: 57.18 MB / 0.5959 GB, free: 47.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/1.358, allocations: 5.123 MB / 0.6009 GB, free: 45.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/1.363, allocations: 3.162 MB / 0.604 GB, free: 44.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.365, allocations: 0.6817 MB / 0.6047 GB, free: 43.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/1.365, allocations: 64.62 kB / 0.6047 GB, free: 43.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=221): time 7.914e-06/1.365, allocations: 3.75 kB / 0.6047 GB, free: 43.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.07254/1.437, allocations: 21.51 MB / 0.6257 GB, free: 31.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.437, allocations: 150.5 kB / 0.6259 GB, free: 31.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00742/1.445, allocations: 4.072 MB / 0.6299 GB, free: 28.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000569/1.445, allocations: 62.27 kB / 0.6299 GB, free: 28.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.448, allocations: 3.592 MB / 0.6334 GB, free: 24.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.449, allocations: 0.948 MB / 0.6343 GB, free: 23.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006745/1.45, allocations: 143.9 kB / 0.6345 GB, free: 23.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004146/1.45, allocations: 0.5968 MB / 0.6351 GB, free: 23.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005791/1.456, allocations: 2.972 MB / 0.638 GB, free: 20.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007998/1.464, allocations: 6.987 MB / 0.6448 GB, free: 12.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00804/1.472, allocations: 4.522 MB / 0.6492 GB, free: 8.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.472, allocations: 44 kB / 0.6492 GB, free: 8.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02428/1.497, allocations: 10.47 MB / 0.6595 GB, free: 15.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.497, allocations: 68 kB / 0.6595 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002216/1.497, allocations: 144 kB / 0.6597 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003882/1.501, allocations: 1.139 MB / 0.6608 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008638/1.51, allocations: 1.737 MB / 0.6625 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/1.521, allocations: 5.933 MB / 0.6683 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00755/1.528, allocations: 437.1 kB / 0.6687 GB, free: 7.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/1.53, allocations: 431.1 kB / 0.6691 GB, free: 6.977 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 653 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 869 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002005/1.532, allocations: 0.635 MB / 0.6697 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.533, allocations: 418.6 kB / 0.6701 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.547, allocations: 5.504 MB / 0.6755 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-05/1.547, allocations: 28 kB / 0.6755 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/1.547, allocations: 4 kB / 0.6755 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.818e-05/1.547, allocations: 7.969 kB / 0.6755 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3038/1.851, allocations: 12.09 MB / 0.6873 GB, free: 92.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-05/1.851, allocations: 8.047 kB / 0.6874 GB, free: 92.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003677/1.854, allocations: 0.5041 MB / 0.6878 GB, free: 92.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003346/1.858, allocations: 0.9371 MB / 0.6888 GB, free: 92.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/1.858, allocations: 46.64 kB / 0.6888 GB, free: 92.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009114/1.868, allocations: 5.635 MB / 0.6943 GB, free: 91.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.619e-06/1.868, allocations: 14.3 kB / 0.6943 GB, free: 91.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/1.885, allocations: 9.695 MB / 0.7038 GB, free: 90.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/1.888, allocations: 0.9053 MB / 0.7047 GB, free: 90.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008972/1.889, allocations: 53.19 kB / 0.7047 GB, free: 90.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/1.892, allocations: 178 kB / 0.7049 GB, free: 90.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/1.893, allocations: 148.2 kB / 0.705 GB, free: 90.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003135/1.893, allocations: 69.62 kB / 0.7051 GB, free: 90.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005284/1.898, allocations: 2.843 MB / 0.7079 GB, free: 90.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.127e-06/1.898, allocations: 0 / 0.7079 GB, free: 90.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0081/1.906, allocations: 1.268 MB / 0.7091 GB, free: 90.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009526/1.907, allocations: 196 kB / 0.7093 GB, free: 89.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01326/1.921, allocations: 6.958 MB / 0.7161 GB, free: 89.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.587e-06/1.921, allocations: 0 / 0.7161 GB, free: 89.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005221/1.926, allocations: 2.664 MB / 0.7187 GB, free: 88.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/1.929, allocations: 468.8 kB / 0.7192 GB, free: 88.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/1.953, allocations: 10.09 MB / 0.729 GB, free: 84.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007807/1.961, allocations: 3.904 MB / 0.7328 GB, free: 83.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008453/1.97, allocations: 2.327 MB / 0.7351 GB, free: 83.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/1.972, allocations: 320.3 kB / 0.7354 GB, free: 83.37 MB / 442.7 MB Notification: Performance of SimCode: time 2.098e-06/1.972, allocations: 6.188 kB / 0.7354 GB, free: 83.37 MB / 442.7 MB Notification: Performance of Templates: time 0.1206/2.092, allocations: 46.92 MB / 0.7812 GB, free: 57.71 MB / 442.7 MB