Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.813e-05, allocations: 6.188 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09136, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4665, allocations: 86.84 MB / 429.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4668, allocations: 75.2 kB / 430 MB, free: 7.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.123/0.5898, allocations: 32.88 MB / 462.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.851e-06/0.5898, allocations: 0 / 462.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001858/0.59, allocations: 51.94 kB / 462.9 MB, free: 10.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005784/0.5958, allocations: 1.958 MB / 464.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5959, allocations: 11.97 kB / 464.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000874/0.5968, allocations: 237.2 kB / 465.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.6, allocations: 1.212 MB / 466.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.6003, allocations: 160.2 kB / 466.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.6009, allocations: 208 kB / 466.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/0.6073, allocations: 2.505 MB / 469.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.6074, allocations: 4 kB / 469.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.6077, allocations: 88 kB / 469.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/0.6077, allocations: 48 kB / 469.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/0.6127, allocations: 1.851 MB / 471.2 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01748/0.6302, allocations: 7.502 MB / 478.7 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.6334, allocations: 2.305 MB / 481 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.6354, allocations: 0.8994 MB / 481.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.6355, allocations: 12.78 kB / 481.9 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.6355, allocations: 43.28 kB / 481.9 MB, free: 7.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.305e-06/0.6355, allocations: 4 kB / 482 MB, free: 7.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.006655/0.6422, allocations: 2.95 MB / 484.9 MB, free: 4.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.6423, allocations: 60.19 kB / 485 MB, free: 3.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.6438, allocations: 0.7463 MB / 485.7 MB, free: 3.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.6439, allocations: 41.7 kB / 485.7 MB, free: 3.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007777/0.6447, allocations: 0.8372 MB / 486.6 MB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.6451, allocations: 323.3 kB / 486.9 MB, free: 2.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.6452, allocations: 20 kB / 486.9 MB, free: 1.996 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.6454, allocations: 341.9 kB / 487.3 MB, free: 1.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.6464, allocations: 485.8 kB / 487.7 MB, free: 1.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.6477, allocations: 0.6447 MB / 488.4 MB, free: 480 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.6489, allocations: 0.5552 MB / 488.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.474e-06/0.6489, allocations: 0 / 488.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00366/0.6525, allocations: 1.577 MB / 490.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.6526, allocations: 12.19 kB / 490.5 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.6526, allocations: 11.95 kB / 490.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.6542, allocations: 455 kB / 491 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.6552, allocations: 183.7 kB / 491.2 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.6677, allocations: 8.444 MB / 499.6 MB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009136/0.6686, allocations: 52.08 kB / 499.6 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6687, allocations: 36 kB / 499.7 MB, free: 4.594 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.669, allocations: 164.4 kB / 499.8 MB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.6693, allocations: 102.8 kB / 499.9 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/0.6727, allocations: 1.494 MB / 0.4897 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.6728, allocations: 8 kB / 0.4897 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.343e-06/0.6728, allocations: 4 kB / 0.4897 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.6728, allocations: 7.969 kB / 0.4897 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008685/0.6815, allocations: 3.455 MB / 0.4931 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/0.6816, allocations: 7.984 kB / 0.4931 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.6825, allocations: 127.8 kB / 0.4932 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.684, allocations: 451 kB / 0.4936 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.426e-05/0.6841, allocations: 23.98 kB / 0.4937 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.6961, allocations: 8.353 MB / 0.5018 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.395e-06/0.6961, allocations: 0 / 0.5018 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.701, allocations: 2.273 MB / 0.504 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/0.7018, allocations: 287.8 kB / 0.5043 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.702, allocations: 16 kB / 0.5043 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.7027, allocations: 48.08 kB / 0.5044 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.703, allocations: 80.66 kB / 0.5045 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/0.7031, allocations: 35.98 kB / 0.5045 GB, free: 2.945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001177/0.7043, allocations: 0.5889 MB / 0.5051 GB, free: 2.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.7043, allocations: 4 kB / 0.5051 GB, free: 2.359 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002273/0.7066, allocations: 399.9 kB / 0.5054 GB, free: 1.969 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004739/0.7071, allocations: 171 kB / 0.5056 GB, free: 1.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003695/0.7108, allocations: 1.785 MB / 0.5074 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.689e-06/0.7109, allocations: 480 / 0.5074 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.7132, allocations: 1.227 MB / 0.5086 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.715, allocations: 275.1 kB / 0.5088 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/0.7222, allocations: 2.894 MB / 0.5116 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/0.7244, allocations: 1.749 MB / 0.5133 GB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008683/0.7253, allocations: 188.7 kB / 0.5135 GB, free: 9.492 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.7256, allocations: 59.44 kB / 0.5136 GB, free: 9.434 MB / 442.7 MB Notification: Performance of SimCode: time 1.748e-06/0.7256, allocations: 0 / 0.5136 GB, free: 9.434 MB / 442.7 MB Notification: Performance of Templates: time 0.2868/1.012, allocations: 18.9 MB / 0.532 GB, free: 124.5 MB / 442.7 MB