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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 194.9 MB / 208 MB, free: 3.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.528e-05, allocations: 0 / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07639/0.07644, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3522/0.4287, allocations: 92.29 MB / 392.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4289, allocations: 88.28 kB / 392.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3039/0.7329, allocations: 83.79 MB / 476.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.609e-06/0.7329, allocations: 0 / 476.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002375/0.7332, allocations: 76 kB / 476.1 MB, free: 11.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01858/0.7518, allocations: 4.483 MB / 480.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.7518, allocations: 8.031 kB / 480.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.7652, allocations: 2.217 MB / 482.8 MB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.7802, allocations: 4.45 MB / 487.3 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004744/0.7807, allocations: 324.3 kB / 487.6 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/0.7828, allocations: 435.8 kB / 488 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/0.8117, allocations: 10.64 MB / 498.7 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.812, allocations: 63.39 kB / 498.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/0.8137, allocations: 211.9 kB / 498.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00224/0.8159, allocations: 1.002 MB / 499.9 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.8395, allocations: 8.652 MB / 0.4967 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2974/1.137, allocations: 48.86 MB / 0.5444 GB, free: 40.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/1.149, allocations: 3.48 MB / 0.5478 GB, free: 39.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/1.152, allocations: 1.77 MB / 0.5495 GB, free: 39.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008678/1.161, allocations: 4.366 MB / 0.5538 GB, free: 38.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/1.161, allocations: 44.97 kB / 0.5538 GB, free: 38.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.276e-06/1.161, allocations: 0 / 0.5538 GB, free: 38.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.02753/1.188, allocations: 9.733 MB / 0.5633 GB, free: 35.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.188, allocations: 146.3 kB / 0.5635 GB, free: 35.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007109/1.196, allocations: 3.667 MB / 0.567 GB, free: 34.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003024/1.196, allocations: 43.33 kB / 0.5671 GB, free: 34.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.198, allocations: 3.184 MB / 0.5702 GB, free: 33.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007335/1.199, allocations: 0.5818 MB / 0.5708 GB, free: 32.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/1.2, allocations: 119.7 kB / 0.5709 GB, free: 32.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003619/1.2, allocations: 0.558 MB / 0.5714 GB, free: 32.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/1.204, allocations: 1.921 MB / 0.5733 GB, free: 32.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00563/1.209, allocations: 5.666 MB / 0.5788 GB, free: 27.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006261/1.215, allocations: 3.288 MB / 0.582 GB, free: 26.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/1.216, allocations: 39.78 kB / 0.5821 GB, free: 26.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02364/1.239, allocations: 7.687 MB / 0.5896 GB, free: 24.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.24, allocations: 66.3 kB / 0.5896 GB, free: 24.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/1.24, allocations: 139.9 kB / 0.5898 GB, free: 24.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002914/1.243, allocations: 0.914 MB / 0.5907 GB, free: 24.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005885/1.249, allocations: 1.387 MB / 0.592 GB, free: 23.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/1.256, allocations: 4.774 MB / 0.5967 GB, free: 21.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.262, allocations: 328.9 kB / 0.597 GB, free: 21.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.263, allocations: 373.8 kB / 0.5974 GB, free: 21.14 MB / 394.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.00107/1.264, allocations: 0.5632 MB / 0.5979 GB, free: 20.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007504/1.265, allocations: 348.9 kB / 0.5982 GB, free: 20.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006195/1.271, allocations: 2.813 MB / 0.601 GB, free: 19.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.663e-05/1.271, allocations: 17.72 kB / 0.601 GB, free: 19.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.271, allocations: 3.75 kB / 0.601 GB, free: 19.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.271, allocations: 7.266 kB / 0.601 GB, free: 19.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.287, allocations: 6.95 MB / 0.6078 GB, free: 17.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.287, allocations: 4 kB / 0.6078 GB, free: 17.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.289, allocations: 240.9 kB / 0.608 GB, free: 17.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/1.291, allocations: 0.6988 MB / 0.6087 GB, free: 16.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/1.292, allocations: 27.61 kB / 0.6087 GB, free: 16.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006683/1.298, allocations: 4.337 MB / 0.613 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.543e-06/1.298, allocations: 3.938 kB / 0.613 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009793/1.308, allocations: 5.088 MB / 0.618 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.31, allocations: 0.6097 MB / 0.6186 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008552/1.311, allocations: 27.52 kB / 0.6186 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.313, allocations: 88.77 kB / 0.6187 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/1.314, allocations: 79.81 kB / 0.6187 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.314, allocations: 38.86 kB / 0.6188 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005256/1.319, allocations: 2.559 MB / 0.6213 GB, free: 9.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.184e-06/1.319, allocations: 0 / 0.6213 GB, free: 9.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006631/1.326, allocations: 0.9573 MB / 0.6222 GB, free: 8.113 MB / 394.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.0005331/1.326, allocations: 157.5 kB / 0.6224 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008564/1.335, allocations: 4.462 MB / 0.6267 GB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.654e-06/1.335, allocations: 3.188 kB / 0.6267 GB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/1.337, allocations: 1.315 MB / 0.628 GB, free: 18.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.34, allocations: 397.8 kB / 0.6284 GB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.358, allocations: 7.162 MB / 0.6354 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006697/1.365, allocations: 3.32 MB / 0.6386 GB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006715/1.372, allocations: 1.864 MB / 0.6404 GB, free: 8.312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.373, allocations: 233.8 kB / 0.6407 GB, free: 8.094 MB / 410.7 MB Notification: Performance of SimCode: time 1.831e-06/1.373, allocations: 0 / 0.6407 GB, free: 8.094 MB / 410.7 MB Notification: Performance of Templates: time 0.3286/1.701, allocations: 32.15 MB / 0.6721 GB, free: 100.7 MB / 426.7 MB