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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.141e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.08963, allocations: 47.56 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3595/0.4492, allocations: 91.82 MB / 408.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4495, allocations: 83.58 kB / 408.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6945/1.144, allocations: 116.5 MB / 0.513 GB, free: 70.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.032e-06/1.144, allocations: 0 / 0.513 GB, free: 70.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004274/1.144, allocations: 116.2 kB / 0.5131 GB, free: 70.25 MB / 426.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.01229/1.157, allocations: 3.815 MB / 0.5168 GB, free: 69.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.157, allocations: 10.28 kB / 0.5168 GB, free: 69.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/1.16, allocations: 0.5503 MB / 0.5174 GB, free: 68.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007872/1.168, allocations: 2.72 MB / 0.52 GB, free: 68.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/1.168, allocations: 297.3 kB / 0.5203 GB, free: 68.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/1.17, allocations: 383 kB / 0.5207 GB, free: 68.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/1.184, allocations: 5.529 MB / 0.5261 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.737e-05/1.184, allocations: 5.438 kB / 0.5261 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/1.185, allocations: 173.4 kB / 0.5262 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002468/1.185, allocations: 205.2 kB / 0.5264 GB, free: 67.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.202, allocations: 4.49 MB / 0.5308 GB, free: 67.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/1.242, allocations: 16.44 MB / 0.5469 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007177/1.249, allocations: 6.707 MB / 0.5534 GB, free: 61.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004706/1.254, allocations: 2.613 MB / 0.556 GB, free: 61.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/1.254, allocations: 150.1 kB / 0.5561 GB, free: 61.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/1.255, allocations: 62.38 kB / 0.5562 GB, free: 61.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 6.056e-06/1.255, allocations: 6.25 kB / 0.5562 GB, free: 61.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.0249/1.279, allocations: 7.739 MB / 0.5637 GB, free: 60.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/1.28, allocations: 79.33 kB / 0.5638 GB, free: 59.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007366/1.287, allocations: 2.333 MB / 0.5661 GB, free: 59.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005838/1.288, allocations: 72.39 kB / 0.5662 GB, free: 59.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/1.289, allocations: 1.632 MB / 0.5678 GB, free: 58.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/1.291, allocations: 0.8364 MB / 0.5686 GB, free: 57.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/1.291, allocations: 43.31 kB / 0.5686 GB, free: 57.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/1.291, allocations: 408.6 kB / 0.569 GB, free: 57.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004216/1.296, allocations: 1.279 MB / 0.5703 GB, free: 56.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006751/1.302, allocations: 1.564 MB / 0.5718 GB, free: 55.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/1.306, allocations: 1.516 MB / 0.5733 GB, free: 55.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.306, allocations: 3.969 kB / 0.5733 GB, free: 55.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009444/1.316, allocations: 4.31 MB / 0.5775 GB, free: 53.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.316, allocations: 7.531 kB / 0.5775 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/1.316, allocations: 10.02 kB / 0.5775 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004502/1.32, allocations: 1.403 MB / 0.5789 GB, free: 53.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/1.323, allocations: 391.6 kB / 0.5792 GB, free: 53.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/1.349, allocations: 23.39 MB / 0.6021 GB, free: 35.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.352, allocations: 94.64 kB / 0.6022 GB, free: 35.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/1.353, allocations: 80.59 kB / 0.6023 GB, free: 35.34 MB / 426.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.0005446/1.353, allocations: 234.8 kB / 0.6025 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008062/1.354, allocations: 301.6 kB / 0.6028 GB, free: 35.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008003/1.362, allocations: 4.077 MB / 0.6067 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.362, allocations: 28.2 kB / 0.6068 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.362, allocations: 10.5 kB / 0.6068 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/1.362, allocations: 13.08 kB / 0.6068 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.381, allocations: 8.814 MB / 0.6154 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/1.381, allocations: 0.5625 kB / 0.6154 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.383, allocations: 296.6 kB / 0.6157 GB, free: 29.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004534/1.387, allocations: 1.379 MB / 0.617 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002889/1.388, allocations: 64.78 kB / 0.6171 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0258/1.413, allocations: 23.16 MB / 0.6397 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.413, allocations: 2.344 kB / 0.6397 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.425, allocations: 5.973 MB / 0.6455 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.427, allocations: 0.6824 MB / 0.6462 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006456/1.428, allocations: 54.95 kB / 0.6463 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.429, allocations: 135.3 kB / 0.6464 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/1.43, allocations: 212.9 kB / 0.6466 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.43, allocations: 67.47 kB / 0.6467 GB, free: 4.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003363/1.434, allocations: 1.813 MB / 0.6484 GB, free: 2.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.989e-06/1.434, allocations: 0 / 0.6484 GB, free: 2.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005058/1.439, allocations: 0.9832 MB / 0.6494 GB, free: 1.395 MB / 426.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.000682/1.439, allocations: 247 kB / 0.6496 GB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01707/1.457, allocations: 5.077 MB / 0.6546 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.457, allocations: 8.312 kB / 0.6546 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006746/1.463, allocations: 3.191 MB / 0.6577 GB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005528/1.469, allocations: 0.8964 MB / 0.6586 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/1.487, allocations: 7.015 MB / 0.6654 GB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005318/1.493, allocations: 3.242 MB / 0.6686 GB, free: 1.816 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002758/1.496, allocations: 0.5644 MB / 0.6692 GB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/1.496, allocations: 162.9 kB / 0.6693 GB, free: 1.262 MB / 442.7 MB Notification: Performance of SimCode: time 1.698e-06/1.496, allocations: 0 / 0.6693 GB, free: 1.262 MB / 442.7 MB Notification: Performance of Templates: time 0.3915/1.888, allocations: 57.89 MB / 0.7258 GB, free: 69.67 MB / 442.7 MB