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.892/1.892, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.184e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.3923, allocations: 92.33 MB / 386.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.3927, allocations: 91.77 kB / 386.5 MB, free: 5.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5594/0.9521, allocations: 94.95 MB / 481.5 MB, free: 67.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9522, allocations: 7.938 kB / 481.5 MB, free: 67.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002384/0.9524, allocations: 96 kB / 481.6 MB, free: 67.45 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.0201/0.9725, allocations: 5.482 MB / 487.1 MB, free: 61.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9726, allocations: 8.031 kB / 487.1 MB, free: 61.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/0.9856, allocations: 2.325 MB / 489.4 MB, free: 59.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.9994, allocations: 4.924 MB / 494.3 MB, free: 54.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.9997, allocations: 168 kB / 494.5 MB, free: 54.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/1.002, allocations: 307.9 kB / 494.8 MB, free: 54.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0161/1.018, allocations: 7.746 MB / 0.4907 GB, free: 46.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/1.042, allocations: 11.53 MB / 0.502 GB, free: 33.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/1.043, allocations: 71.34 kB / 0.5021 GB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/1.044, allocations: 35.95 kB / 0.5021 GB, free: 33.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/1.046, allocations: 1.196 MB / 0.5033 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.077/1.123, allocations: 54.86 MB / 0.5568 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007937/1.131, allocations: 4.359 MB / 0.5611 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005765/1.137, allocations: 3.111 MB / 0.5641 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/1.139, allocations: 0.6771 MB / 0.5648 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2306/1.369, allocations: 55.47 kB / 0.5649 GB, free: 94.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 9.28e-06/1.369, allocations: 1.25 kB / 0.5649 GB, free: 94.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.06365/1.433, allocations: 22.3 MB / 0.5866 GB, free: 91.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.433, allocations: 156.1 kB / 0.5868 GB, free: 91.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007223/1.44, allocations: 3.352 MB / 0.59 GB, free: 90.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/1.441, allocations: 29.02 kB / 0.5901 GB, free: 90.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002535/1.444, allocations: 3.601 MB / 0.5936 GB, free: 88.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.445, allocations: 0.9244 MB / 0.5945 GB, free: 88.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000823/1.446, allocations: 0 / 0.5945 GB, free: 88.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006447/1.446, allocations: 0.6161 MB / 0.5951 GB, free: 87.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005638/1.452, allocations: 2.881 MB / 0.5979 GB, free: 86.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007651/1.46, allocations: 7.048 MB / 0.6048 GB, free: 80.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008063/1.468, allocations: 4.443 MB / 0.6091 GB, free: 78.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/1.468, allocations: 47.91 kB / 0.6092 GB, free: 78.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02357/1.492, allocations: 9.962 MB / 0.6189 GB, free: 75.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/1.492, allocations: 65.47 kB / 0.619 GB, free: 75.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.492, allocations: 149.7 kB / 0.6191 GB, free: 75.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/1.496, allocations: 1.139 MB / 0.6202 GB, free: 75.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007978/1.504, allocations: 1.786 MB / 0.622 GB, free: 74.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008426/1.512, allocations: 5.644 MB / 0.6275 GB, free: 69.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00695/1.519, allocations: 290.9 kB / 0.6278 GB, free: 69.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.521, allocations: 461.3 kB / 0.6282 GB, free: 68.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 (900): * Single equations (assignments): 896 * 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.001274/1.522, allocations: 487.2 kB / 0.6287 GB, free: 68.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/1.523, allocations: 372.3 kB / 0.629 GB, free: 68.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.534, allocations: 5.297 MB / 0.6342 GB, free: 63.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-05/1.534, allocations: 24 kB / 0.6342 GB, free: 63.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.534, allocations: 4 kB / 0.6342 GB, free: 63.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.205e-05/1.534, allocations: 14.97 kB / 0.6342 GB, free: 63.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/1.56, allocations: 11 MB / 0.645 GB, free: 54.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/1.56, allocations: 7.234 kB / 0.645 GB, free: 54.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.564, allocations: 0.503 MB / 0.6455 GB, free: 54.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/1.567, allocations: 0.9314 MB / 0.6464 GB, free: 53.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005933/1.567, allocations: 14.86 kB / 0.6464 GB, free: 53.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008484/1.576, allocations: 5.331 MB / 0.6516 GB, free: 49.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.898e-05/1.576, allocations: 4 kB / 0.6516 GB, free: 49.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/1.594, allocations: 9.435 MB / 0.6608 GB, free: 40.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/1.596, allocations: 0.8522 MB / 0.6616 GB, free: 40.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/1.598, allocations: 4 kB / 0.6617 GB, free: 40.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.601, allocations: 139.6 kB / 0.6618 GB, free: 39.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009026/1.602, allocations: 155.2 kB / 0.6619 GB, free: 39.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005077/1.603, allocations: 73.66 kB / 0.662 GB, free: 39.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005404/1.608, allocations: 2.231 MB / 0.6642 GB, free: 37.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.39e-06/1.608, allocations: 0 / 0.6642 GB, free: 37.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008443/1.617, allocations: 1.083 MB / 0.6652 GB, free: 36.77 MB / 394.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.0008521/1.617, allocations: 155.9 kB / 0.6654 GB, free: 36.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01273/1.63, allocations: 6.883 MB / 0.6721 GB, free: 30.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.18e-06/1.63, allocations: 0 / 0.6721 GB, free: 30.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005064/1.635, allocations: 2.625 MB / 0.6747 GB, free: 28.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/1.638, allocations: 348.1 kB / 0.675 GB, free: 27.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02593/1.664, allocations: 10.47 MB / 0.6852 GB, free: 17.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007852/1.672, allocations: 3.901 MB / 0.689 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/1.674, allocations: 351.3 kB / 0.6894 GB, free: 13.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.094e-06/1.674, allocations: 0 / 0.6894 GB, free: 13.16 MB / 394.7 MB Notification: Performance of Templates: time 0.3719/2.046, allocations: 88.11 MB / 0.7754 GB, free: 72.65 MB / 410.7 MB