Running command: translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 239.4 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.923e-05, allocations: 5.094 kB / 292.7 MB, free: 11.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09083, allocations: 50.41 MB / 343.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.496, allocations: 95.51 MB / 438.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.4962, allocations: 70.59 kB / 438.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.591/2.087, allocations: 167.7 MB / 0.5921 GB, free: 60.29 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.16e-06/2.087, allocations: 0 / 0.5921 GB, free: 60.29 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0005223/2.088, allocations: 263.3 kB / 0.5924 GB, free: 60.27 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.02604/2.114, allocations: 15.87 MB / 0.6079 GB, free: 55.28 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/2.114, allocations: 11.03 kB / 0.6079 GB, free: 55.28 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/2.119, allocations: 1.732 MB / 0.6096 GB, free: 54.29 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/2.145, allocations: 8.829 MB / 0.6182 GB, free: 52.63 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/2.145, allocations: 305.1 kB / 0.6185 GB, free: 52.62 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/2.147, allocations: 385.6 kB / 0.6188 GB, free: 52.62 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04587/2.193, allocations: 27.67 MB / 0.6459 GB, free: 44.95 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-05/2.193, allocations: 3.938 kB / 0.6459 GB, free: 44.95 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/2.195, allocations: 170.3 kB / 0.646 GB, free: 44.82 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/2.195, allocations: 210.3 kB / 0.6462 GB, free: 44.8 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03869/2.233, allocations: 23.95 MB / 0.6696 GB, free: 29.27 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05784/2.291, allocations: 28.72 MB / 0.6977 GB, free: 6.625 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4705/2.762, allocations: 84.44 MB / 0.7801 GB, free: 35.94 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1097/2.872, allocations: 80.53 MB / 0.8588 GB, free: 9.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/2.872, allocations: 149.7 kB / 0.8589 GB, free: 8.926 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04593/2.918, allocations: 28.95 MB / 0.8872 GB, free: 11.83 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5058): time 7.898e-06/2.918, allocations: 0 / 0.8872 GB, free: 11.83 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5065): time 15.01/17.93, allocations: 2.191 GB / 3.078 GB, free: 173.5 MB / 1.917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004574/17.93, allocations: 7.356 MB / 3.085 GB, free: 166.3 MB / 1.917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/17.94, allocations: 2.352 MB / 3.088 GB, free: 164 MB / 1.917 GB Notification: Performance of collectPreVariables (initialization): time 0.006082/17.94, allocations: 3.944 MB / 3.092 GB, free: 160 MB / 1.917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/17.95, allocations: 1.745 MB / 3.093 GB, free: 158.5 MB / 1.917 GB Notification: Performance of collectInitialBindings (initialization): time 0.02375/17.97, allocations: 21.63 MB / 3.114 GB, free: 137 MB / 1.917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006418/17.98, allocations: 1.516 MB / 3.116 GB, free: 135.5 MB / 1.917 GB Notification: Performance of setup shared object (initialization): time 0.005969/17.98, allocations: 3.503 MB / 3.119 GB, free: 132 MB / 1.917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05412/18.04, allocations: 26.28 MB / 3.145 GB, free: 105.7 MB / 1.917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08863/18.12, allocations: 57.41 MB / 3.201 GB, free: 34.88 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06925/18.19, allocations: 38.21 MB / 3.238 GB, free: 13.45 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001499/18.2, allocations: 300 kB / 3.239 GB, free: 13.16 MB / 1.932 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.2159/18.41, allocations: 83.6 MB / 3.32 GB, free: 9.461 MB / 2.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001922/18.41, allocations: 481.7 kB / 3.321 GB, free: 8.984 MB / 2.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002427/18.42, allocations: 1.035 MB / 3.322 GB, free: 7.949 MB / 2.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009761/18.43, allocations: 3.014 MB / 3.325 GB, free: 4.91 MB / 2.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04825/18.47, allocations: 10.72 MB / 3.335 GB, free: 10.16 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03989/18.51, allocations: 25.53 MB / 3.36 GB, free: 15.36 MB / 2.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04284/18.56, allocations: 2.496 MB / 3.363 GB, free: 12.86 MB / 2.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01356/18.57, allocations: 3.598 MB / 3.366 GB, free: 9.266 MB / 2.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4832 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,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 (9809): * Single equations (assignments): 9798 * Array equations: 0 * Algorithm blocks: 1 * 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.03278/18.6, allocations: 11.04 MB / 3.377 GB, free: 14.17 MB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00927/18.61, allocations: 2.358 MB / 3.379 GB, free: 11.79 MB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 11.85/30.46, allocations: 8.839 GB / 12.22 GB, free: 1.336 GB / 2.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/30.46, allocations: 25.97 kB / 12.22 GB, free: 1.335 GB / 2.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/30.46, allocations: 11.78 kB / 12.22 GB, free: 1.335 GB / 2.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-05/30.46, allocations: 13.61 kB / 12.22 GB, free: 1.335 GB / 2.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 11.81/42.28, allocations: 8.864 GB / 21.08 GB, free: 1.947 GB / 2.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-05/42.28, allocations: 7.438 kB / 21.08 GB, free: 1.947 GB / 2.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/42.28, allocations: 299.8 kB / 21.08 GB, free: 1.947 GB / 2.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00505/42.28, allocations: 1.374 MB / 21.08 GB, free: 1.946 GB / 2.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004469/42.29, allocations: 0.8008 MB / 21.08 GB, free: 1.945 GB / 2.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/42.31, allocations: 23.17 MB / 21.11 GB, free: 1.922 GB / 2.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.564e-06/42.31, allocations: 4.031 kB / 21.11 GB, free: 1.922 GB / 2.745 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 11.67/53.99, allocations: 8.891 GB / 30 GB, free: 146.7 MB / 2.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02/54.01, allocations: 6.339 MB / 30 GB, free: 141.2 MB / 2.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005852/54.01, allocations: 0.6484 MB / 30.01 GB, free: 140.5 MB / 2.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01145/54.03, allocations: 0.7162 MB / 30.01 GB, free: 139.8 MB / 2.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004546/54.03, allocations: 0.6583 MB / 30.01 GB, free: 139.2 MB / 2.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005016/54.04, allocations: 1.242 MB / 30.01 GB, free: 137.9 MB / 2.745 GB Notification: Performance of sorting global known variables: time 0.004024/54.04, allocations: 1.829 MB / 30.01 GB, free: 136.1 MB / 2.745 GB Notification: Performance of sort global known variables: time 1.219e-06/54.04, allocations: 0 / 30.01 GB, free: 136.1 MB / 2.745 GB Notification: Performance of remove unused functions: time 0.06195/54.1, allocations: 9.99 MB / 30.02 GB, free: 126.1 MB / 2.745 GB 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: 20 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,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,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.008368/54.11, allocations: 1.065 MB / 30.02 GB, free: 125.2 MB / 2.745 GB Notification: Performance of simCode: created initialization part: time 0.1745/54.28, allocations: 81.81 MB / 30.1 GB, free: 44.34 MB / 2.745 GB Notification: Performance of simCode: created event and clocks part: time 7.683e-06/54.28, allocations: 4 kB / 30.1 GB, free: 44.34 MB / 2.745 GB Notification: Performance of simCode: created simulation system equations: time 54.76/109, allocations: 28.63 GB / 58.73 GB, free: 1.322 GB / 3.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01364/109.1, allocations: 1.482 MB / 58.73 GB, free: 1.32 GB / 3.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1131/109.2, allocations: 53.73 MB / 58.78 GB, free: 1.268 GB / 3.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02283/109.2, allocations: 10.28 MB / 58.79 GB, free: 1.258 GB / 3.479 GB Notification: Performance of simCode: alias equations: time 0.0146/109.2, allocations: 4.354 MB / 58.79 GB, free: 1.254 GB / 3.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01448/109.2, allocations: 1.331 MB / 58.8 GB, free: 1.253 GB / 3.479 GB Notification: Performance of SimCode: time 3.253e-06/109.2, allocations: 0 / 58.8 GB, free: 1.253 GB / 3.479 GB Notification: Performance of Templates: time 0.6713/109.9, allocations: 278.2 MB / 59.07 GB, free: 0.9847 GB / 3.479 GB