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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.659/1.659, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.631e-05, allocations: 0 / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.3518, allocations: 87.27 MB / 351.1 MB, free: 2.43 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.3521, allocations: 87.95 kB / 351.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5908/0.9429, allocations: 96.98 MB / 448.1 MB, free: 25.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.569e-06/0.9429, allocations: 4 kB / 448.1 MB, free: 25.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002475/0.9432, allocations: 100 kB / 448.2 MB, free: 25.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02122/0.9644, allocations: 5.499 MB / 453.7 MB, free: 19.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.9645, allocations: 8.031 kB / 453.7 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.9806, allocations: 2.321 MB / 456 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01865/0.9993, allocations: 4.902 MB / 460.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004429/0.9998, allocations: 406.2 kB / 461.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002186/1.002, allocations: 0.5114 MB / 461.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03164/1.034, allocations: 12.83 MB / 474.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000284/1.034, allocations: 75.28 kB / 474.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/1.036, allocations: 247.9 kB / 475 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002473/1.038, allocations: 1.2 MB / 476.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/1.068, allocations: 10.81 MB / 487 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3304/1.398, allocations: 57.07 MB / 0.5313 GB, free: 25.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/1.416, allocations: 5.118 MB / 0.5363 GB, free: 24.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004887/1.421, allocations: 3.171 MB / 0.5394 GB, free: 24.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/1.422, allocations: 0.6821 MB / 0.5401 GB, free: 23.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.422, allocations: 55.59 kB / 0.5401 GB, free: 23.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 6.832e-06/1.422, allocations: 0 / 0.5401 GB, free: 23.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.06899/1.491, allocations: 21.48 MB / 0.5611 GB, free: 20.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/1.491, allocations: 156.1 kB / 0.5613 GB, free: 20.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007586/1.499, allocations: 4.05 MB / 0.5652 GB, free: 19.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005346/1.499, allocations: 66.7 kB / 0.5653 GB, free: 18.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002469/1.502, allocations: 3.584 MB / 0.5688 GB, free: 16.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.503, allocations: 0.9478 MB / 0.5697 GB, free: 15.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006332/1.504, allocations: 135.2 kB / 0.5698 GB, free: 15.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003968/1.504, allocations: 0.6084 MB / 0.5704 GB, free: 15.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008487/1.513, allocations: 2.97 MB / 0.5733 GB, free: 14.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01133/1.524, allocations: 6.959 MB / 0.5801 GB, free: 7.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008129/1.532, allocations: 4.507 MB / 0.5845 GB, free: 6.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.532, allocations: 42.84 kB / 0.5846 GB, free: 6.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02356/1.556, allocations: 10.42 MB / 0.5947 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.556, allocations: 71.7 kB / 0.5948 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.556, allocations: 140 kB / 0.595 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00498/1.561, allocations: 1.217 MB / 0.5961 GB, free: 0 / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008776/1.57, allocations: 1.743 MB / 0.5978 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/1.581, allocations: 5.928 MB / 0.6036 GB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00731/1.588, allocations: 429.7 kB / 0.604 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.59, allocations: 445.8 kB / 0.6045 GB, free: 8.559 MB / 362.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.001538/1.591, allocations: 0.6212 MB / 0.6051 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.592, allocations: 414.6 kB / 0.6055 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/1.606, allocations: 5.502 MB / 0.6108 GB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.691e-05/1.606, allocations: 25.02 kB / 0.6109 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.606, allocations: 4 kB / 0.6109 GB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.163e-05/1.606, allocations: 17.97 kB / 0.6109 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03327/1.639, allocations: 12.29 MB / 0.6229 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/1.639, allocations: 7.953 kB / 0.6229 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/1.643, allocations: 0.5084 MB / 0.6234 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/1.646, allocations: 0.9328 MB / 0.6243 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000573/1.647, allocations: 51.42 kB / 0.6244 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/1.658, allocations: 5.639 MB / 0.6299 GB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/1.658, allocations: 11.89 kB / 0.6299 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.235/1.893, allocations: 9.686 MB / 0.6393 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/1.896, allocations: 0.9051 MB / 0.6402 GB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.897, allocations: 45.27 kB / 0.6403 GB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/1.9, allocations: 175.1 kB / 0.6404 GB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005599/1.9, allocations: 160.5 kB / 0.6406 GB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003007/1.901, allocations: 73.59 kB / 0.6406 GB, free: 87.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005527/1.906, allocations: 2.829 MB / 0.6434 GB, free: 87.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.158e-06/1.906, allocations: 0 / 0.6434 GB, free: 87.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00741/1.914, allocations: 1.255 MB / 0.6446 GB, free: 87.74 MB / 378.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.0006355/1.914, allocations: 204.7 kB / 0.6448 GB, free: 87.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/1.927, allocations: 6.941 MB / 0.6516 GB, free: 87.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.499e-06/1.927, allocations: 0 / 0.6516 GB, free: 87.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004775/1.932, allocations: 2.665 MB / 0.6542 GB, free: 87.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.935, allocations: 461.3 kB / 0.6547 GB, free: 87.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/1.956, allocations: 10.08 MB / 0.6645 GB, free: 85.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005897/1.962, allocations: 3.904 MB / 0.6683 GB, free: 84.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007497/1.97, allocations: 2.322 MB / 0.6706 GB, free: 84.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/1.972, allocations: 316.1 kB / 0.6709 GB, free: 84.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.889e-06/1.972, allocations: 0 / 0.6709 GB, free: 84.48 MB / 378.7 MB Notification: Performance of Templates: time 0.1134/2.085, allocations: 46.81 MB / 0.7166 GB, free: 57.04 MB / 378.7 MB