Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.12e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09424, allocations: 50.41 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.488, allocations: 99.48 MB / 442 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4883, allocations: 90.12 kB / 442.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3216/0.81, allocations: 81.79 MB / 0.5116 GB, free: 13.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.238e-06/0.81, allocations: 0 / 0.5116 GB, free: 13.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002511/0.8103, allocations: 83.92 kB / 0.5117 GB, free: 13.16 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.01831/0.8286, allocations: 4.325 MB / 0.5159 GB, free: 8.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.8287, allocations: 16.03 kB / 0.5159 GB, free: 8.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.8418, allocations: 2.174 MB / 0.5181 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.8562, allocations: 4.231 MB / 0.5222 GB, free: 2.281 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004455/0.8567, allocations: 308 kB / 0.5225 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.8586, allocations: 407.8 kB / 0.5229 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2788/1.137, allocations: 10.19 MB / 0.5328 GB, free: 97.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002441/1.138, allocations: 60.62 kB / 0.5329 GB, free: 97.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/1.139, allocations: 198 kB / 0.5331 GB, free: 97.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/1.141, allocations: 0.9364 MB / 0.534 GB, free: 97.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/1.163, allocations: 8.253 MB / 0.5421 GB, free: 97.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0554/1.219, allocations: 47.35 MB / 0.5883 GB, free: 65.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/1.231, allocations: 3.224 MB / 0.5915 GB, free: 64.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/1.234, allocations: 1.61 MB / 0.593 GB, free: 63.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008227/1.242, allocations: 4.052 MB / 0.597 GB, free: 61.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.242, allocations: 53.88 kB / 0.597 GB, free: 61.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 6.115e-06/1.242, allocations: 0 / 0.597 GB, free: 61.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.02788/1.27, allocations: 8.875 MB / 0.6057 GB, free: 57.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.27, allocations: 143.7 kB / 0.6058 GB, free: 57.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007604/1.278, allocations: 3.602 MB / 0.6094 GB, free: 56.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002472/1.278, allocations: 46.09 kB / 0.6094 GB, free: 56.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/1.28, allocations: 3.006 MB / 0.6123 GB, free: 53.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006527/1.281, allocations: 0.5143 MB / 0.6128 GB, free: 53.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/1.281, allocations: 113.8 kB / 0.6129 GB, free: 53.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/1.282, allocations: 0.543 MB / 0.6135 GB, free: 52.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/1.285, allocations: 1.762 MB / 0.6152 GB, free: 52.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005692/1.291, allocations: 5.423 MB / 0.6205 GB, free: 46.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005793/1.297, allocations: 3.074 MB / 0.6235 GB, free: 45.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/1.297, allocations: 38.28 kB / 0.6235 GB, free: 45.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01758/1.315, allocations: 7.16 MB / 0.6305 GB, free: 43.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.315, allocations: 64 kB / 0.6306 GB, free: 42.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/1.315, allocations: 136.8 kB / 0.6307 GB, free: 42.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/1.318, allocations: 0.9131 MB / 0.6316 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005794/1.324, allocations: 1.312 MB / 0.6329 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/1.331, allocations: 4.757 MB / 0.6375 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/1.337, allocations: 309.8 kB / 0.6378 GB, free: 36.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/1.338, allocations: 368.2 kB / 0.6382 GB, free: 36.16 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.00116/1.34, allocations: 0.5443 MB / 0.6387 GB, free: 35.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007208/1.34, allocations: 335.6 kB / 0.639 GB, free: 35.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005796/1.346, allocations: 2.446 MB / 0.6414 GB, free: 33.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-05/1.346, allocations: 17.41 kB / 0.6414 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.346, allocations: 8 kB / 0.6414 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/1.346, allocations: 11.06 kB / 0.6415 GB, free: 33.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.361, allocations: 6.266 MB / 0.6476 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.361, allocations: 0 / 0.6476 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.363, allocations: 199.4 kB / 0.6478 GB, free: 28.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/1.365, allocations: 0.7011 MB / 0.6484 GB, free: 27.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/1.366, allocations: 23.75 kB / 0.6485 GB, free: 27.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006449/1.372, allocations: 4.343 MB / 0.6527 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.395e-06/1.372, allocations: 0 / 0.6527 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008143/1.38, allocations: 4.529 MB / 0.6571 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.381, allocations: 390.2 kB / 0.6575 GB, free: 19.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005879/1.382, allocations: 17.17 kB / 0.6575 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.384, allocations: 79.98 kB / 0.6576 GB, free: 19.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/1.384, allocations: 72.34 kB / 0.6577 GB, free: 19.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.384, allocations: 36.61 kB / 0.6577 GB, free: 19.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005338/1.39, allocations: 2.502 MB / 0.6601 GB, free: 17.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.39, allocations: 0 / 0.6601 GB, free: 17.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006334/1.396, allocations: 0.9027 MB / 0.661 GB, free: 16.27 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.0004955/1.397, allocations: 167.6 kB / 0.6612 GB, free: 16.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007829/1.404, allocations: 4.095 MB / 0.6652 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.314e-06/1.404, allocations: 4 kB / 0.6652 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.406, allocations: 1.131 MB / 0.6663 GB, free: 11.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.409, allocations: 393.1 kB / 0.6667 GB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.425, allocations: 7.154 MB / 0.6737 GB, free: 4.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00553/1.431, allocations: 3.179 MB / 0.6768 GB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.432, allocations: 267.4 kB / 0.677 GB, free: 2.004 MB / 442.7 MB Notification: Performance of SimCode: time 1.958e-06/1.432, allocations: 4 kB / 0.677 GB, free: 2 MB / 442.7 MB Notification: Performance of Templates: time 0.3667/1.799, allocations: 67.06 MB / 0.7425 GB, free: 94.91 MB / 458.7 MB