Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.229e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09407/0.09413, allocations: 50.43 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.4867, allocations: 100.7 MB / 443.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.487, allocations: 89.7 kB / 443.4 MB, free: 9.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3597/0.8467, allocations: 92.45 MB / 0.5233 GB, free: 1.328 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-06/0.8467, allocations: 0 / 0.5233 GB, free: 1.328 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002702/0.847, allocations: 91.94 kB / 0.5234 GB, free: 1.238 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.2688/1.116, allocations: 4.41 MB / 0.5277 GB, free: 96.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.116, allocations: 8.906 kB / 0.5277 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02412/1.14, allocations: 4.442 MB / 0.532 GB, free: 96.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/1.155, allocations: 4.756 MB / 0.5367 GB, free: 95.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/1.156, allocations: 336.1 kB / 0.537 GB, free: 95.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/1.158, allocations: 445.1 kB / 0.5374 GB, free: 95.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/1.186, allocations: 11.16 MB / 0.5483 GB, free: 93.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/1.187, allocations: 60.59 kB / 0.5484 GB, free: 93.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001366/1.188, allocations: 220.6 kB / 0.5486 GB, free: 93.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001878/1.19, allocations: 1.097 MB / 0.5496 GB, free: 93.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/1.213, allocations: 8.948 MB / 0.5584 GB, free: 93.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06276/1.276, allocations: 50.38 MB / 0.6076 GB, free: 57.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/1.292, allocations: 4.74 MB / 0.6122 GB, free: 55.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003842/1.296, allocations: 2.299 MB / 0.6144 GB, free: 54.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/1.311, allocations: 7.264 MB / 0.6215 GB, free: 51.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.311, allocations: 50.53 kB / 0.6216 GB, free: 51.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 6.576e-06/1.311, allocations: 2.531 kB / 0.6216 GB, free: 51.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=198): time 0.05472/1.365, allocations: 15.24 MB / 0.6365 GB, free: 40.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/1.365, allocations: 178.8 kB / 0.6366 GB, free: 40.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008085/1.374, allocations: 4.045 MB / 0.6406 GB, free: 36.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003854/1.374, allocations: 57.7 kB / 0.6406 GB, free: 36.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.376, allocations: 3.119 MB / 0.6437 GB, free: 33.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009542/1.377, allocations: 0.7627 MB / 0.6444 GB, free: 32.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005742/1.378, allocations: 127.8 kB / 0.6446 GB, free: 32.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003903/1.378, allocations: 0.5722 MB / 0.6451 GB, free: 32.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004412/1.383, allocations: 2.162 MB / 0.6472 GB, free: 30.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006907/1.39, allocations: 5.849 MB / 0.6529 GB, free: 23.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006731/1.396, allocations: 3.549 MB / 0.6564 GB, free: 20.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.397, allocations: 36 kB / 0.6564 GB, free: 19.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.01893/1.416, allocations: 8.068 MB / 0.6643 GB, free: 13.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.416, allocations: 64 kB / 0.6644 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/1.416, allocations: 135.9 kB / 0.6645 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/1.419, allocations: 0.9108 MB / 0.6654 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006319/1.425, allocations: 1.477 MB / 0.6668 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008713/1.434, allocations: 5.764 MB / 0.6725 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006394/1.44, allocations: 351.5 kB / 0.6728 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/1.442, allocations: 376 kB / 0.6732 GB, free: 4.895 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 49 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 752 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001718/1.443, allocations: 0.5883 MB / 0.6737 GB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009109/1.444, allocations: 398.8 kB / 0.6741 GB, free: 3.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008128/1.452, allocations: 3.555 MB / 0.6776 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.955e-05/1.452, allocations: 20 kB / 0.6776 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.453, allocations: 8 kB / 0.6776 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/1.453, allocations: 7.969 kB / 0.6776 GB, free: 312 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/1.479, allocations: 9.087 MB / 0.6865 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/1.479, allocations: 7.844 kB / 0.6865 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/1.481, allocations: 387.4 kB / 0.6869 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/1.484, allocations: 0.7301 MB / 0.6876 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000431/1.485, allocations: 39.98 kB / 0.6876 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/1.495, allocations: 5.302 MB / 0.6928 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.495, allocations: 11.94 kB / 0.6928 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2789/1.774, allocations: 7.137 MB / 0.6998 GB, free: 99.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.775, allocations: 474.6 kB / 0.7002 GB, free: 99.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.776, allocations: 38.58 kB / 0.7003 GB, free: 99.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.779, allocations: 122.8 kB / 0.7004 GB, free: 99.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004484/1.779, allocations: 128.1 kB / 0.7005 GB, free: 99.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.779, allocations: 58.97 kB / 0.7006 GB, free: 99.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006529/1.786, allocations: 2.886 MB / 0.7034 GB, free: 99.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.014e-06/1.786, allocations: 0 / 0.7034 GB, free: 99.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007026/1.793, allocations: 1.055 MB / 0.7044 GB, free: 99.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006168/1.794, allocations: 194.2 kB / 0.7046 GB, free: 99.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01048/1.804, allocations: 5.144 MB / 0.7096 GB, free: 99.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.804, allocations: 3.938 kB / 0.7096 GB, free: 99.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/1.808, allocations: 1.866 MB / 0.7114 GB, free: 99.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/1.811, allocations: 472.2 kB / 0.7119 GB, free: 99.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/1.831, allocations: 8.925 MB / 0.7206 GB, free: 97.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006304/1.838, allocations: 3.554 MB / 0.7241 GB, free: 96.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.839, allocations: 316.1 kB / 0.7244 GB, free: 96.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.804e-06/1.839, allocations: 0 / 0.7244 GB, free: 96.74 MB / 458.7 MB Notification: Performance of Templates: time 0.1426/1.982, allocations: 77.82 MB / 0.8004 GB, free: 57.35 MB / 458.7 MB