Running command: translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.874e-05, allocations: 0 / 269.3 MB, free: 6.426 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08482, allocations: 47.58 MB / 316.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3525/0.4374, allocations: 94.74 MB / 411.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4377, allocations: 75.52 kB / 411.7 MB, free: 9.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459/1.897, allocations: 167.2 MB / 0.5653 GB, free: 71.43 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.554e-06/1.897, allocations: 0 / 0.5653 GB, free: 71.43 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0005419/1.898, allocations: 263.4 kB / 0.5656 GB, free: 71.41 MB / 426.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.04897/1.947, allocations: 15.82 MB / 0.581 GB, free: 66.34 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/1.947, allocations: 14.56 kB / 0.581 GB, free: 66.34 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009556/1.956, allocations: 1.73 MB / 0.5827 GB, free: 65.34 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03617/1.992, allocations: 8.802 MB / 0.5913 GB, free: 63.37 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/1.993, allocations: 295.4 kB / 0.5916 GB, free: 63.36 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/1.995, allocations: 397.2 kB / 0.592 GB, free: 63.36 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04361/2.038, allocations: 27.7 MB / 0.619 GB, free: 45.74 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-05/2.039, allocations: 3.938 kB / 0.619 GB, free: 45.74 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009476/2.04, allocations: 167.4 kB / 0.6192 GB, free: 45.58 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/2.04, allocations: 206.8 kB / 0.6194 GB, free: 45.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/2.075, allocations: 23.98 MB / 0.6428 GB, free: 23.14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0564/2.131, allocations: 28.73 MB / 0.6709 GB, free: 12.03 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3964/2.527, allocations: 83.46 MB / 0.7524 GB, free: 32.86 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.09324/2.621, allocations: 80.38 MB / 0.8309 GB, free: 5.355 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/2.621, allocations: 146.3 kB / 0.831 GB, free: 5.262 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04523/2.667, allocations: 28.95 MB / 0.8593 GB, free: 8.164 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5058): time 1.114e-05/2.667, allocations: 0 / 0.8593 GB, free: 8.164 MB / 490.8 MB Notification: Performance of matching and sorting (n=5065): time 14.67/17.34, allocations: 2.19 GB / 3.049 GB, free: 63.18 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004516/17.34, allocations: 7.359 MB / 3.057 GB, free: 56.06 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/17.35, allocations: 2.35 MB / 3.059 GB, free: 53.7 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.005996/17.35, allocations: 3.948 MB / 3.063 GB, free: 49.73 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/17.36, allocations: 1.742 MB / 3.064 GB, free: 48.16 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.02126/17.38, allocations: 21.63 MB / 3.085 GB, free: 26.63 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005528/17.38, allocations: 1.516 MB / 3.087 GB, free: 25.11 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.005672/17.39, allocations: 3.501 MB / 3.09 GB, free: 21.6 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05461/17.44, allocations: 26.28 MB / 3.116 GB, free: 11.3 MB / 1.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09603/17.54, allocations: 57.41 MB / 3.172 GB, free: 4.48 MB / 1.901 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08004/17.62, allocations: 38.21 MB / 3.209 GB, free: 14.88 MB / 1.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001549/17.62, allocations: 300 kB / 3.21 GB, free: 14.58 MB / 1.948 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.208/17.83, allocations: 83.62 MB / 3.291 GB, free: 10.88 MB / 2.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001968/17.83, allocations: 481.7 kB / 3.292 GB, free: 10.4 MB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002392/17.83, allocations: 1.035 MB / 3.293 GB, free: 9.367 MB / 2.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009602/17.84, allocations: 3.012 MB / 3.296 GB, free: 6.332 MB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04862/17.89, allocations: 10.72 MB / 3.306 GB, free: 11.59 MB / 2.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03922/17.93, allocations: 25.53 MB / 3.331 GB, free: 0.7734 MB / 2.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04218/17.97, allocations: 2.493 MB / 3.334 GB, free: 14.29 MB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01321/17.99, allocations: 3.598 MB / 3.337 GB, free: 10.7 MB / 2.073 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.03342/18.02, allocations: 11.04 MB / 3.348 GB, free: 15.59 MB / 2.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008491/18.03, allocations: 2.354 MB / 3.35 GB, free: 13.22 MB / 2.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 10.99/29.01, allocations: 8.839 GB / 12.19 GB, free: 0.7569 GB / 2.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/29.01, allocations: 24 kB / 12.19 GB, free: 0.7569 GB / 2.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/29.01, allocations: 8.5 kB / 12.19 GB, free: 0.7569 GB / 2.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/29.02, allocations: 13.05 kB / 12.19 GB, free: 0.7569 GB / 2.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 11.63/40.65, allocations: 8.864 GB / 21.05 GB, free: 0.9283 GB / 2.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/40.65, allocations: 1.312 kB / 21.05 GB, free: 0.9283 GB / 2.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/40.65, allocations: 297.1 kB / 21.05 GB, free: 0.928 GB / 2.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004338/40.66, allocations: 1.374 MB / 21.06 GB, free: 0.9267 GB / 2.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004223/40.66, allocations: 0.804 MB / 21.06 GB, free: 0.9259 GB / 2.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02559/40.69, allocations: 23.17 MB / 21.08 GB, free: 0.9025 GB / 2.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.239e-06/40.69, allocations: 2.266 kB / 21.08 GB, free: 0.9025 GB / 2.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 10.96/51.65, allocations: 8.891 GB / 29.97 GB, free: 1.054 GB / 2.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01833/51.66, allocations: 6.346 MB / 29.98 GB, free: 1.049 GB / 2.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005742/51.67, allocations: 0.652 MB / 29.98 GB, free: 1.048 GB / 2.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01097/51.68, allocations: 0.716 MB / 29.98 GB, free: 1.047 GB / 2.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00424/51.69, allocations: 0.6583 MB / 29.98 GB, free: 1.047 GB / 2.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004706/51.69, allocations: 1.242 MB / 29.98 GB, free: 1.045 GB / 2.62 GB Notification: Performance of sorting global known variables: time 0.003685/51.69, allocations: 1.821 MB / 29.98 GB, free: 1.044 GB / 2.62 GB Notification: Performance of sort global known variables: time 1.066e-06/51.69, allocations: 0 / 29.98 GB, free: 1.044 GB / 2.62 GB Notification: Performance of remove unused functions: time 0.04957/51.74, allocations: 9.993 MB / 29.99 GB, free: 1.034 GB / 2.62 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.005372/51.75, allocations: 1.054 MB / 29.99 GB, free: 1.033 GB / 2.62 GB Notification: Performance of simCode: created initialization part: time 0.1332/51.88, allocations: 81.79 MB / 30.07 GB, free: 0.954 GB / 2.62 GB Notification: Performance of simCode: created event and clocks part: time 9.715e-06/51.88, allocations: 4 kB / 30.07 GB, free: 0.954 GB / 2.62 GB Notification: Performance of simCode: created simulation system equations: time 51.66/103.5, allocations: 28.62 GB / 58.69 GB, free: 2.555 GB / 3.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02139/103.6, allocations: 1.491 MB / 58.69 GB, free: 2.554 GB / 3.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1583/103.7, allocations: 53.71 MB / 58.75 GB, free: 2.503 GB / 3.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02399/103.7, allocations: 10.28 MB / 58.76 GB, free: 2.493 GB / 3.089 GB Notification: Performance of simCode: alias equations: time 0.02134/103.8, allocations: 4.356 MB / 58.76 GB, free: 2.489 GB / 3.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01333/103.8, allocations: 1.335 MB / 58.76 GB, free: 2.488 GB / 3.089 GB Notification: Performance of SimCode: time 2.861e-06/103.8, allocations: 0 / 58.76 GB, free: 2.488 GB / 3.089 GB Notification: Performance of Templates: time 0.6475/104.4, allocations: 278.2 MB / 59.03 GB, free: 2.219 GB / 3.089 GB