Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.303e-05, allocations: 6.391 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.08976, allocations: 50.41 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3959/0.4857, allocations: 100.2 MB / 442.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.486, allocations: 84.77 kB / 442.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.628/1.114, allocations: 95.32 MB / 0.5255 GB, free: 92.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.488e-06/1.114, allocations: 0 / 0.5255 GB, free: 92.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003231/1.114, allocations: 106.1 kB / 0.5256 GB, free: 92.86 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02219/1.137, allocations: 5.338 MB / 0.5309 GB, free: 92.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.137, allocations: 11.69 kB / 0.5309 GB, free: 92.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/1.15, allocations: 2.281 MB / 0.5331 GB, free: 91.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/1.166, allocations: 4.688 MB / 0.5377 GB, free: 91.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005215/1.166, allocations: 380 kB / 0.538 GB, free: 91.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/1.169, allocations: 0.4894 MB / 0.5385 GB, free: 91.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03296/1.201, allocations: 12.38 MB / 0.5506 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002942/1.202, allocations: 74.86 kB / 0.5507 GB, free: 88.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/1.204, allocations: 235.8 kB / 0.5509 GB, free: 88.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/1.206, allocations: 1.147 MB / 0.552 GB, free: 88.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02746/1.233, allocations: 10.4 MB / 0.5622 GB, free: 88.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0837/1.317, allocations: 55.55 MB / 0.6164 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.335, allocations: 4.917 MB / 0.6212 GB, free: 47.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00496/1.34, allocations: 3.006 MB / 0.6242 GB, free: 46.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.341, allocations: 0.6828 MB / 0.6248 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.341, allocations: 54.84 kB / 0.6249 GB, free: 45.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.806e-06/1.341, allocations: 0 / 0.6249 GB, free: 45.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.06872/1.41, allocations: 20.5 MB / 0.6449 GB, free: 30.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.41, allocations: 150.5 kB / 0.6451 GB, free: 30.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008176/1.418, allocations: 3.971 MB / 0.6489 GB, free: 27.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005299/1.419, allocations: 64.44 kB / 0.649 GB, free: 27.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.421, allocations: 3.381 MB / 0.6523 GB, free: 24.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.422, allocations: 0.8728 MB / 0.6531 GB, free: 23.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005922/1.423, allocations: 135.8 kB / 0.6533 GB, free: 23.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003762/1.423, allocations: 0.6001 MB / 0.6539 GB, free: 22.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005438/1.429, allocations: 2.816 MB / 0.6566 GB, free: 20.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007772/1.437, allocations: 6.702 MB / 0.6632 GB, free: 11.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007942/1.445, allocations: 4.314 MB / 0.6674 GB, free: 8.176 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.445, allocations: 40 kB / 0.6674 GB, free: 8.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02276/1.468, allocations: 9.866 MB / 0.677 GB, free: 15.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.468, allocations: 64 kB / 0.6771 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002055/1.468, allocations: 140 kB / 0.6772 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/1.472, allocations: 1.13 MB / 0.6783 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008217/1.48, allocations: 1.665 MB / 0.68 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.492, allocations: 5.928 MB / 0.6858 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007205/1.499, allocations: 407.5 kB / 0.6861 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/1.5, allocations: 419.9 kB / 0.6865 GB, free: 6.137 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (835): * Single equations (assignments): 831 * 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.001583/1.502, allocations: 0.6233 MB / 0.6872 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.503, allocations: 402.8 kB / 0.6875 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.277/1.78, allocations: 5.133 MB / 0.6926 GB, free: 97.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-05/1.78, allocations: 28.19 kB / 0.6926 GB, free: 97.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.78, allocations: 4.062 kB / 0.6926 GB, free: 97.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-05/1.78, allocations: 11.92 kB / 0.6926 GB, free: 97.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03077/1.811, allocations: 11.41 MB / 0.7037 GB, free: 96.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/1.811, allocations: 4 kB / 0.7037 GB, free: 96.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/1.815, allocations: 474.5 kB / 0.7042 GB, free: 96.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/1.818, allocations: 0.9409 MB / 0.7051 GB, free: 96.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005526/1.819, allocations: 42.59 kB / 0.7052 GB, free: 96.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009442/1.828, allocations: 5.633 MB / 0.7107 GB, free: 95.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.841e-06/1.828, allocations: 7.25 kB / 0.7107 GB, free: 95.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.845, allocations: 9.118 MB / 0.7196 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/1.848, allocations: 0.8642 MB / 0.7204 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/1.849, allocations: 42.67 kB / 0.7204 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.852, allocations: 162 kB / 0.7206 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006376/1.853, allocations: 150.6 kB / 0.7207 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003751/1.853, allocations: 67.3 kB / 0.7208 GB, free: 94.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006074/1.859, allocations: 2.771 MB / 0.7235 GB, free: 93.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.311e-06/1.859, allocations: 0 / 0.7235 GB, free: 93.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008411/1.868, allocations: 1.208 MB / 0.7247 GB, free: 93.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0007843/1.869, allocations: 200.8 kB / 0.7249 GB, free: 93.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.013/1.882, allocations: 6.582 MB / 0.7313 GB, free: 92.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.124e-06/1.882, allocations: 1.469 kB / 0.7313 GB, free: 92.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004946/1.887, allocations: 2.478 MB / 0.7337 GB, free: 91.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/1.89, allocations: 444.9 kB / 0.7342 GB, free: 91.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/1.914, allocations: 10.17 MB / 0.7441 GB, free: 87.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006775/1.92, allocations: 3.771 MB / 0.7478 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/1.923, allocations: 351.1 kB / 0.7481 GB, free: 86.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.948e-06/1.923, allocations: 0 / 0.7481 GB, free: 86.29 MB / 458.7 MB Notification: Performance of Templates: time 0.1216/2.044, allocations: 86.5 MB / 0.8326 GB, free: 23.69 MB / 458.7 MB