Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.623e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.06737/0.1801, allocations: 41.54 MB / 386.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02938/0.2096, allocations: 9.743 MB / 396.3 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0106/0.2202, allocations: 231.4 kB / 396.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009873/0.2302, allocations: 2.135 MB / 398.6 MB, free: 3.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3436/0.5739, allocations: 6.02 MB / 404.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.5782, allocations: 0.6807 MB / 405.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.114/0.6922, allocations: 46.98 MB / 452.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009064/0.7013, allocations: 4.154 MB / 456.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.704, allocations: 0.9047 MB / 457.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/0.7073, allocations: 1.39 MB / 458.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.7105, allocations: 0.8927 MB / 459.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.7117, allocations: 140 kB / 459.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002862/0.7146, allocations: 1.658 MB / 461.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.7163, allocations: 288 kB / 461.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.7267, allocations: 6.232 MB / 468 MB, free: 4.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7267, allocations: 0 / 468 MB, free: 4.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7268, allocations: 0 / 468 MB, free: 4.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002577/0.727, allocations: 0 / 468 MB, free: 4.82 MB / 362.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.01468/0.7417, allocations: 4.294 MB / 472.2 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.7418, allocations: 8.031 kB / 472.3 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3824/1.124, allocations: 18.85 MB / 491.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/1.137, allocations: 3.631 MB / 494.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/1.138, allocations: 241.1 kB / 495 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/1.139, allocations: 325.1 kB / 495.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02849/1.168, allocations: 9.977 MB / 0.4934 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/1.168, allocations: 52.06 kB / 0.4935 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/1.169, allocations: 151 kB / 0.4936 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006417/1.176, allocations: 1.956 MB / 0.4955 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02751/1.203, allocations: 8.414 MB / 0.5037 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07415/1.277, allocations: 38.46 MB / 0.5413 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/1.293, allocations: 3.875 MB / 0.5451 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.294, allocations: 0.6554 MB / 0.5457 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/1.294, allocations: 51.5 kB / 0.5458 GB, free: 10.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=166): time 5.801e-06/1.294, allocations: 0 / 0.5458 GB, free: 10.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=201): time 0.1064/1.4, allocations: 21.67 MB / 0.5669 GB, free: 5.082 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/1.401, allocations: 256.6 kB / 0.5672 GB, free: 4.773 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.411, allocations: 3.955 MB / 0.571 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005672/1.411, allocations: 57.7 kB / 0.5711 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2939/1.705, allocations: 3.043 MB / 0.5741 GB, free: 179 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/1.707, allocations: 0.7634 MB / 0.5748 GB, free: 178.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008885/1.708, allocations: 116.6 kB / 0.5749 GB, free: 178.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006553/1.709, allocations: 0.5623 MB / 0.5755 GB, free: 178.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007169/1.716, allocations: 2.255 MB / 0.5777 GB, free: 178.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009155/1.725, allocations: 5.695 MB / 0.5832 GB, free: 173 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009061/1.734, allocations: 3.507 MB / 0.5867 GB, free: 171.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002238/1.734, allocations: 34.81 kB / 0.5867 GB, free: 171.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02905/1.764, allocations: 9.371 MB / 0.5958 GB, free: 168.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.764, allocations: 56.56 kB / 0.5959 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/1.764, allocations: 120.9 kB / 0.596 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/1.774, allocations: 2.093 MB / 0.5981 GB, free: 168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007337/1.782, allocations: 1.253 MB / 0.5993 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03243/1.814, allocations: 16.45 MB / 0.6153 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006637/1.821, allocations: 349 kB / 0.6157 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/1.822, allocations: 352 kB / 0.616 GB, free: 153.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (671): * Single equations (assignments): 665 * 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 {(2,100.0%) 36,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.006859/1.829, allocations: 2.126 MB / 0.6181 GB, free: 151.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009985/1.83, allocations: 383.1 kB / 0.6185 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.843, allocations: 4.284 MB / 0.6226 GB, free: 146.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.757e-05/1.843, allocations: 25.08 kB / 0.6227 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.843, allocations: 8 kB / 0.6227 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/1.843, allocations: 11.97 kB / 0.6227 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02722/1.87, allocations: 10.11 MB / 0.6326 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.728e-05/1.87, allocations: 4 kB / 0.6326 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.873, allocations: 283.6 kB / 0.6328 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006669/1.879, allocations: 1.366 MB / 0.6342 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004581/1.88, allocations: 32 kB / 0.6342 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02392/1.904, allocations: 8.66 MB / 0.6427 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.904, allocations: 0 / 0.6427 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/1.927, allocations: 7.367 MB / 0.6498 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.928, allocations: 448 kB / 0.6503 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/1.93, allocations: 32 kB / 0.6503 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004222/1.934, allocations: 121 kB / 0.6504 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007974/1.935, allocations: 129 kB / 0.6505 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003264/1.935, allocations: 52 kB / 0.6506 GB, free: 117.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008764/1.944, allocations: 2.817 MB / 0.6533 GB, free: 114.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.182e-06/1.944, allocations: 4 kB / 0.6533 GB, free: 114.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009941/1.954, allocations: 1.139 MB / 0.6545 GB, free: 113.6 MB / 474.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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/1.955, allocations: 195.2 kB / 0.6546 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01822/1.973, allocations: 5.985 MB / 0.6605 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.973, allocations: 288 / 0.6605 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008259/1.982, allocations: 2.206 MB / 0.6626 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/1.987, allocations: 0.5312 MB / 0.6632 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/2.019, allocations: 12.34 MB / 0.6752 GB, free: 92.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006366/2.025, allocations: 3.535 MB / 0.6787 GB, free: 88.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/2.027, allocations: 295.4 kB / 0.6789 GB, free: 88.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/2.027, allocations: 0 / 0.6789 GB, free: 88.45 MB / 474.7 MB Notification: Performance of Templates: time 0.4703/2.498, allocations: 97.35 MB / 0.774 GB, free: 159 MB / 474.7 MB