Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.02e-05, allocations: 7.938 kB / 292.2 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09354, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/0.493, allocations: 92.78 MB / 435.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4933, allocations: 78.92 kB / 435.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8246/1.318, allocations: 116.9 MB / 0.5394 GB, free: 80.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.644e-06/1.318, allocations: 1.156 kB / 0.5394 GB, free: 80.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000446/1.318, allocations: 109 kB / 0.5395 GB, free: 80.08 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01228/1.331, allocations: 3.866 MB / 0.5433 GB, free: 78.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.331, allocations: 9 kB / 0.5433 GB, free: 78.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/1.334, allocations: 0.552 MB / 0.5438 GB, free: 78.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007828/1.342, allocations: 2.713 MB / 0.5465 GB, free: 78.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/1.342, allocations: 295 kB / 0.5468 GB, free: 78.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/1.344, allocations: 386.9 kB / 0.5471 GB, free: 78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/1.356, allocations: 5.5 MB / 0.5525 GB, free: 77.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-05/1.357, allocations: 10.67 kB / 0.5525 GB, free: 77.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006213/1.357, allocations: 166.8 kB / 0.5527 GB, free: 77.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/1.357, allocations: 206.1 kB / 0.5529 GB, free: 77.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/1.368, allocations: 4.459 MB / 0.5572 GB, free: 77.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/1.403, allocations: 16.41 MB / 0.5733 GB, free: 74.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007261/1.41, allocations: 6.705 MB / 0.5798 GB, free: 70.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/1.414, allocations: 2.615 MB / 0.5824 GB, free: 69.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/1.415, allocations: 144.9 kB / 0.5825 GB, free: 69.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.415, allocations: 63.38 kB / 0.5826 GB, free: 69.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 7.057e-06/1.415, allocations: 0 / 0.5826 GB, free: 69.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.01796/1.433, allocations: 7.746 MB / 0.5901 GB, free: 65.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/1.433, allocations: 78.08 kB / 0.5902 GB, free: 65.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/1.438, allocations: 2.335 MB / 0.5925 GB, free: 64.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004576/1.438, allocations: 72.58 kB / 0.5926 GB, free: 64.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.439, allocations: 1.636 MB / 0.5941 GB, free: 63.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008803/1.44, allocations: 0.8427 MB / 0.595 GB, free: 62.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.44, allocations: 47.22 kB / 0.595 GB, free: 62.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/1.441, allocations: 401.3 kB / 0.5954 GB, free: 62.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/1.443, allocations: 1.278 MB / 0.5966 GB, free: 61.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/1.445, allocations: 1.56 MB / 0.5982 GB, free: 61.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/1.448, allocations: 1.515 MB / 0.5997 GB, free: 60.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.448, allocations: 11.53 kB / 0.5997 GB, free: 60.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009271/1.457, allocations: 4.306 MB / 0.6039 GB, free: 58.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.457, allocations: 3.938 kB / 0.6039 GB, free: 58.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.457, allocations: 10.69 kB / 0.6039 GB, free: 58.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004603/1.462, allocations: 1.404 MB / 0.6053 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/1.464, allocations: 398.9 kB / 0.6056 GB, free: 58.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02643/1.491, allocations: 23.4 MB / 0.6285 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/1.494, allocations: 96.69 kB / 0.6286 GB, free: 40.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005836/1.494, allocations: 81.67 kB / 0.6286 GB, free: 40.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005608/1.495, allocations: 234.3 kB / 0.6289 GB, free: 40.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009134/1.496, allocations: 302.9 kB / 0.6292 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008468/1.504, allocations: 4.079 MB / 0.6331 GB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/1.504, allocations: 28.88 kB / 0.6332 GB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/1.504, allocations: 7.594 kB / 0.6332 GB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-05/1.504, allocations: 16.14 kB / 0.6332 GB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/1.524, allocations: 8.813 MB / 0.6418 GB, free: 31.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.525, allocations: 0 / 0.6418 GB, free: 31.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/1.526, allocations: 294.1 kB / 0.6421 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004592/1.531, allocations: 1.378 MB / 0.6434 GB, free: 30.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004727/1.531, allocations: 59.55 kB / 0.6435 GB, free: 30.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0287/1.56, allocations: 23.17 MB / 0.6661 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.401e-06/1.56, allocations: 0 / 0.6661 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.572, allocations: 6.004 MB / 0.672 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.574, allocations: 0.6833 MB / 0.6726 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.575, allocations: 55.66 kB / 0.6727 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.578, allocations: 129.6 kB / 0.6728 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007969/1.579, allocations: 212.6 kB / 0.673 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/1.579, allocations: 71.7 kB / 0.6731 GB, free: 1.633 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003719/1.583, allocations: 1.812 MB / 0.6749 GB, free: 0 / 442.7 MB Notification: Performance of sort global known variables: time 1.056e-06/1.583, allocations: 336 / 0.6749 GB, free: 0 / 442.7 MB Notification: Performance of remove unused functions: time 0.006848/1.59, allocations: 1.031 MB / 0.6759 GB, free: 15.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008231/1.591, allocations: 265.2 kB / 0.6761 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009751/1.6, allocations: 4.626 MB / 0.6806 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.957e-06/1.6, allocations: 0 / 0.6806 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006991/1.607, allocations: 3.195 MB / 0.6838 GB, free: 7.637 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005392/1.613, allocations: 0.9009 MB / 0.6846 GB, free: 6.922 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/1.631, allocations: 7.022 MB / 0.6915 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2818/1.913, allocations: 3.244 MB / 0.6947 GB, free: 81.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002867/1.916, allocations: 0.5624 MB / 0.6952 GB, free: 81.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/1.917, allocations: 159.8 kB / 0.6954 GB, free: 81.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.72e-06/1.917, allocations: 0 / 0.6954 GB, free: 81.3 MB / 458.7 MB Notification: Performance of Templates: time 0.1686/2.085, allocations: 57.86 MB / 0.7519 GB, free: 78.86 MB / 458.7 MB