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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.4e-05, allocations: 6.812 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09283, allocations: 50.4 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.4816, allocations: 99.42 MB / 442 MB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/0.482, allocations: 86.52 kB / 442.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3102/0.7922, allocations: 81.8 MB / 0.5116 GB, free: 12.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.097e-06/0.7922, allocations: 0 / 0.5116 GB, free: 12.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002357/0.7925, allocations: 79.94 kB / 0.5117 GB, free: 12.85 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.01713/0.8096, allocations: 4.336 MB / 0.5159 GB, free: 8.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.8097, allocations: 8.031 kB / 0.5159 GB, free: 8.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.8221, allocations: 2.174 MB / 0.518 GB, free: 6.262 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.8359, allocations: 4.241 MB / 0.5222 GB, free: 1.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.8364, allocations: 300 kB / 0.5225 GB, free: 1.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.8382, allocations: 407.8 kB / 0.5228 GB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2733/1.112, allocations: 10.19 MB / 0.5328 GB, free: 97.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/1.112, allocations: 65.53 kB / 0.5329 GB, free: 97.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/1.113, allocations: 198.1 kB / 0.533 GB, free: 97.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/1.115, allocations: 0.9381 MB / 0.534 GB, free: 97.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/1.136, allocations: 8.248 MB / 0.542 GB, free: 97.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/1.189, allocations: 47.35 MB / 0.5883 GB, free: 65.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.201, allocations: 3.221 MB / 0.5914 GB, free: 64.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/1.204, allocations: 1.606 MB / 0.593 GB, free: 63.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007917/1.212, allocations: 4.059 MB / 0.5969 GB, free: 61.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.212, allocations: 46.72 kB / 0.597 GB, free: 61.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 5.422e-06/1.212, allocations: 0 / 0.597 GB, free: 61.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.0268/1.239, allocations: 8.874 MB / 0.6056 GB, free: 57.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/1.239, allocations: 142.3 kB / 0.6058 GB, free: 57.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006431/1.245, allocations: 3.607 MB / 0.6093 GB, free: 56.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/1.246, allocations: 41.27 kB / 0.6093 GB, free: 56.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.248, allocations: 3.083 MB / 0.6124 GB, free: 53.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005601/1.248, allocations: 0.5169 MB / 0.6129 GB, free: 53.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/1.248, allocations: 110.3 kB / 0.613 GB, free: 53.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003172/1.249, allocations: 0.5426 MB / 0.6135 GB, free: 52.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/1.252, allocations: 1.757 MB / 0.6152 GB, free: 52.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/1.257, allocations: 5.423 MB / 0.6205 GB, free: 46.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005376/1.263, allocations: 3.077 MB / 0.6235 GB, free: 45.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.889e-05/1.263, allocations: 39.5 kB / 0.6236 GB, free: 45.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01788/1.281, allocations: 7.281 MB / 0.6307 GB, free: 42.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/1.281, allocations: 60 kB / 0.6307 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.281, allocations: 136 kB / 0.6308 GB, free: 42.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/1.284, allocations: 0.9122 MB / 0.6317 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005183/1.289, allocations: 1.312 MB / 0.633 GB, free: 40.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00737/1.297, allocations: 4.764 MB / 0.6377 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/1.302, allocations: 308.2 kB / 0.638 GB, free: 36.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.303, allocations: 364.6 kB / 0.6383 GB, free: 35.73 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.0009802/1.304, allocations: 0.5497 MB / 0.6389 GB, free: 35.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006758/1.305, allocations: 335.5 kB / 0.6392 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/1.311, allocations: 2.454 MB / 0.6416 GB, free: 32.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/1.311, allocations: 12 kB / 0.6416 GB, free: 32.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.311, allocations: 4 kB / 0.6416 GB, free: 32.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/1.311, allocations: 7.469 kB / 0.6416 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/1.325, allocations: 6.276 MB / 0.6477 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.325, allocations: 4 kB / 0.6477 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.326, allocations: 195.1 kB / 0.6479 GB, free: 27.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/1.329, allocations: 0.695 MB / 0.6486 GB, free: 27.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/1.329, allocations: 24 kB / 0.6486 GB, free: 27.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/1.335, allocations: 4.336 MB / 0.6528 GB, free: 23.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.336, allocations: 7.906 kB / 0.6529 GB, free: 23.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008043/1.344, allocations: 4.533 MB / 0.6573 GB, free: 19.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.345, allocations: 394.5 kB / 0.6577 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005614/1.345, allocations: 20 kB / 0.6577 GB, free: 19.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.347, allocations: 76.3 kB / 0.6577 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/1.347, allocations: 68.41 kB / 0.6578 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.347, allocations: 35.61 kB / 0.6578 GB, free: 18.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005186/1.353, allocations: 2.504 MB / 0.6603 GB, free: 16.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.134e-06/1.353, allocations: 3.938 kB / 0.6603 GB, free: 16.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006101/1.359, allocations: 0.8972 MB / 0.6612 GB, free: 15.82 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.0004427/1.359, allocations: 169.2 kB / 0.6613 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007822/1.367, allocations: 4.1 MB / 0.6653 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.367, allocations: 0 / 0.6653 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/1.369, allocations: 1.123 MB / 0.6664 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.371, allocations: 396.1 kB / 0.6668 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.387, allocations: 6.701 MB / 0.6734 GB, free: 4.648 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004606/1.391, allocations: 3.181 MB / 0.6765 GB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00608/1.397, allocations: 1.789 MB / 0.6782 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008687/1.398, allocations: 219.4 kB / 0.6784 GB, free: 180 kB / 442.7 MB Notification: Performance of SimCode: time 1.678e-06/1.398, allocations: 4 kB / 0.6784 GB, free: 176 kB / 442.7 MB Notification: Performance of Templates: time 0.353/1.751, allocations: 30.6 MB / 0.7083 GB, free: 98.65 MB / 458.7 MB