Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.035e-05, allocations: 0 / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2757, allocations: 38.78 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.3965, allocations: 80.65 MB / 344.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.3968, allocations: 87.94 kB / 344.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4428/0.8396, allocations: 64.14 MB / 408.7 MB, free: 63.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.298e-06/0.8396, allocations: 0 / 408.7 MB, free: 63.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000186/0.8398, allocations: 63.94 kB / 408.7 MB, free: 63.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005547/0.8454, allocations: 2.256 MB / 411 MB, free: 61.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.8455, allocations: 8.031 kB / 411 MB, free: 61.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.8468, allocations: 312.7 kB / 411.3 MB, free: 61.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.8503, allocations: 1.577 MB / 412.9 MB, free: 59.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.8504, allocations: 164.4 kB / 413 MB, free: 59.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/0.8509, allocations: 211.9 kB / 413.2 MB, free: 59.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/0.8568, allocations: 3.035 MB / 416.3 MB, free: 56.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.8569, allocations: 0 / 416.3 MB, free: 56.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.8572, allocations: 92 kB / 416.4 MB, free: 55.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.8574, allocations: 108.4 kB / 416.5 MB, free: 55.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/0.8625, allocations: 2.434 MB / 418.9 MB, free: 53.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.8909, allocations: 8.921 MB / 427.8 MB, free: 44.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007617/0.8986, allocations: 3.298 MB / 431.1 MB, free: 40.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005057/0.9038, allocations: 1.3 MB / 432.4 MB, free: 39.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/0.9045, allocations: 138.4 kB / 432.6 MB, free: 39.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.9046, allocations: 51.88 kB / 432.6 MB, free: 39.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 1.198e-05/0.9046, allocations: 7.922 kB / 432.6 MB, free: 39.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01857/0.9232, allocations: 4.085 MB / 436.7 MB, free: 35.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.9233, allocations: 68.66 kB / 436.8 MB, free: 34.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005161/0.9285, allocations: 1.33 MB / 438.1 MB, free: 33.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003422/0.9289, allocations: 49.7 kB / 438.2 MB, free: 33.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.9302, allocations: 0.9409 MB / 439.1 MB, free: 32.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007618/0.931, allocations: 445.6 kB / 439.5 MB, free: 32.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.9312, allocations: 28 kB / 439.6 MB, free: 32.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.9315, allocations: 357.9 kB / 439.9 MB, free: 31.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.9341, allocations: 0.6507 MB / 440.6 MB, free: 31.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/0.9372, allocations: 0.8089 MB / 441.4 MB, free: 30.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/0.9403, allocations: 0.7739 MB / 442.1 MB, free: 29.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.9403, allocations: 0 / 442.1 MB, free: 29.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.01204/0.9524, allocations: 2.216 MB / 444.4 MB, free: 27.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.9525, allocations: 4 kB / 444.4 MB, free: 27.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.9525, allocations: 4 kB / 444.4 MB, free: 27.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/0.9558, allocations: 0.7019 MB / 445.1 MB, free: 26.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.957, allocations: 207.7 kB / 445.3 MB, free: 26.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.9694, allocations: 10.48 MB / 455.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.9708, allocations: 52.05 kB / 455.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.9709, allocations: 43.94 kB / 455.8 MB, free: 15.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.9713, allocations: 182 kB / 456 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/0.9716, allocations: 158.1 kB / 456.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.9756, allocations: 2.113 MB / 458.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.9756, allocations: 12.12 kB / 458.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.9756, allocations: 8 kB / 458.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.9757, allocations: 11.97 kB / 458.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008874/0.9845, allocations: 4.664 MB / 463 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.156e-06/0.9846, allocations: 0 / 463 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.9855, allocations: 159.8 kB / 463.1 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.9876, allocations: 0.6867 MB / 463.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.9877, allocations: 31.94 kB / 463.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/1.001, allocations: 10.37 MB / 474.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.894e-06/1.001, allocations: 0 / 474.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006523/1.008, allocations: 3.183 MB / 477.4 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.009, allocations: 407.1 kB / 477.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/1.009, allocations: 35.98 kB / 477.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.01, allocations: 79.95 kB / 477.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/1.011, allocations: 113.1 kB / 478 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.011, allocations: 36 kB / 478.1 MB, free: 8.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002109/1.013, allocations: 1.043 MB / 479.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.68e-07/1.013, allocations: 4 kB / 479.1 MB, free: 7.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002404/1.015, allocations: 0.5273 MB / 479.6 MB, free: 6.652 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004689/1.016, allocations: 204 kB / 479.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004535/1.02, allocations: 2.273 MB / 482.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.02, allocations: 0 / 482.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/1.023, allocations: 1.539 MB / 483.6 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.026, allocations: 493.5 kB / 484.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008727/1.035, allocations: 3.751 MB / 487.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/1.038, allocations: 2.09 MB / 490 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00137/1.039, allocations: 305.3 kB / 490.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.039, allocations: 87.44 kB / 490.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.709e-06/1.039, allocations: 4 kB / 490.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Templates: time 0.3022/1.342, allocations: 30.48 MB / 0.5086 GB, free: 85.17 MB / 346.7 MB