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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.59e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08323/0.08328, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5084, allocations: 97.6 MB / 414.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.5087, allocations: 89.58 kB / 414.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4153/0.9241, allocations: 94.82 MB / 0.4975 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.397e-06/0.9241, allocations: 4 kB / 0.4975 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003106/0.9244, allocations: 88 kB / 0.4976 GB, free: 14.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01472/0.9392, allocations: 4.492 MB / 0.502 GB, free: 9.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.9392, allocations: 11.97 kB / 0.502 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03537/0.9746, allocations: 6.745 MB / 0.5086 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2742/1.249, allocations: 6.169 MB / 0.5146 GB, free: 92.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/1.249, allocations: 324.1 kB / 0.5149 GB, free: 92.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/1.251, allocations: 444.5 kB / 0.5153 GB, free: 92.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/1.277, allocations: 10.38 MB / 0.5255 GB, free: 89.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/1.278, allocations: 68.64 kB / 0.5255 GB, free: 89.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/1.279, allocations: 208.1 kB / 0.5257 GB, free: 89.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/1.281, allocations: 1.011 MB / 0.5267 GB, free: 89.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/1.302, allocations: 8.394 MB / 0.5349 GB, free: 89.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05664/1.358, allocations: 46.15 MB / 0.58 GB, free: 59.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/1.37, allocations: 3.964 MB / 0.5839 GB, free: 57.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/1.373, allocations: 2.008 MB / 0.5858 GB, free: 57.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/1.374, allocations: 0.6501 MB / 0.5865 GB, free: 56.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.374, allocations: 56.69 kB / 0.5865 GB, free: 56.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=175): time 6.827e-06/1.374, allocations: 0 / 0.5865 GB, free: 56.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=210): time 0.06912/1.443, allocations: 18.85 MB / 0.6049 GB, free: 49.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/1.444, allocations: 254.9 kB / 0.6052 GB, free: 49.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0079/1.451, allocations: 3.717 MB / 0.6088 GB, free: 48.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003998/1.452, allocations: 57.7 kB / 0.6089 GB, free: 48.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.454, allocations: 3.256 MB / 0.612 GB, free: 45.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009051/1.455, allocations: 0.7932 MB / 0.6128 GB, free: 44.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/1.456, allocations: 120 kB / 0.6129 GB, free: 44.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003678/1.456, allocations: 0.5623 MB / 0.6135 GB, free: 43.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003974/1.46, allocations: 2.213 MB / 0.6156 GB, free: 41.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005897/1.466, allocations: 5.724 MB / 0.6212 GB, free: 34.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/1.472, allocations: 3.55 MB / 0.6247 GB, free: 31.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.079e-05/1.472, allocations: 36 kB / 0.6247 GB, free: 31.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02142/1.494, allocations: 9.104 MB / 0.6336 GB, free: 24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/1.494, allocations: 56 kB / 0.6337 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/1.494, allocations: 128 kB / 0.6338 GB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/1.501, allocations: 1.971 MB / 0.6357 GB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/1.506, allocations: 1.304 MB / 0.637 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/1.529, allocations: 14.96 MB / 0.6516 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006224/1.536, allocations: 342.7 kB / 0.6519 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.537, allocations: 366.5 kB / 0.6523 GB, free: 7.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (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 (697): * Single equations (assignments): 691 * 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.001251/1.538, allocations: 0.5638 MB / 0.6528 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008669/1.539, allocations: 383 kB / 0.6532 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009407/1.548, allocations: 4.169 MB / 0.6573 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-05/1.549, allocations: 20 kB / 0.6573 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.549, allocations: 11.95 kB / 0.6573 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/1.549, allocations: 14.27 kB / 0.6573 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02761/1.576, allocations: 10.09 MB / 0.6672 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.576, allocations: 0 / 0.6672 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/1.578, allocations: 307.6 kB / 0.6674 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004799/1.583, allocations: 1.212 MB / 0.6686 GB, free: 9.188 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003782/1.583, allocations: 34.89 kB / 0.6687 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/1.599, allocations: 7.557 MB / 0.676 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.599, allocations: 4 kB / 0.6761 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2858/1.885, allocations: 7.157 MB / 0.683 GB, free: 96.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.887, allocations: 0.7293 MB / 0.6838 GB, free: 96.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009933/1.888, allocations: 33.58 kB / 0.6838 GB, free: 96.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.89, allocations: 119 kB / 0.6839 GB, free: 96.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004544/1.891, allocations: 127.3 kB / 0.684 GB, free: 96.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/1.891, allocations: 55.77 kB / 0.6841 GB, free: 96.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005875/1.897, allocations: 2.613 MB / 0.6866 GB, free: 96.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.199e-06/1.897, allocations: 3.219 kB / 0.6866 GB, free: 96.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00714/1.904, allocations: 1.14 MB / 0.6877 GB, free: 96.07 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 (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,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005708/1.905, allocations: 180.2 kB / 0.6879 GB, free: 95.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.916, allocations: 5.721 MB / 0.6935 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.984e-06/1.916, allocations: 3.781 kB / 0.6935 GB, free: 95.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004344/1.92, allocations: 2.043 MB / 0.6955 GB, free: 95.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/1.924, allocations: 0.5241 MB / 0.696 GB, free: 95.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/1.944, allocations: 8.597 MB / 0.7044 GB, free: 93.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007115/1.952, allocations: 3.621 MB / 0.7079 GB, free: 93.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006572/1.958, allocations: 1.938 MB / 0.7098 GB, free: 93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/1.959, allocations: 258.9 kB / 0.7101 GB, free: 93 MB / 442.7 MB Notification: Performance of SimCode: time 1.839e-06/1.96, allocations: 0 / 0.7101 GB, free: 93 MB / 442.7 MB Notification: Performance of Templates: time 0.1162/2.076, allocations: 45.26 MB / 0.7543 GB, free: 82.99 MB / 442.7 MB