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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.9e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5283, allocations: 92.99 MB / 392.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.5286, allocations: 88.16 kB / 393 MB, free: 19.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3497/0.8783, allocations: 96.99 MB / 490 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.616e-06/0.8784, allocations: 4 kB / 490 MB, free: 13.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002917/0.8787, allocations: 100 kB / 490.1 MB, free: 13.84 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02209/0.9008, allocations: 5.483 MB / 495.5 MB, free: 8.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.9008, allocations: 12.02 kB / 495.5 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/0.9142, allocations: 2.317 MB / 497.9 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.9301, allocations: 4.921 MB / 0.491 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000566/0.9307, allocations: 390.3 kB / 0.4914 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002383/0.9331, allocations: 0.5154 MB / 0.4919 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03551/0.9686, allocations: 12.83 MB / 0.5044 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002781/0.9689, allocations: 63.41 kB / 0.5045 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001864/0.9708, allocations: 251.9 kB / 0.5047 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/0.9733, allocations: 1.196 MB / 0.5059 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2857/1.259, allocations: 10.81 MB / 0.5164 GB, free: 65.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07377/1.333, allocations: 57.09 MB / 0.5722 GB, free: 33.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/1.352, allocations: 5.117 MB / 0.5772 GB, free: 31.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005127/1.357, allocations: 3.169 MB / 0.5803 GB, free: 30.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/1.359, allocations: 0.6813 MB / 0.5809 GB, free: 29.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.359, allocations: 54.5 kB / 0.581 GB, free: 29.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 6.768e-06/1.359, allocations: 0 / 0.581 GB, free: 29.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.0755/1.434, allocations: 21.5 MB / 0.602 GB, free: 22.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/1.435, allocations: 157.9 kB / 0.6021 GB, free: 21.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008398/1.443, allocations: 4.045 MB / 0.6061 GB, free: 20.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000576/1.444, allocations: 62.2 kB / 0.6061 GB, free: 20.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/1.446, allocations: 3.577 MB / 0.6096 GB, free: 17.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.447, allocations: 0.9523 MB / 0.6106 GB, free: 17.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007094/1.448, allocations: 133.5 kB / 0.6107 GB, free: 17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004332/1.449, allocations: 0.6053 MB / 0.6113 GB, free: 16.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005902/1.455, allocations: 2.973 MB / 0.6142 GB, free: 15.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008099/1.463, allocations: 6.959 MB / 0.621 GB, free: 7.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008186/1.471, allocations: 4.504 MB / 0.6254 GB, free: 3.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.471, allocations: 40 kB / 0.6254 GB, free: 3.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02617/1.497, allocations: 10.43 MB / 0.6356 GB, free: 10.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.497, allocations: 64 kB / 0.6357 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/1.498, allocations: 144 kB / 0.6358 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0039/1.502, allocations: 1.133 MB / 0.6369 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008409/1.51, allocations: 1.731 MB / 0.6386 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.521, allocations: 5.942 MB / 0.6444 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/1.531, allocations: 423.7 kB / 0.6448 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002543/1.534, allocations: 432.8 kB / 0.6452 GB, free: 1.941 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (870): * Single equations (assignments): 866 * 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.003399/1.537, allocations: 0.6385 MB / 0.6458 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/1.539, allocations: 418.4 kB / 0.6462 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02286/1.562, allocations: 5.965 MB / 0.6521 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.714e-05/1.562, allocations: 31.91 kB / 0.6521 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.562, allocations: 4 kB / 0.6521 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.175e-05/1.562, allocations: 14.72 kB / 0.6521 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/1.593, allocations: 12.11 MB / 0.6639 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.323e-05/1.593, allocations: 4 kB / 0.6639 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003612/1.597, allocations: 0.4993 MB / 0.6644 GB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/1.6, allocations: 0.9418 MB / 0.6654 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.601, allocations: 47.98 kB / 0.6654 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2478/1.849, allocations: 5.627 MB / 0.6709 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-06/1.849, allocations: 6.562 kB / 0.6709 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.868, allocations: 9.702 MB / 0.6804 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002862/1.871, allocations: 0.9082 MB / 0.6813 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.873, allocations: 43.09 kB / 0.6813 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/1.876, allocations: 182.5 kB / 0.6815 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007647/1.877, allocations: 148.2 kB / 0.6816 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00034/1.877, allocations: 74.86 kB / 0.6817 GB, free: 89.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0063/1.884, allocations: 2.823 MB / 0.6844 GB, free: 88.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.147e-06/1.884, allocations: 0 / 0.6844 GB, free: 88.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008073/1.892, allocations: 1.26 MB / 0.6857 GB, free: 88.96 MB / 426.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.0008699/1.893, allocations: 193.5 kB / 0.6859 GB, free: 88.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01369/1.906, allocations: 6.948 MB / 0.6926 GB, free: 88.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.571e-06/1.906, allocations: 3.875 kB / 0.6926 GB, free: 88.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005331/1.912, allocations: 2.665 MB / 0.6953 GB, free: 88.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/1.915, allocations: 453.3 kB / 0.6957 GB, free: 88.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.938, allocations: 10.07 MB / 0.7055 GB, free: 86.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007647/1.946, allocations: 3.898 MB / 0.7093 GB, free: 85.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009084/1.955, allocations: 2.322 MB / 0.7116 GB, free: 85.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/1.957, allocations: 318 kB / 0.7119 GB, free: 85.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.811e-06/1.957, allocations: 0 / 0.7119 GB, free: 85.88 MB / 426.7 MB Notification: Performance of Templates: time 0.149/2.106, allocations: 46.79 MB / 0.7576 GB, free: 68.73 MB / 426.7 MB