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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.146e-05, allocations: 9.562 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.0903, allocations: 50.41 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.5744, allocations: 99.42 MB / 442.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5747, allocations: 89.06 kB / 442.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3446/0.9193, allocations: 81.79 MB / 0.5121 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.642e-06/0.9194, allocations: 4 kB / 0.5121 GB, free: 12.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002072/0.9196, allocations: 79.94 kB / 0.5122 GB, free: 12.89 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01637/0.936, allocations: 4.325 MB / 0.5164 GB, free: 8.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.9361, allocations: 16.02 kB / 0.5164 GB, free: 8.484 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/0.9487, allocations: 2.182 MB / 0.5185 GB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.9627, allocations: 4.229 MB / 0.5227 GB, free: 2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005316/0.9633, allocations: 300 kB / 0.523 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.9652, allocations: 407.8 kB / 0.5234 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2751/1.24, allocations: 10.19 MB / 0.5333 GB, free: 96.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004029/1.241, allocations: 63.11 kB / 0.5334 GB, free: 96.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00246/1.243, allocations: 198.4 kB / 0.5336 GB, free: 96.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/1.247, allocations: 0.9369 MB / 0.5345 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03249/1.279, allocations: 8.247 MB / 0.5425 GB, free: 96.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08978/1.369, allocations: 47.36 MB / 0.5888 GB, free: 64.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/1.386, allocations: 3.224 MB / 0.5919 GB, free: 63.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/1.389, allocations: 1.606 MB / 0.5935 GB, free: 62.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007713/1.396, allocations: 4.055 MB / 0.5974 GB, free: 60.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.396, allocations: 46.62 kB / 0.5975 GB, free: 60.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 5.197e-06/1.397, allocations: 0 / 0.5975 GB, free: 60.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.02557/1.422, allocations: 8.875 MB / 0.6062 GB, free: 56.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/1.422, allocations: 141.3 kB / 0.6063 GB, free: 56.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006618/1.429, allocations: 3.602 MB / 0.6098 GB, free: 55.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/1.429, allocations: 46.11 kB / 0.6099 GB, free: 55.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/1.431, allocations: 3.082 MB / 0.6129 GB, free: 52.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/1.432, allocations: 0.5173 MB / 0.6134 GB, free: 52.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/1.432, allocations: 110 kB / 0.6135 GB, free: 52.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003321/1.432, allocations: 0.5432 MB / 0.614 GB, free: 52.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/1.436, allocations: 1.758 MB / 0.6157 GB, free: 51.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/1.441, allocations: 5.417 MB / 0.621 GB, free: 45.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005529/1.447, allocations: 3.08 MB / 0.624 GB, free: 44.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-05/1.447, allocations: 35.34 kB / 0.6241 GB, free: 44.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01757/1.465, allocations: 7.279 MB / 0.6312 GB, free: 41.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.465, allocations: 64 kB / 0.6312 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.465, allocations: 136 kB / 0.6314 GB, free: 41.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/1.468, allocations: 0.9127 MB / 0.6322 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005434/1.473, allocations: 1.31 MB / 0.6335 GB, free: 39.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007293/1.481, allocations: 4.769 MB / 0.6382 GB, free: 35.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005676/1.486, allocations: 307.6 kB / 0.6385 GB, free: 35.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009031/1.487, allocations: 370.7 kB / 0.6388 GB, free: 35.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 38 (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.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 (694): * Single equations (assignments): 690 * 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.0008764/1.488, allocations: 0.549 MB / 0.6394 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006268/1.489, allocations: 331.7 kB / 0.6397 GB, free: 34.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/1.495, allocations: 2.455 MB / 0.6421 GB, free: 32.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/1.495, allocations: 16 kB / 0.6421 GB, free: 32.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.495, allocations: 4 kB / 0.6421 GB, free: 32.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/1.495, allocations: 3.703 kB / 0.6421 GB, free: 32.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.508, allocations: 6.27 MB / 0.6482 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.508, allocations: 0 / 0.6482 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.51, allocations: 196 kB / 0.6484 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/1.512, allocations: 0.6987 MB / 0.6491 GB, free: 26.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/1.512, allocations: 23.33 kB / 0.6491 GB, free: 26.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00647/1.519, allocations: 4.341 MB / 0.6534 GB, free: 22.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.519, allocations: 0 / 0.6534 GB, free: 22.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007963/1.527, allocations: 4.529 MB / 0.6578 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.528, allocations: 398.1 kB / 0.6582 GB, free: 18.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004898/1.529, allocations: 18.5 kB / 0.6582 GB, free: 18.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.53, allocations: 76.03 kB / 0.6582 GB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.53, allocations: 66.8 kB / 0.6583 GB, free: 18.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.53, allocations: 36 kB / 0.6583 GB, free: 18.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004513/1.535, allocations: 2.503 MB / 0.6608 GB, free: 16.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.954e-06/1.535, allocations: 0 / 0.6608 GB, free: 16.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005855/1.541, allocations: 0.9082 MB / 0.6617 GB, free: 15.11 MB / 442.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 (92): * Single equations (assignments): 88 * 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.000409/1.541, allocations: 159 kB / 0.6618 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008177/1.55, allocations: 4.106 MB / 0.6658 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.901e-06/1.55, allocations: 0 / 0.6658 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001973/1.552, allocations: 1.127 MB / 0.6669 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/1.554, allocations: 405.6 kB / 0.6673 GB, free: 9.898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.568, allocations: 6.685 MB / 0.6739 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004682/1.573, allocations: 3.187 MB / 0.677 GB, free: 1.363 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005849/1.578, allocations: 1.785 MB / 0.6787 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009285/1.579, allocations: 227.4 kB / 0.6789 GB, free: 15.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.87e-06/1.579, allocations: 4 kB / 0.6789 GB, free: 15.35 MB / 458.7 MB Notification: Performance of Templates: time 0.3499/1.929, allocations: 30.59 MB / 0.7088 GB, free: 97.82 MB / 458.7 MB