Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.566e-05, allocations: 4 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09067, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4667, allocations: 93.87 MB / 436.4 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.467, allocations: 82.95 kB / 436.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4565/0.9235, allocations: 84.08 MB / 0.5084 GB, free: 292 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.9235, allocations: 0 / 0.5084 GB, free: 292 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002209/0.9238, allocations: 76 kB / 0.5085 GB, free: 216 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.01219/0.936, allocations: 3.956 MB / 0.5123 GB, free: 12.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9361, allocations: 8.031 kB / 0.5123 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03464/0.9707, allocations: 6.617 MB / 0.5188 GB, free: 5.551 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2616/1.232, allocations: 5.514 MB / 0.5242 GB, free: 102.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004536/1.233, allocations: 266.1 kB / 0.5244 GB, free: 102.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/1.234, allocations: 369 kB / 0.5248 GB, free: 102.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/1.255, allocations: 8.998 MB / 0.5336 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/1.255, allocations: 63.03 kB / 0.5336 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008531/1.256, allocations: 174.9 kB / 0.5338 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/1.258, allocations: 0.8927 MB / 0.5347 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/1.276, allocations: 7.324 MB / 0.5418 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04733/1.324, allocations: 42.24 MB / 0.5831 GB, free: 72.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/1.335, allocations: 3.72 MB / 0.5867 GB, free: 70.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/1.338, allocations: 1.937 MB / 0.5886 GB, free: 70 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/1.338, allocations: 337.3 kB / 0.5889 GB, free: 69.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.338, allocations: 51.62 kB / 0.589 GB, free: 69.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=160): time 6.143e-06/1.338, allocations: 0 / 0.589 GB, free: 69.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=189): time 0.06009/1.398, allocations: 17.09 MB / 0.6057 GB, free: 63.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/1.398, allocations: 255.4 kB / 0.6059 GB, free: 63.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/1.404, allocations: 3.42 MB / 0.6093 GB, free: 62.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003819/1.405, allocations: 51.38 kB / 0.6093 GB, free: 62.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.407, allocations: 2.833 MB / 0.6121 GB, free: 60.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007652/1.407, allocations: 0.7143 MB / 0.6128 GB, free: 59.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/1.408, allocations: 113.4 kB / 0.6129 GB, free: 59.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000316/1.408, allocations: 0.5334 MB / 0.6134 GB, free: 59.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003924/1.412, allocations: 2.043 MB / 0.6154 GB, free: 58.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005671/1.418, allocations: 5.248 MB / 0.6205 GB, free: 53.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005822/1.424, allocations: 3.274 MB / 0.6237 GB, free: 51.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.407e-05/1.424, allocations: 32 kB / 0.6237 GB, free: 51.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01951/1.443, allocations: 8.026 MB / 0.6316 GB, free: 44.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/1.443, allocations: 56 kB / 0.6316 GB, free: 44.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/1.444, allocations: 113.3 kB / 0.6317 GB, free: 44.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/1.448, allocations: 1.374 MB / 0.6331 GB, free: 43.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005341/1.454, allocations: 1.231 MB / 0.6343 GB, free: 41.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/1.467, allocations: 8.398 MB / 0.6425 GB, free: 34.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/1.473, allocations: 310.5 kB / 0.6428 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008522/1.474, allocations: 339.8 kB / 0.6431 GB, free: 34.02 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.0009302/1.474, allocations: 0.512 MB / 0.6436 GB, free: 33.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006964/1.475, allocations: 351.5 kB / 0.6439 GB, free: 33.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008389/1.484, allocations: 3.901 MB / 0.6478 GB, free: 30.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.925e-05/1.484, allocations: 21.09 kB / 0.6478 GB, free: 30.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.484, allocations: 8 kB / 0.6478 GB, free: 30.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/1.484, allocations: 9.938 kB / 0.6478 GB, free: 30.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.502, allocations: 8.869 MB / 0.6564 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.502, allocations: 4 kB / 0.6565 GB, free: 22.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.504, allocations: 257 kB / 0.6567 GB, free: 22.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/1.509, allocations: 1.217 MB / 0.6579 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/1.509, allocations: 32 kB / 0.6579 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/1.522, allocations: 7.557 MB / 0.6653 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.379e-06/1.522, allocations: 3.953 kB / 0.6653 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.534, allocations: 6.76 MB / 0.6719 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.535, allocations: 408.3 kB / 0.6723 GB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005771/1.535, allocations: 29.41 kB / 0.6723 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.537, allocations: 115.8 kB / 0.6724 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/1.538, allocations: 120.9 kB / 0.6725 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/1.538, allocations: 49.17 kB / 0.6726 GB, free: 7.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004094/1.542, allocations: 2.416 MB / 0.675 GB, free: 5.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.68e-07/1.542, allocations: 3.562 kB / 0.675 GB, free: 5.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005679/1.548, allocations: 0.9905 MB / 0.6759 GB, free: 4.305 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.0004794/1.548, allocations: 181.5 kB / 0.6761 GB, free: 4.125 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009116/1.557, allocations: 4.939 MB / 0.6809 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.238e-06/1.557, allocations: 0 / 0.6809 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00439/1.562, allocations: 1.931 MB / 0.6828 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.564, allocations: 438.8 kB / 0.6832 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.582, allocations: 7.524 MB / 0.6906 GB, free: 5.285 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0052/1.587, allocations: 3.167 MB / 0.6937 GB, free: 2.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006171/1.594, allocations: 1.82 MB / 0.6954 GB, free: 288 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.595, allocations: 239.4 kB / 0.6957 GB, free: 48 kB / 458.7 MB Notification: Performance of SimCode: time 1.685e-06/1.595, allocations: 3.844 kB / 0.6957 GB, free: 48 kB / 458.7 MB Notification: Performance of Templates: time 0.3511/1.946, allocations: 38.14 MB / 0.7329 GB, free: 104.2 MB / 458.7 MB