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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.875e-05, allocations: 2.156 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08062/0.08067, allocations: 44.5 MB / 299.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4409, allocations: 92.98 MB / 392.8 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4412, allocations: 88.98 kB / 392.9 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3668/0.8081, allocations: 96.99 MB / 489.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.8082, allocations: 0 / 489.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002922/0.8085, allocations: 104 kB / 490 MB, free: 14.2 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.023/0.8315, allocations: 5.487 MB / 495.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.8316, allocations: 8.031 kB / 495.5 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.8453, allocations: 2.313 MB / 497.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.8616, allocations: 4.921 MB / 0.4909 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/0.8622, allocations: 398.3 kB / 0.4913 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/0.8647, allocations: 0.5154 MB / 0.4918 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03599/0.9007, allocations: 12.89 MB / 0.5044 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/0.901, allocations: 71.34 kB / 0.5045 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/0.9028, allocations: 247.9 kB / 0.5047 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/0.9053, allocations: 1.2 MB / 0.5059 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2598/1.165, allocations: 11.01 MB / 0.5166 GB, free: 65.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07616/1.241, allocations: 57.09 MB / 0.5724 GB, free: 32.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02033/1.262, allocations: 5.137 MB / 0.5774 GB, free: 31.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/1.267, allocations: 3.164 MB / 0.5805 GB, free: 29.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.269, allocations: 0.685 MB / 0.5812 GB, free: 29.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.269, allocations: 55.22 kB / 0.5812 GB, free: 29.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 7.192e-06/1.269, allocations: 2.25 kB / 0.5812 GB, free: 29.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.07935/1.348, allocations: 21.5 MB / 0.6022 GB, free: 21.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/1.348, allocations: 154.8 kB / 0.6024 GB, free: 21.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008735/1.357, allocations: 4.046 MB / 0.6063 GB, free: 20.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005818/1.358, allocations: 61 kB / 0.6064 GB, free: 20.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00241/1.36, allocations: 3.477 MB / 0.6098 GB, free: 17.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.361, allocations: 0.9451 MB / 0.6107 GB, free: 16.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007819/1.362, allocations: 140.5 kB / 0.6108 GB, free: 16.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004604/1.363, allocations: 0.6098 MB / 0.6114 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006272/1.369, allocations: 2.969 MB / 0.6143 GB, free: 15.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008291/1.377, allocations: 6.997 MB / 0.6212 GB, free: 6.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/1.386, allocations: 4.509 MB / 0.6256 GB, free: 3.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/1.386, allocations: 40 kB / 0.6256 GB, free: 3.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02696/1.413, allocations: 10.68 MB / 0.636 GB, free: 9.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/1.413, allocations: 69.41 kB / 0.6361 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/1.413, allocations: 144 kB / 0.6362 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/1.417, allocations: 1.138 MB / 0.6373 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008646/1.426, allocations: 1.73 MB / 0.639 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.437, allocations: 5.936 MB / 0.6448 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007596/1.445, allocations: 429.6 kB / 0.6452 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/1.447, allocations: 438.2 kB / 0.6457 GB, free: 1.457 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.002517/1.449, allocations: 0.6342 MB / 0.6463 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.45, allocations: 410.7 kB / 0.6467 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.466, allocations: 5.549 MB / 0.6521 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/1.466, allocations: 28 kB / 0.6521 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/1.466, allocations: 4 kB / 0.6521 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/1.466, allocations: 16.61 kB / 0.6521 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03142/1.498, allocations: 12.11 MB / 0.664 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.837e-05/1.498, allocations: 4 kB / 0.664 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/1.501, allocations: 0.5009 MB / 0.6645 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003482/1.505, allocations: 0.9295 MB / 0.6654 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005872/1.506, allocations: 48 kB / 0.6654 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2522/1.758, allocations: 5.629 MB / 0.6709 GB, free: 89.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.739e-06/1.758, allocations: 7.344 kB / 0.6709 GB, free: 89.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02016/1.778, allocations: 9.697 MB / 0.6804 GB, free: 88.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00285/1.781, allocations: 0.9073 MB / 0.6813 GB, free: 88.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.782, allocations: 43.09 kB / 0.6813 GB, free: 88.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003331/1.785, allocations: 181.2 kB / 0.6815 GB, free: 88.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007196/1.786, allocations: 153.5 kB / 0.6816 GB, free: 88.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/1.786, allocations: 68.19 kB / 0.6817 GB, free: 88.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006169/1.793, allocations: 2.825 MB / 0.6844 GB, free: 88.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.076e-06/1.793, allocations: 0 / 0.6844 GB, free: 88.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007815/1.801, allocations: 1.262 MB / 0.6857 GB, free: 88.46 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.0007946/1.801, allocations: 196 kB / 0.6859 GB, free: 88.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01403/1.815, allocations: 7.168 MB / 0.6929 GB, free: 88.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/1.815, allocations: 0 / 0.6929 GB, free: 88.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005552/1.821, allocations: 2.686 MB / 0.6955 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/1.824, allocations: 459.5 kB / 0.6959 GB, free: 88.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.85, allocations: 10.65 MB / 0.7063 GB, free: 86.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00742/1.857, allocations: 3.897 MB / 0.7101 GB, free: 85.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/1.86, allocations: 369.2 kB / 0.7105 GB, free: 85.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/1.86, allocations: 2.719 kB / 0.7105 GB, free: 85.33 MB / 426.7 MB Notification: Performance of Templates: time 0.132/1.992, allocations: 91.27 MB / 0.7996 GB, free: 25.28 MB / 426.7 MB