Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.069e-05, allocations: 0 / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09459, allocations: 50.43 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5336, allocations: 98.77 MB / 441.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5339, allocations: 90.17 kB / 441.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3654/0.8994, allocations: 93.64 MB / 0.5225 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.281e-06/0.8994, allocations: 0 / 0.5225 GB, free: 2.125 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003005/0.8997, allocations: 84 kB / 0.5226 GB, free: 2.043 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.2683/1.168, allocations: 4.396 MB / 0.5269 GB, free: 96.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.168, allocations: 9.438 kB / 0.5269 GB, free: 96.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03578/1.204, allocations: 6.707 MB / 0.5335 GB, free: 95.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01858/1.222, allocations: 5.809 MB / 0.5391 GB, free: 95.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000485/1.223, allocations: 318.1 kB / 0.5394 GB, free: 95.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/1.225, allocations: 432 kB / 0.5398 GB, free: 95.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/1.251, allocations: 10.1 MB / 0.5497 GB, free: 92.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003341/1.251, allocations: 61.75 kB / 0.5498 GB, free: 92.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/1.253, allocations: 205.1 kB / 0.55 GB, free: 92.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/1.255, allocations: 0.9783 MB / 0.5509 GB, free: 92.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/1.275, allocations: 8.102 MB / 0.5588 GB, free: 92.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05668/1.331, allocations: 45.14 MB / 0.6029 GB, free: 61.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/1.343, allocations: 3.843 MB / 0.6067 GB, free: 59.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003299/1.346, allocations: 1.976 MB / 0.6086 GB, free: 58.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007735/1.347, allocations: 0.6474 MB / 0.6092 GB, free: 58.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.347, allocations: 46.31 kB / 0.6093 GB, free: 58.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 7.481e-06/1.347, allocations: 3.875 kB / 0.6093 GB, free: 58.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.06687/1.414, allocations: 18.44 MB / 0.6273 GB, free: 48.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.414, allocations: 272 kB / 0.6275 GB, free: 48.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007372/1.421, allocations: 3.615 MB / 0.6311 GB, free: 45.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004271/1.422, allocations: 62.02 kB / 0.6311 GB, free: 45.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002308/1.424, allocations: 3.062 MB / 0.6341 GB, free: 42.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000998/1.425, allocations: 0.7629 MB / 0.6349 GB, free: 41.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005737/1.426, allocations: 116 kB / 0.635 GB, free: 41.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003788/1.426, allocations: 0.5578 MB / 0.6355 GB, free: 41.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004287/1.43, allocations: 2.151 MB / 0.6376 GB, free: 39.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006301/1.437, allocations: 5.587 MB / 0.6431 GB, free: 32.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/1.443, allocations: 3.466 MB / 0.6465 GB, free: 29.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.134e-05/1.443, allocations: 36 kB / 0.6465 GB, free: 29.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02121/1.464, allocations: 8.76 MB / 0.655 GB, free: 21.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/1.464, allocations: 59.95 kB / 0.6551 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/1.465, allocations: 120 kB / 0.6552 GB, free: 21.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007149/1.472, allocations: 1.975 MB / 0.6571 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005224/1.477, allocations: 1.255 MB / 0.6584 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/1.5, allocations: 14.97 MB / 0.673 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/1.506, allocations: 335.5 kB / 0.6733 GB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.508, allocations: 356 kB / 0.6736 GB, free: 3.922 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (675): * Single equations (assignments): 669 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001508/1.51, allocations: 0.5425 MB / 0.6742 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009049/1.51, allocations: 379.1 kB / 0.6745 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.521, allocations: 4.048 MB / 0.6785 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-05/1.521, allocations: 20 kB / 0.6785 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.521, allocations: 11.95 kB / 0.6785 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-05/1.521, allocations: 7.969 kB / 0.6785 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/1.547, allocations: 9.695 MB / 0.688 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.547, allocations: 3.938 kB / 0.688 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/1.549, allocations: 283.6 kB / 0.6883 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004948/1.554, allocations: 1.218 MB / 0.6895 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004095/1.554, allocations: 36 kB / 0.6895 GB, free: 3.621 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2816/1.836, allocations: 7.545 MB / 0.6969 GB, free: 99.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.469e-06/1.836, allocations: 5.922 kB / 0.6969 GB, free: 99.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/1.851, allocations: 6.988 MB / 0.7037 GB, free: 98.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.853, allocations: 426.2 kB / 0.7041 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.854, allocations: 35.77 kB / 0.7041 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/1.857, allocations: 114.3 kB / 0.7042 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/1.857, allocations: 123.6 kB / 0.7044 GB, free: 98.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.858, allocations: 51.44 kB / 0.7044 GB, free: 98.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00666/1.864, allocations: 2.55 MB / 0.7069 GB, free: 98.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.157e-06/1.864, allocations: 0 / 0.7069 GB, free: 98.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007517/1.872, allocations: 1.114 MB / 0.708 GB, free: 98.58 MB / 458.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 (147): * Single equations (assignments): 143 * 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.0007629/1.873, allocations: 177.4 kB / 0.7082 GB, free: 98.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01124/1.884, allocations: 5.6 MB / 0.7136 GB, free: 98.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.966e-06/1.884, allocations: 0 / 0.7136 GB, free: 98.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00445/1.888, allocations: 1.987 MB / 0.7156 GB, free: 97.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/1.892, allocations: 0.5291 MB / 0.7161 GB, free: 97.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.914, allocations: 8.808 MB / 0.7247 GB, free: 96.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007029/1.921, allocations: 3.54 MB / 0.7281 GB, free: 95.56 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.922, allocations: 289.1 kB / 0.7284 GB, free: 95.55 MB / 458.7 MB Notification: Performance of SimCode: time 2.189e-06/1.922, allocations: 0 / 0.7284 GB, free: 95.55 MB / 458.7 MB Notification: Performance of Templates: time 0.1342/2.056, allocations: 95.58 MB / 0.8218 GB, free: 35.8 MB / 458.7 MB