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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 225.8 MB / 238.9 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.24e-05, allocations: 0 / 292.1 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09117, allocations: 50.41 MB / 342.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4664, allocations: 86.85 MB / 429.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4666, allocations: 70.33 kB / 429.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1206/0.5872, allocations: 32.88 MB / 462.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.348e-06/0.5873, allocations: 0 / 462.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000131/0.5874, allocations: 47.94 kB / 462.4 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.004961/0.5924, allocations: 1.951 MB / 464.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5925, allocations: 12.03 kB / 464.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007571/0.5932, allocations: 237.2 kB / 464.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.5962, allocations: 1.22 MB / 465.8 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.5964, allocations: 156.2 kB / 466 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.5968, allocations: 200 kB / 466.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005946/0.6028, allocations: 2.512 MB / 468.7 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.6029, allocations: 0 / 468.7 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.6032, allocations: 88 kB / 468.8 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/0.6033, allocations: 52 kB / 468.8 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/0.608, allocations: 1.847 MB / 470.7 MB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/0.6272, allocations: 7.506 MB / 478.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/0.6308, allocations: 2.308 MB / 480.5 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.6329, allocations: 0.8955 MB / 481.4 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.633, allocations: 16.77 kB / 481.4 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.633, allocations: 47.28 kB / 481.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.353e-06/0.633, allocations: 0 / 481.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.007337/0.6404, allocations: 2.942 MB / 484.4 MB, free: 4.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.6405, allocations: 64.19 kB / 484.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.642, allocations: 0.7502 MB / 485.2 MB, free: 3.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.6421, allocations: 45.64 kB / 485.2 MB, free: 3.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000919/0.643, allocations: 0.8333 MB / 486.1 MB, free: 2.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.6435, allocations: 323.3 kB / 486.4 MB, free: 2.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.6436, allocations: 20 kB / 486.4 MB, free: 2.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.6438, allocations: 345.9 kB / 486.7 MB, free: 1.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.6448, allocations: 477.8 kB / 487.2 MB, free: 1.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.646, allocations: 0.6486 MB / 487.9 MB, free: 492 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6473, allocations: 0.5553 MB / 488.4 MB, free: 15.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/0.6473, allocations: 4 kB / 488.4 MB, free: 15.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003597/0.6509, allocations: 1.573 MB / 490 MB, free: 14.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.6509, allocations: 11.98 kB / 490 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.651, allocations: 7.953 kB / 490 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.6525, allocations: 467 kB / 490.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.6535, allocations: 171.7 kB / 490.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.6655, allocations: 8.444 MB / 499.1 MB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.6664, allocations: 51.95 kB / 499.1 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.6666, allocations: 36.66 kB / 499.2 MB, free: 4.609 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.0002886/0.6669, allocations: 160.8 kB / 499.3 MB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.6672, allocations: 102.8 kB / 499.4 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.6704, allocations: 1.494 MB / 0.4892 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.6705, allocations: 12 kB / 0.4892 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6705, allocations: 4 kB / 0.4892 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.6705, allocations: 3.984 kB / 0.4892 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007812/0.6783, allocations: 3.462 MB / 0.4926 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.6784, allocations: 0 / 0.4926 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.6792, allocations: 131.9 kB / 0.4927 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.6806, allocations: 454.9 kB / 0.4931 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/0.6807, allocations: 20 kB / 0.4931 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.6923, allocations: 8.353 MB / 0.5013 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.759e-06/0.6924, allocations: 4.906 kB / 0.5013 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/0.697, allocations: 2.277 MB / 0.5035 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.6977, allocations: 283.8 kB / 0.5038 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.6979, allocations: 24 kB / 0.5038 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.6986, allocations: 43.95 kB / 0.5039 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.6989, allocations: 92.64 kB / 0.504 GB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-05/0.699, allocations: 20 kB / 0.504 GB, free: 2.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.7001, allocations: 0.5966 MB / 0.5046 GB, free: 2.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.402e-06/0.7001, allocations: 0 / 0.5046 GB, free: 2.363 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001977/0.7021, allocations: 403.9 kB / 0.5049 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.0003964/0.7025, allocations: 163.7 kB / 0.5051 GB, free: 1.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.706, allocations: 1.788 MB / 0.5068 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.814e-06/0.706, allocations: 0 / 0.5068 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.7082, allocations: 1.236 MB / 0.5081 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.7098, allocations: 263.1 kB / 0.5083 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.717, allocations: 2.89 MB / 0.5111 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.7191, allocations: 1.757 MB / 0.5128 GB, free: 9.684 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008097/0.72, allocations: 180.7 kB / 0.513 GB, free: 9.504 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.7202, allocations: 59.44 kB / 0.5131 GB, free: 9.445 MB / 442.7 MB Notification: Performance of SimCode: time 2.105e-06/0.7203, allocations: 0 / 0.5131 GB, free: 9.445 MB / 442.7 MB Notification: Performance of Templates: time 0.2956/1.016, allocations: 18.9 MB / 0.5315 GB, free: 124.5 MB / 442.7 MB