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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.813e-05, allocations: 4 kB / 255.3 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08132/0.08138, allocations: 44.5 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.433, allocations: 92.28 MB / 392.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4333, allocations: 86.06 kB / 392.2 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3167/0.75, allocations: 83.79 MB / 476 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.688e-06/0.7501, allocations: 0 / 476 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002489/0.7503, allocations: 80 kB / 476.1 MB, free: 12.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01979/0.7701, allocations: 4.49 MB / 480.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7702, allocations: 8.031 kB / 480.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/0.7838, allocations: 2.209 MB / 482.8 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01543/0.7992, allocations: 4.45 MB / 487.2 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.7998, allocations: 324.3 kB / 487.5 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.8019, allocations: 423.8 kB / 488 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.8319, allocations: 10.7 MB / 498.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002825/0.8322, allocations: 63.41 kB / 498.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001702/0.8339, allocations: 207.9 kB / 498.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002384/0.8363, allocations: 0.9945 MB / 499.9 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/0.8611, allocations: 8.841 MB / 0.4968 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2979/1.159, allocations: 48.87 MB / 0.5446 GB, free: 39.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/1.174, allocations: 3.48 MB / 0.548 GB, free: 39.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004782/1.179, allocations: 1.775 MB / 0.5497 GB, free: 39.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/1.19, allocations: 4.377 MB / 0.554 GB, free: 37.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.19, allocations: 53.75 kB / 0.554 GB, free: 37.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 6.272e-06/1.19, allocations: 0 / 0.554 GB, free: 37.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.02972/1.22, allocations: 9.729 MB / 0.5635 GB, free: 35.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.22, allocations: 143.6 kB / 0.5637 GB, free: 34.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007609/1.227, allocations: 3.662 MB / 0.5672 GB, free: 34.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000301/1.228, allocations: 51.61 kB / 0.5673 GB, free: 34.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.23, allocations: 3.103 MB / 0.5703 GB, free: 32.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007572/1.231, allocations: 0.5847 MB / 0.5709 GB, free: 32.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/1.231, allocations: 121.5 kB / 0.571 GB, free: 32.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003768/1.231, allocations: 0.5574 MB / 0.5715 GB, free: 32.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/1.236, allocations: 1.917 MB / 0.5734 GB, free: 32.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005986/1.242, allocations: 5.712 MB / 0.579 GB, free: 27.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00617/1.248, allocations: 3.277 MB / 0.5822 GB, free: 26.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/1.248, allocations: 38.75 kB / 0.5822 GB, free: 26.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01977/1.268, allocations: 7.96 MB / 0.59 GB, free: 24.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.268, allocations: 64.12 kB / 0.5901 GB, free: 24.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/1.268, allocations: 135.8 kB / 0.5902 GB, free: 24.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/1.271, allocations: 0.9184 MB / 0.5911 GB, free: 24.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006642/1.278, allocations: 1.375 MB / 0.5924 GB, free: 23.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009132/1.287, allocations: 4.776 MB / 0.5971 GB, free: 21.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/1.3, allocations: 323.5 kB / 0.5974 GB, free: 21.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/1.302, allocations: 373.8 kB / 0.5978 GB, free: 21.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (729): * Single equations (assignments): 725 * 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.001985/1.304, allocations: 0.5674 MB / 0.5983 GB, free: 20.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.305, allocations: 351 kB / 0.5987 GB, free: 20.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.319, allocations: 2.801 MB / 0.6014 GB, free: 19.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.792e-05/1.319, allocations: 18.39 kB / 0.6014 GB, free: 19.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/1.319, allocations: 7.312 kB / 0.6014 GB, free: 19.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/1.319, allocations: 11.05 kB / 0.6014 GB, free: 19.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/1.351, allocations: 6.945 MB / 0.6082 GB, free: 17.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/1.351, allocations: 3.594 kB / 0.6082 GB, free: 17.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/1.355, allocations: 243.3 kB / 0.6084 GB, free: 17.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/1.36, allocations: 0.6984 MB / 0.6091 GB, free: 16.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005112/1.36, allocations: 33.62 kB / 0.6092 GB, free: 16.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.374, allocations: 4.332 MB / 0.6134 GB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.374, allocations: 7.906 kB / 0.6134 GB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009886/1.384, allocations: 5.084 MB / 0.6184 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.386, allocations: 0.6092 MB / 0.619 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009026/1.387, allocations: 35.38 kB / 0.619 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.389, allocations: 84.17 kB / 0.6191 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004796/1.39, allocations: 92.34 kB / 0.6192 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.39, allocations: 40.48 kB / 0.6192 GB, free: 27.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00591/1.396, allocations: 2.549 MB / 0.6217 GB, free: 25.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.396, allocations: 0 / 0.6217 GB, free: 25.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006746/1.403, allocations: 0.9565 MB / 0.6226 GB, free: 24.52 MB / 410.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.0006061/1.403, allocations: 163.9 kB / 0.6228 GB, free: 24.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01309/1.417, allocations: 4.659 MB / 0.6273 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.417, allocations: 0 / 0.6273 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/1.419, allocations: 1.323 MB / 0.6286 GB, free: 18.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.422, allocations: 402.9 kB / 0.629 GB, free: 18.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.44, allocations: 7.631 MB / 0.6365 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006999/1.447, allocations: 3.309 MB / 0.6397 GB, free: 9.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.449, allocations: 286.2 kB / 0.64 GB, free: 9.039 MB / 410.7 MB Notification: Performance of SimCode: time 2.248e-06/1.449, allocations: 0 / 0.64 GB, free: 9.039 MB / 410.7 MB Notification: Performance of Templates: time 0.3729/1.822, allocations: 71.66 MB / 0.7099 GB, free: 98.3 MB / 426.7 MB