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.581/1.581, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.904e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2103, allocations: 38.76 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.3562, allocations: 86.57 MB / 350.3 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.3565, allocations: 79.95 kB / 350.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.481/0.8375, allocations: 83.78 MB / 434.2 MB, free: 39.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.431e-06/0.8376, allocations: 0 / 434.2 MB, free: 39.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002051/0.8378, allocations: 84 kB / 434.3 MB, free: 39.36 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0165/0.8543, allocations: 4.478 MB / 438.8 MB, free: 34.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.8543, allocations: 8.031 kB / 438.8 MB, free: 34.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.8666, allocations: 2.214 MB / 441 MB, free: 32.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.8792, allocations: 4.454 MB / 445.4 MB, free: 28.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.8796, allocations: 324.4 kB / 445.8 MB, free: 27.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/0.8814, allocations: 427.8 kB / 446.2 MB, free: 27.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/0.9051, allocations: 10.64 MB / 456.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/0.9053, allocations: 59.41 kB / 456.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/0.9065, allocations: 207.9 kB / 457.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/0.9081, allocations: 0.9944 MB / 458.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.9284, allocations: 8.655 MB / 466.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2957/1.224, allocations: 48.88 MB / 0.5035 GB, free: 42.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/1.238, allocations: 3.468 MB / 0.5069 GB, free: 41.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/1.241, allocations: 1.772 MB / 0.5086 GB, free: 41.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008721/1.25, allocations: 4.365 MB / 0.5129 GB, free: 40.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.25, allocations: 44.91 kB / 0.5129 GB, free: 40.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 5.98e-06/1.25, allocations: 0 / 0.5129 GB, free: 40.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.02838/1.278, allocations: 9.733 MB / 0.5224 GB, free: 37.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/1.278, allocations: 143.4 kB / 0.5226 GB, free: 37.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007967/1.286, allocations: 3.675 MB / 0.5262 GB, free: 37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/1.286, allocations: 50.8 kB / 0.5262 GB, free: 36.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.289, allocations: 3.18 MB / 0.5293 GB, free: 35.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007139/1.289, allocations: 0.5894 MB / 0.5299 GB, free: 34.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/1.29, allocations: 115.6 kB / 0.53 GB, free: 34.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00035/1.29, allocations: 0.5558 MB / 0.5306 GB, free: 34.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/1.294, allocations: 1.915 MB / 0.5324 GB, free: 34.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/1.301, allocations: 5.668 MB / 0.538 GB, free: 29.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006148/1.307, allocations: 3.284 MB / 0.5412 GB, free: 29.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.307, allocations: 39.69 kB / 0.5412 GB, free: 29.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01863/1.326, allocations: 7.698 MB / 0.5487 GB, free: 27.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.326, allocations: 62.38 kB / 0.5488 GB, free: 27.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.326, allocations: 138 kB / 0.5489 GB, free: 27.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.329, allocations: 0.9209 MB / 0.5498 GB, free: 27.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005791/1.335, allocations: 1.381 MB / 0.5512 GB, free: 26.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/1.342, allocations: 4.774 MB / 0.5558 GB, free: 24.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006021/1.348, allocations: 329.3 kB / 0.5561 GB, free: 24.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.349, allocations: 370 kB / 0.5565 GB, free: 24.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (729): * Single equations (assignments): 725 * 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.001083/1.351, allocations: 0.5696 MB / 0.557 GB, free: 23.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/1.351, allocations: 351.5 kB / 0.5574 GB, free: 23.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006713/1.358, allocations: 2.799 MB / 0.5601 GB, free: 21.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/1.358, allocations: 22.34 kB / 0.5601 GB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.358, allocations: 0 / 0.5601 GB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/1.358, allocations: 10.52 kB / 0.5601 GB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/1.375, allocations: 6.959 MB / 0.5669 GB, free: 16.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/1.375, allocations: 0 / 0.5669 GB, free: 16.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.376, allocations: 235.5 kB / 0.5672 GB, free: 16.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/1.379, allocations: 0.706 MB / 0.5679 GB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/1.379, allocations: 27.28 kB / 0.5679 GB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006344/1.386, allocations: 4.34 MB / 0.5721 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.85e-06/1.386, allocations: 0 / 0.5721 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009068/1.395, allocations: 5.089 MB / 0.5771 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.397, allocations: 0.6184 MB / 0.5777 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007861/1.398, allocations: 24 kB / 0.5777 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/1.4, allocations: 86.42 kB / 0.5778 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/1.4, allocations: 81.42 kB / 0.5779 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.4, allocations: 39.38 kB / 0.5779 GB, free: 6.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005349/1.406, allocations: 2.554 MB / 0.5804 GB, free: 4.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.112e-06/1.406, allocations: 0 / 0.5804 GB, free: 4.242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006498/1.412, allocations: 0.9695 MB / 0.5814 GB, free: 3.285 MB / 346.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 (114): * Single equations (assignments): 110 * 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.0005243/1.413, allocations: 158.9 kB / 0.5815 GB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/1.426, allocations: 4.685 MB / 0.5861 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.281e-06/1.426, allocations: 4 kB / 0.5861 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002721/1.428, allocations: 1.311 MB / 0.5874 GB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.431, allocations: 409.5 kB / 0.5878 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.449, allocations: 7.159 MB / 0.5948 GB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006719/1.456, allocations: 3.313 MB / 0.598 GB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00731/1.464, allocations: 1.866 MB / 0.5998 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.465, allocations: 243.4 kB / 0.6 GB, free: 3.527 MB / 362.7 MB Notification: Performance of SimCode: time 1.876e-06/1.465, allocations: 0 / 0.6 GB, free: 3.527 MB / 362.7 MB Notification: Performance of Templates: time 0.09994/1.565, allocations: 32.13 MB / 0.6314 GB, free: 3.992 MB / 394.7 MB