Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.345e-05, allocations: 8 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09231, allocations: 50.42 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.4791, allocations: 93.93 MB / 436.5 MB, free: 440 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4794, allocations: 86.2 kB / 436.6 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3308/0.8102, allocations: 84.08 MB / 0.5084 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.8103, allocations: 0 / 0.5084 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002499/0.8106, allocations: 76 kB / 0.5085 GB, free: 488 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01307/0.8236, allocations: 3.956 MB / 0.5124 GB, free: 12.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.8237, allocations: 11.97 kB / 0.5124 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03434/0.8581, allocations: 6.613 MB / 0.5188 GB, free: 5.816 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01777/0.8759, allocations: 5.522 MB / 0.5242 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2488/1.125, allocations: 267.1 kB / 0.5245 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/1.127, allocations: 362.9 kB / 0.5248 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/1.149, allocations: 9 MB / 0.5336 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/1.149, allocations: 60.16 kB / 0.5337 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.151, allocations: 179.3 kB / 0.5339 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/1.152, allocations: 0.8886 MB / 0.5347 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/1.171, allocations: 7.33 MB / 0.5419 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04934/1.22, allocations: 42.24 MB / 0.5831 GB, free: 72.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/1.231, allocations: 3.703 MB / 0.5867 GB, free: 70.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/1.234, allocations: 1.953 MB / 0.5887 GB, free: 69.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/1.234, allocations: 330 kB / 0.589 GB, free: 69.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/1.234, allocations: 54.41 kB / 0.589 GB, free: 69.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=160): time 7.405e-06/1.234, allocations: 2.562 kB / 0.589 GB, free: 69.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=189): time 0.05885/1.293, allocations: 17.09 MB / 0.6057 GB, free: 63.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/1.293, allocations: 247.9 kB / 0.606 GB, free: 63.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/1.3, allocations: 3.421 MB / 0.6093 GB, free: 62.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/1.301, allocations: 52.36 kB / 0.6093 GB, free: 62.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002005/1.303, allocations: 2.735 MB / 0.612 GB, free: 60.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009127/1.304, allocations: 0.7185 MB / 0.6127 GB, free: 59.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/1.304, allocations: 109 kB / 0.6128 GB, free: 59.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003392/1.304, allocations: 0.5366 MB / 0.6133 GB, free: 59.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/1.309, allocations: 2.04 MB / 0.6153 GB, free: 58.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005923/1.315, allocations: 5.251 MB / 0.6205 GB, free: 53.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005891/1.321, allocations: 3.279 MB / 0.6237 GB, free: 50.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.883e-05/1.321, allocations: 32 kB / 0.6237 GB, free: 50.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01837/1.339, allocations: 7.871 MB / 0.6314 GB, free: 44.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/1.339, allocations: 59.95 kB / 0.6314 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/1.339, allocations: 116.1 kB / 0.6316 GB, free: 43.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004781/1.344, allocations: 1.38 MB / 0.6329 GB, free: 42.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/1.349, allocations: 1.226 MB / 0.6341 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.363, allocations: 8.399 MB / 0.6423 GB, free: 34.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005492/1.368, allocations: 316.4 kB / 0.6426 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/1.37, allocations: 328.8 kB / 0.6429 GB, free: 33.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 519 * Number of states: 0 () * Number of discrete variables: 30 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (653): * Single equations (assignments): 649 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009534/1.371, allocations: 0.5259 MB / 0.6434 GB, free: 33.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007734/1.371, allocations: 351.5 kB / 0.6438 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008597/1.38, allocations: 3.89 MB / 0.6476 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-05/1.38, allocations: 25.38 kB / 0.6476 GB, free: 29.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.38, allocations: 15.75 kB / 0.6476 GB, free: 29.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.533e-05/1.38, allocations: 8.734 kB / 0.6476 GB, free: 29.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/1.4, allocations: 8.87 MB / 0.6563 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/1.4, allocations: 4 kB / 0.6563 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/1.402, allocations: 259.7 kB / 0.6565 GB, free: 22.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004446/1.406, allocations: 1.215 MB / 0.6577 GB, free: 21.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003438/1.407, allocations: 31.56 kB / 0.6577 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.419, allocations: 7.55 MB / 0.6651 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.146e-06/1.419, allocations: 5.906 kB / 0.6651 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.431, allocations: 6.775 MB / 0.6717 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.433, allocations: 408.3 kB / 0.6721 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007561/1.433, allocations: 28 kB / 0.6721 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.435, allocations: 115.8 kB / 0.6723 GB, free: 7.703 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/1.436, allocations: 109.1 kB / 0.6724 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.436, allocations: 55.81 kB / 0.6724 GB, free: 7.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00481/1.441, allocations: 2.412 MB / 0.6748 GB, free: 5.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.108e-06/1.441, allocations: 0 / 0.6748 GB, free: 5.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006172/1.447, allocations: 0.9962 MB / 0.6757 GB, free: 4.121 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 131 * 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,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005692/1.448, allocations: 172.3 kB / 0.6759 GB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009593/1.457, allocations: 4.937 MB / 0.6807 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.726e-06/1.457, allocations: 0 / 0.6807 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00468/1.462, allocations: 1.925 MB / 0.6826 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/1.465, allocations: 457.2 kB / 0.683 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.485, allocations: 7.955 MB / 0.6908 GB, free: 4.664 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00657/1.492, allocations: 3.176 MB / 0.6939 GB, free: 1.477 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.493, allocations: 279.4 kB / 0.6942 GB, free: 1.203 MB / 458.7 MB Notification: Performance of SimCode: time 1.862e-06/1.493, allocations: 0 / 0.6942 GB, free: 1.203 MB / 458.7 MB Notification: Performance of Templates: time 0.4149/1.908, allocations: 69.53 MB / 0.7621 GB, free: 90.74 MB / 458.7 MB