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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.185e-05, allocations: 0 / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.0943, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.4849, allocations: 100.1 MB / 442.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4853, allocations: 88.2 kB / 442.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6582/1.143, allocations: 95.33 MB / 0.5255 GB, free: 93.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.358e-06/1.144, allocations: 3.438 kB / 0.5255 GB, free: 93.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002813/1.144, allocations: 99.19 kB / 0.5256 GB, free: 93.14 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02038/1.164, allocations: 5.335 MB / 0.5308 GB, free: 92.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.164, allocations: 12.03 kB / 0.5308 GB, free: 92.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/1.178, allocations: 2.283 MB / 0.5331 GB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/1.192, allocations: 4.681 MB / 0.5376 GB, free: 91.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005174/1.193, allocations: 381.7 kB / 0.538 GB, free: 91.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002212/1.195, allocations: 497.7 kB / 0.5385 GB, free: 91.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0297/1.225, allocations: 12.39 MB / 0.5506 GB, free: 88.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003429/1.225, allocations: 75.56 kB / 0.5506 GB, free: 88.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/1.227, allocations: 236.4 kB / 0.5509 GB, free: 88.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/1.229, allocations: 1.144 MB / 0.552 GB, free: 88.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0257/1.255, allocations: 10.4 MB / 0.5621 GB, free: 88.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06947/1.325, allocations: 55.56 MB / 0.6164 GB, free: 49.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/1.342, allocations: 4.907 MB / 0.6212 GB, free: 47.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005337/1.347, allocations: 3.01 MB / 0.6241 GB, free: 46.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/1.349, allocations: 0.6799 MB / 0.6248 GB, free: 46.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.349, allocations: 53.84 kB / 0.6248 GB, free: 46.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 7.163e-06/1.349, allocations: 3.844 kB / 0.6248 GB, free: 46.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.06802/1.417, allocations: 20.5 MB / 0.6449 GB, free: 31.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.417, allocations: 150.5 kB / 0.645 GB, free: 30.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00723/1.424, allocations: 3.976 MB / 0.6489 GB, free: 27.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005286/1.425, allocations: 58.48 kB / 0.6489 GB, free: 27.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.427, allocations: 3.48 MB / 0.6523 GB, free: 24.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/1.428, allocations: 0.8796 MB / 0.6532 GB, free: 23.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000699/1.429, allocations: 135.9 kB / 0.6533 GB, free: 23.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004286/1.43, allocations: 0.5908 MB / 0.6539 GB, free: 22.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005565/1.435, allocations: 2.812 MB / 0.6567 GB, free: 20.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007978/1.443, allocations: 6.71 MB / 0.6632 GB, free: 12.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007903/1.451, allocations: 4.304 MB / 0.6674 GB, free: 8.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/1.451, allocations: 40 kB / 0.6675 GB, free: 8.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02316/1.474, allocations: 10.01 MB / 0.6772 GB, free: 15.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.475, allocations: 64 kB / 0.6773 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/1.475, allocations: 140 kB / 0.6774 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003998/1.479, allocations: 1.134 MB / 0.6785 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00806/1.487, allocations: 1.661 MB / 0.6802 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/1.498, allocations: 5.929 MB / 0.6859 GB, free: 6.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007387/1.506, allocations: 407.5 kB / 0.6863 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.507, allocations: 427.7 kB / 0.6867 GB, free: 5.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (835): * Single equations (assignments): 831 * 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.001498/1.509, allocations: 0.6157 MB / 0.6873 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.51, allocations: 402.8 kB / 0.6877 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2807/1.791, allocations: 5.14 MB / 0.6927 GB, free: 97.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.556e-05/1.791, allocations: 24.75 kB / 0.6928 GB, free: 97.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.791, allocations: 3.344 kB / 0.6928 GB, free: 97.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.178e-05/1.791, allocations: 12.02 kB / 0.6928 GB, free: 97.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.819, allocations: 11.42 MB / 0.7039 GB, free: 96.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/1.819, allocations: 4.219 kB / 0.7039 GB, free: 96.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/1.822, allocations: 472.8 kB / 0.7044 GB, free: 96.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003358/1.826, allocations: 0.9312 MB / 0.7053 GB, free: 96.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005825/1.826, allocations: 47.08 kB / 0.7053 GB, free: 96.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/1.835, allocations: 5.639 MB / 0.7108 GB, free: 95.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.247e-06/1.835, allocations: 7.562 kB / 0.7109 GB, free: 95.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/1.852, allocations: 9.117 MB / 0.7198 GB, free: 94.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/1.854, allocations: 0.8648 MB / 0.7206 GB, free: 94.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/1.856, allocations: 40.56 kB / 0.7206 GB, free: 94.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.859, allocations: 162.9 kB / 0.7208 GB, free: 94.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004812/1.859, allocations: 143.7 kB / 0.7209 GB, free: 94.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/1.859, allocations: 62.12 kB / 0.721 GB, free: 94.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005224/1.865, allocations: 2.771 MB / 0.7237 GB, free: 94.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.09e-06/1.865, allocations: 3.906 kB / 0.7237 GB, free: 94.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007353/1.872, allocations: 1.209 MB / 0.7249 GB, free: 94.01 MB / 458.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 (203): * Single equations (assignments): 199 * 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.0006689/1.873, allocations: 196.2 kB / 0.7251 GB, free: 93.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01225/1.885, allocations: 6.585 MB / 0.7315 GB, free: 92.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.215e-06/1.885, allocations: 0 / 0.7315 GB, free: 92.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/1.89, allocations: 2.485 MB / 0.7339 GB, free: 91.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.892, allocations: 457.4 kB / 0.7344 GB, free: 91.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.912, allocations: 9.614 MB / 0.7438 GB, free: 88.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006221/1.919, allocations: 3.769 MB / 0.7474 GB, free: 86.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007583/1.926, allocations: 2.233 MB / 0.7496 GB, free: 86.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.928, allocations: 303.4 kB / 0.7499 GB, free: 86.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.744e-06/1.928, allocations: 0 / 0.7499 GB, free: 86.8 MB / 458.7 MB Notification: Performance of Templates: time 0.1126/2.041, allocations: 45.24 MB / 0.7941 GB, free: 63.06 MB / 458.7 MB