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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.665e-05, allocations: 3.984 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09334, allocations: 50.43 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3888/0.4822, allocations: 100.1 MB / 443.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4826, allocations: 85.77 kB / 443.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6703/1.153, allocations: 95.33 MB / 0.526 GB, free: 93.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.172e-06/1.153, allocations: 0.6562 kB / 0.526 GB, free: 93.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002928/1.153, allocations: 96 kB / 0.5261 GB, free: 93.24 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02169/1.175, allocations: 5.339 MB / 0.5313 GB, free: 92.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.175, allocations: 10.03 kB / 0.5313 GB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/1.189, allocations: 2.284 MB / 0.5336 GB, free: 92.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/1.203, allocations: 4.683 MB / 0.5381 GB, free: 91.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/1.204, allocations: 375.2 kB / 0.5385 GB, free: 91.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/1.206, allocations: 0.494 MB / 0.539 GB, free: 91.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/1.236, allocations: 12.39 MB / 0.5511 GB, free: 88.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003062/1.237, allocations: 68.98 kB / 0.5511 GB, free: 88.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002143/1.239, allocations: 241.6 kB / 0.5514 GB, free: 88.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002138/1.241, allocations: 1.138 MB / 0.5525 GB, free: 88.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/1.268, allocations: 10.41 MB / 0.5627 GB, free: 88.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07233/1.34, allocations: 55.56 MB / 0.6169 GB, free: 49.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/1.358, allocations: 4.91 MB / 0.6217 GB, free: 48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00494/1.363, allocations: 3.009 MB / 0.6246 GB, free: 46.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.365, allocations: 0.6783 MB / 0.6253 GB, free: 46.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.365, allocations: 54.23 kB / 0.6254 GB, free: 46.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.882e-06/1.365, allocations: 0 / 0.6254 GB, free: 46.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.0683/1.433, allocations: 20.51 MB / 0.6454 GB, free: 31.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/1.433, allocations: 162 kB / 0.6455 GB, free: 30.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007064/1.44, allocations: 3.964 MB / 0.6494 GB, free: 27.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005126/1.441, allocations: 65.64 kB / 0.6495 GB, free: 27.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.443, allocations: 3.485 MB / 0.6529 GB, free: 24.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.444, allocations: 0.8785 MB / 0.6537 GB, free: 23.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005433/1.445, allocations: 128 kB / 0.6538 GB, free: 23.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003706/1.445, allocations: 0.5897 MB / 0.6544 GB, free: 22.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00528/1.451, allocations: 2.811 MB / 0.6572 GB, free: 20.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00751/1.458, allocations: 6.713 MB / 0.6637 GB, free: 12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007712/1.466, allocations: 4.304 MB / 0.6679 GB, free: 8.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.928e-05/1.466, allocations: 40 kB / 0.668 GB, free: 8.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02287/1.489, allocations: 10.01 MB / 0.6777 GB, free: 15.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.489, allocations: 64.19 kB / 0.6778 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/1.489, allocations: 144 kB / 0.6779 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/1.493, allocations: 1.129 MB / 0.679 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00833/1.502, allocations: 1.661 MB / 0.6807 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.513, allocations: 5.934 MB / 0.6865 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007394/1.52, allocations: 407.5 kB / 0.6868 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.522, allocations: 423.9 kB / 0.6873 GB, free: 5.848 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (835): * Single equations (assignments): 831 * 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.001516/1.524, allocations: 0.6195 MB / 0.6879 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.525, allocations: 402.8 kB / 0.6882 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3459/1.871, allocations: 5.135 MB / 0.6933 GB, free: 97.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-05/1.871, allocations: 26.58 kB / 0.6933 GB, free: 97.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.871, allocations: 4.094 kB / 0.6933 GB, free: 97.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-05/1.871, allocations: 11.67 kB / 0.6933 GB, free: 97.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/1.898, allocations: 11.41 MB / 0.7044 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.898, allocations: 4.312 kB / 0.7044 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/1.901, allocations: 468.3 kB / 0.7049 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/1.905, allocations: 0.9437 MB / 0.7058 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/1.905, allocations: 46.38 kB / 0.7059 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008973/1.914, allocations: 5.641 MB / 0.7114 GB, free: 95.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.948e-06/1.914, allocations: 7.688 kB / 0.7114 GB, free: 95.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.931, allocations: 9.113 MB / 0.7203 GB, free: 94.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.934, allocations: 0.8621 MB / 0.7211 GB, free: 94.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008774/1.935, allocations: 43.39 kB / 0.7212 GB, free: 94.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/1.938, allocations: 165.1 kB / 0.7213 GB, free: 94.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005424/1.938, allocations: 143.8 kB / 0.7214 GB, free: 94.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/1.939, allocations: 62.88 kB / 0.7215 GB, free: 94.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005472/1.944, allocations: 2.777 MB / 0.7242 GB, free: 94.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.276e-06/1.944, allocations: 0 / 0.7242 GB, free: 94.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007674/1.952, allocations: 1.205 MB / 0.7254 GB, free: 94.07 MB / 458.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 (203): * Single equations (assignments): 199 * 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.0006502/1.952, allocations: 197.7 kB / 0.7256 GB, free: 93.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/1.965, allocations: 6.579 MB / 0.732 GB, free: 92.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.78e-06/1.965, allocations: 0 / 0.732 GB, free: 92.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00493/1.97, allocations: 2.488 MB / 0.7344 GB, free: 91.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/1.974, allocations: 448.1 kB / 0.7349 GB, free: 91.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/1.996, allocations: 9.627 MB / 0.7443 GB, free: 88.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00606/2.002, allocations: 3.762 MB / 0.7479 GB, free: 86.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007288/2.009, allocations: 2.223 MB / 0.7501 GB, free: 86.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/2.011, allocations: 307.2 kB / 0.7504 GB, free: 86.86 MB / 458.7 MB Notification: Performance of SimCode: time 1.671e-06/2.011, allocations: 0 / 0.7504 GB, free: 86.86 MB / 458.7 MB Notification: Performance of Templates: time 0.1172/2.128, allocations: 45.26 MB / 0.7946 GB, free: 63.07 MB / 458.7 MB