Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.691e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08375/0.0838, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.4976, allocations: 98.22 MB / 415.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4979, allocations: 87.27 kB / 415.2 MB, free: 6.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3925/0.8904, allocations: 84.79 MB / 0.4883 GB, free: 7.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.498e-06/0.8905, allocations: 0 / 0.4883 GB, free: 7.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002452/0.8907, allocations: 84 kB / 0.4884 GB, free: 7.852 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01868/0.9094, allocations: 4.494 MB / 0.4928 GB, free: 3.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.9095, allocations: 8.031 kB / 0.4928 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.9228, allocations: 2.213 MB / 0.4949 GB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/0.9376, allocations: 4.477 MB / 0.4993 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004372/0.9381, allocations: 320.4 kB / 0.4996 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/0.94, allocations: 423.8 kB / 0.5 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/0.9682, allocations: 10.66 MB / 0.5104 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002258/0.9685, allocations: 55.5 kB / 0.5105 GB, free: 16 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2418/1.21, allocations: 201.9 kB / 0.5107 GB, free: 95.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/1.212, allocations: 1.001 MB / 0.5117 GB, free: 95.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0227/1.235, allocations: 8.661 MB / 0.5201 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05845/1.294, allocations: 48.98 MB / 0.568 GB, free: 65.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/1.308, allocations: 3.464 MB / 0.5713 GB, free: 63.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002923/1.311, allocations: 1.768 MB / 0.5731 GB, free: 63.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008743/1.319, allocations: 4.371 MB / 0.5773 GB, free: 60.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/1.319, allocations: 48.56 kB / 0.5774 GB, free: 60.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 6.029e-06/1.319, allocations: 0 / 0.5774 GB, free: 60.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=145): time 0.0293/1.349, allocations: 9.747 MB / 0.5869 GB, free: 56.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.349, allocations: 139.8 kB / 0.587 GB, free: 56.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007504/1.356, allocations: 3.699 MB / 0.5906 GB, free: 55.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000309/1.357, allocations: 50.39 kB / 0.5907 GB, free: 55.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/1.359, allocations: 3.189 MB / 0.5938 GB, free: 52.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/1.36, allocations: 0.5923 MB / 0.5944 GB, free: 52.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005182/1.36, allocations: 122.6 kB / 0.5945 GB, free: 52.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003613/1.361, allocations: 0.552 MB / 0.595 GB, free: 51.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00381/1.365, allocations: 1.916 MB / 0.5969 GB, free: 51.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00589/1.37, allocations: 5.698 MB / 0.6025 GB, free: 45.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/1.377, allocations: 3.284 MB / 0.6057 GB, free: 44.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.377, allocations: 39.56 kB / 0.6057 GB, free: 44.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01881/1.395, allocations: 7.726 MB / 0.6133 GB, free: 41.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.396, allocations: 60 kB / 0.6133 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/1.396, allocations: 140.9 kB / 0.6135 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/1.399, allocations: 0.9137 MB / 0.6143 GB, free: 40.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005787/1.405, allocations: 1.389 MB / 0.6157 GB, free: 39.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00701/1.412, allocations: 4.785 MB / 0.6204 GB, free: 34.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005827/1.418, allocations: 334.7 kB / 0.6207 GB, free: 34.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.419, allocations: 375.7 kB / 0.6211 GB, free: 34.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (732): * Single equations (assignments): 728 * 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.001013/1.42, allocations: 0.5584 MB / 0.6216 GB, free: 33.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/1.42, allocations: 347.5 kB / 0.6219 GB, free: 33.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/1.427, allocations: 2.817 MB / 0.6247 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/1.427, allocations: 23.89 kB / 0.6247 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.427, allocations: 4 kB / 0.6247 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/1.427, allocations: 10.59 kB / 0.6247 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/1.443, allocations: 6.954 MB / 0.6315 GB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.443, allocations: 0 / 0.6315 GB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.444, allocations: 242.6 kB / 0.6317 GB, free: 25.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00295/1.447, allocations: 0.7008 MB / 0.6324 GB, free: 24.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/1.448, allocations: 27.47 kB / 0.6324 GB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/1.454, allocations: 4.342 MB / 0.6367 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.208e-06/1.454, allocations: 0 / 0.6367 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009908/1.464, allocations: 5.096 MB / 0.6417 GB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.466, allocations: 0.609 MB / 0.6423 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007344/1.467, allocations: 20 kB / 0.6423 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.469, allocations: 86.61 kB / 0.6424 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/1.469, allocations: 88.64 kB / 0.6424 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.469, allocations: 47.16 kB / 0.6425 GB, free: 15.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005315/1.475, allocations: 2.572 MB / 0.645 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.139e-06/1.475, allocations: 0 / 0.645 GB, free: 13.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006436/1.481, allocations: 0.9622 MB / 0.6459 GB, free: 12.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004874/1.482, allocations: 162.4 kB / 0.6461 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008259/1.49, allocations: 4.47 MB / 0.6505 GB, free: 8.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.938e-06/1.49, allocations: 0 / 0.6505 GB, free: 8.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.492, allocations: 1.312 MB / 0.6517 GB, free: 7.012 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.495, allocations: 405.7 kB / 0.6521 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/1.511, allocations: 7.172 MB / 0.6591 GB, free: 288 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008033/1.519, allocations: 3.384 MB / 0.6624 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007063/1.526, allocations: 1.877 MB / 0.6643 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.527, allocations: 235.4 kB / 0.6645 GB, free: 11.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.823e-06/1.527, allocations: 4 kB / 0.6645 GB, free: 11.57 MB / 442.7 MB Notification: Performance of Templates: time 0.3401/1.867, allocations: 32.28 MB / 0.696 GB, free: 100.5 MB / 442.7 MB