Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.208e-05, allocations: 3.984 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09137, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5167, allocations: 94.15 MB / 437.2 MB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.5169, allocations: 73.34 kB / 437.3 MB, free: 152 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334/1.851, allocations: 114.6 MB / 0.5389 GB, free: 82.8 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.042e-06/1.851, allocations: 0 / 0.5389 GB, free: 82.8 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0004478/1.852, allocations: 212.1 kB / 0.5391 GB, free: 82.8 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.02529/1.877, allocations: 14.29 MB / 0.5531 GB, free: 78.43 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.877, allocations: 10.22 kB / 0.5531 GB, free: 78.43 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/1.881, allocations: 1.486 MB / 0.5546 GB, free: 77.54 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03368/1.915, allocations: 7.662 MB / 0.562 GB, free: 76.22 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/1.915, allocations: 170.8 kB / 0.5622 GB, free: 76.21 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002277/1.918, allocations: 215.3 kB / 0.5624 GB, free: 76.21 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06792/1.986, allocations: 25.18 MB / 0.587 GB, free: 70.33 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/1.986, allocations: 3.312 kB / 0.587 GB, free: 70.33 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001989/1.988, allocations: 92.59 kB / 0.5871 GB, free: 70.26 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/1.988, allocations: 114.7 kB / 0.5872 GB, free: 70.25 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0452/2.033, allocations: 21.91 MB / 0.6086 GB, free: 59.31 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04344/2.077, allocations: 21.18 MB / 0.6293 GB, free: 46 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.436/2.513, allocations: 81.08 MB / 0.7085 GB, free: 73.37 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.09561/2.608, allocations: 78.09 MB / 0.7847 GB, free: 32.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/2.609, allocations: 137.5 kB / 0.7849 GB, free: 32.01 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06158/2.67, allocations: 28.15 MB / 0.8123 GB, free: 19.23 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 1.075e-05/2.671, allocations: 2.719 kB / 0.8123 GB, free: 19.23 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 15.35/18.02, allocations: 2.187 GB / 2.999 GB, free: 215.1 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004863/18.02, allocations: 7.194 MB / 3.006 GB, free: 208.2 MB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/18.02, allocations: 1.338 MB / 3.007 GB, free: 206.9 MB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.005623/18.03, allocations: 3.932 MB / 3.011 GB, free: 202.9 MB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/18.03, allocations: 1.029 MB / 3.012 GB, free: 202 MB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.02157/18.05, allocations: 21.23 MB / 3.033 GB, free: 181 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005398/18.06, allocations: 1.492 MB / 3.035 GB, free: 179.5 MB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.006154/18.06, allocations: 3.46 MB / 3.038 GB, free: 176.1 MB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04961/18.11, allocations: 25.65 MB / 3.063 GB, free: 150.4 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06703/18.18, allocations: 56.6 MB / 3.118 GB, free: 80.4 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0642/18.24, allocations: 37.47 MB / 3.155 GB, free: 43.47 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001042/18.25, allocations: 304 kB / 3.155 GB, free: 43.18 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1859/18.43, allocations: 81.51 MB / 3.235 GB, free: 9.637 MB / 1.979 GB Notification: Performance of prepare postOptimizeDAE: time 0.001128/18.43, allocations: 485.7 kB / 3.235 GB, free: 9.156 MB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002163/18.44, allocations: 1.031 MB / 3.236 GB, free: 8.125 MB / 1.979 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006792/18.44, allocations: 2.321 MB / 3.238 GB, free: 5.801 MB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04646/18.49, allocations: 10.54 MB / 3.249 GB, free: 11.23 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/18.51, allocations: 12.61 MB / 3.261 GB, free: 14.11 MB / 2.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04163/18.55, allocations: 2.43 MB / 3.263 GB, free: 11.68 MB / 2.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01303/18.56, allocations: 3.566 MB / 3.267 GB, free: 8.117 MB / 2.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4821 * Number of states: 0 () * Number of discrete variables: 18 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9716): * Single equations (assignments): 9711 * 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: 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.03322/18.6, allocations: 10.98 MB / 3.278 GB, free: 13.08 MB / 2.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007876/18.61, allocations: 2.211 MB / 3.28 GB, free: 10.85 MB / 2.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 13.21/31.82, allocations: 8.837 GB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/31.82, allocations: 19.31 kB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/31.82, allocations: 7.984 kB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/31.82, allocations: 3.984 kB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 13.15/44.97, allocations: 8.86 GB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/44.97, allocations: 2.344 kB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/44.97, allocations: 160.6 kB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/44.98, allocations: 0.6886 MB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00399/44.98, allocations: 0.7687 MB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/44.99, allocations: 10.37 MB / 20.99 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.517e-06/44.99, allocations: 0 / 20.99 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 12.46/57.46, allocations: 8.888 GB / 29.88 GB, free: 0.7476 GB / 2.776 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01777/57.48, allocations: 6.055 MB / 29.88 GB, free: 0.7424 GB / 2.776 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005204/57.48, allocations: 0.6211 MB / 29.88 GB, free: 0.7418 GB / 2.776 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01048/57.49, allocations: 0.6636 MB / 29.88 GB, free: 0.7412 GB / 2.776 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003959/57.5, allocations: 0.5558 MB / 29.88 GB, free: 0.7406 GB / 2.776 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004533/57.5, allocations: 1.216 MB / 29.89 GB, free: 0.7394 GB / 2.776 GB Notification: Performance of sorting global known variables: time 0.002018/57.5, allocations: 1.051 MB / 29.89 GB, free: 0.7384 GB / 2.776 GB Notification: Performance of sort global known variables: time 9.57e-07/57.5, allocations: 0 / 29.89 GB, free: 0.7384 GB / 2.776 GB Notification: Performance of remove unused functions: time 0.04811/57.55, allocations: 9.548 MB / 29.9 GB, free: 0.7291 GB / 2.776 GB 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: 14 (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,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 (83): * Single equations (assignments): 77 * 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: 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.005139/57.56, allocations: 1.007 MB / 29.9 GB, free: 0.7283 GB / 2.776 GB Notification: Performance of simCode: created initialization part: time 0.1369/57.69, allocations: 79.41 MB / 29.97 GB, free: 0.6515 GB / 2.776 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/57.69, allocations: 0.7812 kB / 29.97 GB, free: 0.6515 GB / 2.776 GB Notification: Performance of simCode: created simulation system equations: time 53.76/111.5, allocations: 28.61 GB / 58.59 GB, free: 0.636 GB / 3.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01063/111.5, allocations: 1.056 MB / 58.59 GB, free: 0.635 GB / 3.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1264/111.6, allocations: 50.49 MB / 58.64 GB, free: 0.586 GB / 3.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01713/111.6, allocations: 9.136 MB / 58.65 GB, free: 0.577 GB / 3.323 GB Notification: Performance of simCode: alias equations: time 0.01238/111.6, allocations: 4.079 MB / 58.65 GB, free: 0.573 GB / 3.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009291/111.6, allocations: 1.265 MB / 58.65 GB, free: 0.5718 GB / 3.323 GB Notification: Performance of SimCode: time 2.208e-06/111.6, allocations: 0 / 58.65 GB, free: 0.5718 GB / 3.323 GB Notification: Performance of Templates: time 0.6133/112.2, allocations: 250.8 MB / 58.9 GB, free: 338 MB / 3.323 GB