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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.606/1.606, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.56e-05, allocations: 0 / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08042/0.08047, allocations: 38.76 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2792/0.3597, allocations: 39.62 MB / 306.5 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0246/0.3844, allocations: 8.929 MB / 315.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01108/0.3955, allocations: 203.6 kB / 315.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007621/0.4032, allocations: 2.06 MB / 317.7 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02248/0.4257, allocations: 5.666 MB / 323.4 MB, free: 488 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.4293, allocations: 0.5016 MB / 323.9 MB, free: 324 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004751/0.4341, allocations: 1.521 MB / 325.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007483/0.4417, allocations: 3.856 MB / 329.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.4438, allocations: 0.7812 MB / 330 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.4466, allocations: 1.266 MB / 331.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.4494, allocations: 0.7776 MB / 332.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008776/0.4503, allocations: 116.9 kB / 332.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.4525, allocations: 1.482 MB / 333.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.4537, allocations: 260 kB / 333.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008853/0.4626, allocations: 5.558 MB / 339.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4627, allocations: 0 / 339.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4627, allocations: 0 / 339.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002329/0.4629, allocations: 0 / 339.5 MB, free: 6.891 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02527/0.4882, allocations: 4.829 MB / 344.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4883, allocations: 8.031 kB / 344.3 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.5028, allocations: 2.235 MB / 346.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/0.5103, allocations: 2.493 MB / 349.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.5107, allocations: 234.9 kB / 349.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.5123, allocations: 309.2 kB / 349.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/0.5422, allocations: 10.33 MB / 359.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.5425, allocations: 47.58 kB / 360 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008098/0.5433, allocations: 154.8 kB / 360.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005308/0.5486, allocations: 1.862 MB / 362 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/0.5787, allocations: 8.907 MB / 370.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07732/0.6561, allocations: 39.37 MB / 410.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/0.6767, allocations: 3.593 MB / 413.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.6782, allocations: 372.1 kB / 414.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.6783, allocations: 51.56 kB / 414.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=148): time 6.563e-06/0.6783, allocations: 0 / 414.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.07399/0.7523, allocations: 13.68 MB / 427.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.7525, allocations: 141.5 kB / 428.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009805/0.7623, allocations: 3.819 MB / 431.9 MB, free: 8.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004339/0.7628, allocations: 45.7 kB / 432 MB, free: 8.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003695/0.7665, allocations: 3.161 MB / 435.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.7677, allocations: 0.6108 MB / 435.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006885/0.7685, allocations: 119.9 kB / 435.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005603/0.769, allocations: 0.554 MB / 436.4 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006164/0.7752, allocations: 2.014 MB / 438.4 MB, free: 2.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2295/1.005, allocations: 5.791 MB / 444.2 MB, free: 120.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00905/1.014, allocations: 3.342 MB / 447.5 MB, free: 120.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002616/1.014, allocations: 37.5 kB / 447.6 MB, free: 120.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02575/1.04, allocations: 8.298 MB / 455.9 MB, free: 117.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/1.04, allocations: 64.66 kB / 455.9 MB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/1.04, allocations: 133.2 kB / 456.1 MB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/1.045, allocations: 0.9301 MB / 457 MB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008326/1.053, allocations: 1.374 MB / 458.4 MB, free: 117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.063, allocations: 4.976 MB / 463.4 MB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/1.07, allocations: 323.5 kB / 463.7 MB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.071, allocations: 376.9 kB / 464 MB, free: 114.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * 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 (733): * Single equations (assignments): 729 * 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.004968/1.076, allocations: 2.063 MB / 466.1 MB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007889/1.077, allocations: 345.8 kB / 466.4 MB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009183/1.086, allocations: 2.939 MB / 469.4 MB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/1.086, allocations: 18.31 kB / 469.4 MB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.086, allocations: 3.562 kB / 469.4 MB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.593e-05/1.086, allocations: 3.75 kB / 469.4 MB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.107, allocations: 7.51 MB / 476.9 MB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/1.107, allocations: 11.05 kB / 476.9 MB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.109, allocations: 239.7 kB / 477.2 MB, free: 106.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003749/1.113, allocations: 0.7147 MB / 477.9 MB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003381/1.113, allocations: 32 kB / 477.9 MB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008754/1.122, allocations: 4.517 MB / 482.4 MB, free: 101.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.122, allocations: 4.031 kB / 482.4 MB, free: 101.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.135, allocations: 5.495 MB / 487.9 MB, free: 95.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.137, allocations: 0.6253 MB / 488.5 MB, free: 95.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/1.138, allocations: 24 kB / 488.6 MB, free: 95.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002674/1.141, allocations: 92.23 kB / 488.7 MB, free: 95.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004524/1.142, allocations: 92.88 kB / 488.7 MB, free: 95.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.142, allocations: 43.98 kB / 488.8 MB, free: 95.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005498/1.147, allocations: 2.673 MB / 491.5 MB, free: 92.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.147, allocations: 0 / 491.5 MB, free: 92.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006476/1.154, allocations: 0.9754 MB / 492.4 MB, free: 91.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 119 * 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.0007563/1.155, allocations: 179.5 kB / 492.6 MB, free: 91.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0111/1.166, allocations: 4.848 MB / 497.5 MB, free: 86.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.166, allocations: 1.969 kB / 497.5 MB, free: 86.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.169, allocations: 1.427 MB / 498.9 MB, free: 84.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.172, allocations: 403 kB / 499.3 MB, free: 84.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/1.195, allocations: 10.46 MB / 0.4978 GB, free: 74.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005795/1.2, allocations: 3.311 MB / 0.501 GB, free: 70.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.008099/1.209, allocations: 1.92 MB / 0.5029 GB, free: 68.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.21, allocations: 239.4 kB / 0.5031 GB, free: 68.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.634e-06/1.21, allocations: 3.938 kB / 0.5031 GB, free: 68.57 MB / 362.7 MB Notification: Performance of Templates: time 0.09302/1.303, allocations: 33.4 MB / 0.5358 GB, free: 35.28 MB / 362.7 MB