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_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.259e-05, allocations: 4 kB / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09218, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.4942, allocations: 94.15 MB / 436.7 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/0.4946, allocations: 75.83 kB / 436.8 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254/1.749, allocations: 114.6 MB / 0.5384 GB, free: 82.86 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.439e-06/1.749, allocations: 0 / 0.5384 GB, free: 82.86 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0005852/1.75, allocations: 209.4 kB / 0.5386 GB, free: 82.85 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.0314/1.781, allocations: 14.29 MB / 0.5526 GB, free: 78.49 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/1.781, allocations: 10.03 kB / 0.5526 GB, free: 78.49 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/1.787, allocations: 1.486 MB / 0.5541 GB, free: 77.6 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/1.81, allocations: 7.664 MB / 0.5615 GB, free: 76.27 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/1.81, allocations: 176.2 kB / 0.5617 GB, free: 76.27 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/1.812, allocations: 216.2 kB / 0.5619 GB, free: 76.27 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04182/1.853, allocations: 25.17 MB / 0.5865 GB, free: 70.36 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/1.854, allocations: 0 / 0.5865 GB, free: 70.36 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/1.855, allocations: 101.3 kB / 0.5866 GB, free: 70.29 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/1.855, allocations: 111.3 kB / 0.5867 GB, free: 70.27 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03486/1.89, allocations: 21.91 MB / 0.6081 GB, free: 59.34 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04263/1.932, allocations: 21.17 MB / 0.6288 GB, free: 45.94 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.394/2.326, allocations: 81.09 MB / 0.708 GB, free: 73.49 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06323/2.39, allocations: 78.1 MB / 0.7842 GB, free: 32.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/2.39, allocations: 139.2 kB / 0.7844 GB, free: 32 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0394/2.43, allocations: 28.15 MB / 0.8118 GB, free: 19.22 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 6.832e-06/2.43, allocations: 0 / 0.8118 GB, free: 19.22 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 15.36/17.79, allocations: 2.187 GB / 2.999 GB, free: 215.1 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00455/17.79, allocations: 7.193 MB / 3.006 GB, free: 208.2 MB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/17.8, allocations: 1.34 MB / 3.007 GB, free: 206.8 MB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.005524/17.8, allocations: 3.932 MB / 3.011 GB, free: 202.9 MB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/17.8, allocations: 1.026 MB / 3.012 GB, free: 201.9 MB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.02225/17.83, allocations: 21.23 MB / 3.033 GB, free: 181 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005515/17.83, allocations: 1.492 MB / 3.034 GB, free: 179.5 MB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.006183/17.84, allocations: 3.457 MB / 3.037 GB, free: 176 MB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04993/17.89, allocations: 25.65 MB / 3.062 GB, free: 150.3 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06671/17.95, allocations: 56.6 MB / 3.118 GB, free: 80.35 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1004/18.05, allocations: 37.46 MB / 3.154 GB, free: 43.42 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002889/18.06, allocations: 300 kB / 3.155 GB, free: 43.13 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2664/18.32, allocations: 81.51 MB / 3.234 GB, free: 9.59 MB / 1.979 GB Notification: Performance of prepare postOptimizeDAE: time 0.001338/18.32, allocations: 485.7 kB / 3.235 GB, free: 9.109 MB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002086/18.33, allocations: 1.031 MB / 3.236 GB, free: 8.078 MB / 1.979 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006116/18.33, allocations: 2.327 MB / 3.238 GB, free: 5.746 MB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04628/18.38, allocations: 10.53 MB / 3.248 GB, free: 11.19 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/18.4, allocations: 12.62 MB / 3.261 GB, free: 14.05 MB / 2.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04113/18.44, allocations: 2.426 MB / 3.263 GB, free: 11.63 MB / 2.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01318/18.45, allocations: 3.562 MB / 3.266 GB, free: 8.07 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.03229/18.49, allocations: 10.99 MB / 3.277 GB, free: 13.02 MB / 2.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007821/18.5, allocations: 2.211 MB / 3.279 GB, free: 10.79 MB / 2.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 11.71/30.21, allocations: 8.837 GB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/30.21, allocations: 16 kB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.461e-06/30.21, allocations: 4 kB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/30.21, allocations: 7.969 kB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 12.17/42.37, allocations: 8.86 GB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/42.37, allocations: 3.531 kB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/42.37, allocations: 158.7 kB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/42.38, allocations: 0.6994 MB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004363/42.38, allocations: 0.7633 MB / 20.98 GB, free: 2.316 GB / 2.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/42.39, allocations: 10.37 MB / 20.99 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.268e-06/42.39, allocations: 3.656 kB / 20.99 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 11.49/53.88, allocations: 8.888 GB / 29.88 GB, free: 0.7478 GB / 2.776 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01747/53.9, allocations: 6.055 MB / 29.88 GB, free: 0.7426 GB / 2.776 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00508/53.9, allocations: 0.6224 MB / 29.88 GB, free: 0.742 GB / 2.776 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01036/53.91, allocations: 0.6628 MB / 29.88 GB, free: 0.7414 GB / 2.776 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004199/53.92, allocations: 0.553 MB / 29.88 GB, free: 0.7408 GB / 2.776 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004887/53.92, allocations: 1.22 MB / 29.89 GB, free: 0.7397 GB / 2.776 GB Notification: Performance of sorting global known variables: time 0.002118/53.93, allocations: 1.051 MB / 29.89 GB, free: 0.7386 GB / 2.776 GB Notification: Performance of sort global known variables: time 1.01e-06/53.93, allocations: 0 / 29.89 GB, free: 0.7386 GB / 2.776 GB Notification: Performance of remove unused functions: time 0.04815/53.97, allocations: 9.543 MB / 29.9 GB, free: 0.7293 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.005207/53.98, allocations: 1.015 MB / 29.9 GB, free: 0.7285 GB / 2.776 GB Notification: Performance of simCode: created initialization part: time 0.1341/54.11, allocations: 79.42 MB / 29.97 GB, free: 0.6517 GB / 2.776 GB Notification: Performance of simCode: created event and clocks part: time 9.396e-06/54.11, allocations: 6.75 kB / 29.97 GB, free: 0.6517 GB / 2.776 GB Notification: Performance of simCode: created simulation system equations: time 51.78/105.9, allocations: 28.61 GB / 58.59 GB, free: 0.6358 GB / 3.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/105.9, allocations: 1.063 MB / 58.59 GB, free: 0.6348 GB / 3.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1031/106, allocations: 50.48 MB / 58.64 GB, free: 0.5858 GB / 3.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0185/106, allocations: 9.136 MB / 58.65 GB, free: 0.5768 GB / 3.323 GB Notification: Performance of simCode: alias equations: time 0.0127/106, allocations: 4.08 MB / 58.65 GB, free: 0.5729 GB / 3.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009351/106.1, allocations: 1.261 MB / 58.65 GB, free: 0.5716 GB / 3.323 GB Notification: Performance of SimCode: time 1.965e-06/106.1, allocations: 4 kB / 58.65 GB, free: 0.5716 GB / 3.323 GB Notification: Performance of Templates: time 0.632/106.7, allocations: 250.8 MB / 58.9 GB, free: 337.8 MB / 3.323 GB