Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.976e-05, allocations: 0 / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.531, allocations: 92.03 MB / 434.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.5313, allocations: 91.38 kB / 434.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2349/0.7662, allocations: 58.33 MB / 493 MB, free: 12.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7663, allocations: 7.938 kB / 493 MB, free: 12.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.7664, allocations: 44 kB / 493.1 MB, free: 12.17 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007702/0.7741, allocations: 2.525 MB / 495.6 MB, free: 9.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.7742, allocations: 15.95 kB / 495.6 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.7863, allocations: 1.966 MB / 497.6 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.7977, allocations: 3.146 MB / 0.489 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.7979, allocations: 176.6 kB / 0.4891 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.799, allocations: 239.9 kB / 0.4894 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.8137, allocations: 6.711 MB / 0.4959 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.8139, allocations: 47.53 kB / 0.496 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005038/0.8144, allocations: 119.9 kB / 0.4961 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.8158, allocations: 0.7189 MB / 0.4968 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.8295, allocations: 5.563 MB / 0.5022 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3018/1.131, allocations: 33.37 MB / 0.5348 GB, free: 94.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005898/1.137, allocations: 2.265 MB / 0.537 GB, free: 93.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/1.139, allocations: 1.023 MB / 0.538 GB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/1.139, allocations: 11.27 kB / 0.538 GB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/1.139, allocations: 44.84 kB / 0.5381 GB, free: 93.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 5.985e-06/1.139, allocations: 0 / 0.5381 GB, free: 93.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.02153/1.161, allocations: 6.971 MB / 0.5449 GB, free: 91.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.161, allocations: 137.8 kB / 0.545 GB, free: 91.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00519/1.166, allocations: 2.485 MB / 0.5474 GB, free: 91.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/1.166, allocations: 38.27 kB / 0.5475 GB, free: 91.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/1.168, allocations: 2.066 MB / 0.5495 GB, free: 89.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/1.168, allocations: 437.3 kB / 0.5499 GB, free: 89.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/1.169, allocations: 86.88 kB / 0.55 GB, free: 89.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002784/1.169, allocations: 0.4996 MB / 0.5505 GB, free: 89.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/1.172, allocations: 1.355 MB / 0.5518 GB, free: 89.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/1.176, allocations: 4.134 MB / 0.5558 GB, free: 85.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/1.18, allocations: 2.37 MB / 0.5582 GB, free: 85.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.841e-05/1.18, allocations: 26.94 kB / 0.5582 GB, free: 85.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01376/1.194, allocations: 5.628 MB / 0.5637 GB, free: 85.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/1.194, allocations: 50.16 kB / 0.5637 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/1.194, allocations: 100.3 kB / 0.5638 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/1.197, allocations: 0.7958 MB / 0.5646 GB, free: 85.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/1.202, allocations: 1.001 MB / 0.5656 GB, free: 85.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/1.208, allocations: 4.104 MB / 0.5696 GB, free: 83.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004646/1.213, allocations: 284.1 kB / 0.5699 GB, free: 83.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006846/1.214, allocations: 272.1 kB / 0.5701 GB, free: 83.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 527 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007435/1.215, allocations: 452.2 kB / 0.5705 GB, free: 82.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/1.215, allocations: 230.6 kB / 0.5708 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/1.22, allocations: 1.841 MB / 0.5726 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/1.22, allocations: 16.72 kB / 0.5726 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.22, allocations: 3.844 kB / 0.5726 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/1.22, allocations: 7.859 kB / 0.5726 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.231, allocations: 4.793 MB / 0.5773 GB, free: 80.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.231, allocations: 4.656 kB / 0.5773 GB, free: 80.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009549/1.232, allocations: 130.9 kB / 0.5774 GB, free: 80.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002734/1.235, allocations: 0.6388 MB / 0.578 GB, free: 80.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/1.235, allocations: 23.75 kB / 0.578 GB, free: 80.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/1.241, allocations: 3.628 MB / 0.5816 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.872e-06/1.241, allocations: 3.812 kB / 0.5816 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007159/1.248, allocations: 3.754 MB / 0.5853 GB, free: 76.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008213/1.249, allocations: 302.6 kB / 0.5855 GB, free: 76.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004281/1.25, allocations: 18 kB / 0.5856 GB, free: 76.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.251, allocations: 67.3 kB / 0.5856 GB, free: 76.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.251, allocations: 54.33 kB / 0.5857 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.252, allocations: 38.91 kB / 0.5857 GB, free: 76.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003069/1.255, allocations: 1.714 MB / 0.5874 GB, free: 76.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.059e-06/1.255, allocations: 0 / 0.5874 GB, free: 76.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004636/1.259, allocations: 0.6537 MB / 0.588 GB, free: 75.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004016/1.26, allocations: 156.5 kB / 0.5882 GB, free: 75.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00623/1.266, allocations: 3.186 MB / 0.5913 GB, free: 74.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.266, allocations: 0 / 0.5913 GB, free: 74.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.268, allocations: 0.9178 MB / 0.5922 GB, free: 74.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.269, allocations: 234.2 kB / 0.5924 GB, free: 74.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009184/1.278, allocations: 4.699 MB / 0.597 GB, free: 71.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/1.281, allocations: 2.243 MB / 0.5992 GB, free: 70.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007433/1.282, allocations: 197.1 kB / 0.5994 GB, free: 69.84 MB / 442.7 MB Notification: Performance of SimCode: time 2.346e-06/1.282, allocations: 0 / 0.5994 GB, free: 69.84 MB / 442.7 MB Notification: Performance of Templates: time 0.06024/1.342, allocations: 44.87 MB / 0.6432 GB, free: 30.27 MB / 442.7 MB