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_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.904e-05, allocations: 0.9062 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09401, allocations: 50.41 MB / 342.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4178/0.5119, allocations: 95.76 MB / 438.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.5121, allocations: 69.09 kB / 438.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423/1.935, allocations: 167.7 MB / 0.5919 GB, free: 80.47 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.804e-06/1.935, allocations: 3.531 kB / 0.5919 GB, free: 80.47 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0005576/1.936, allocations: 262.6 kB / 0.5921 GB, free: 80.45 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.0274/1.963, allocations: 15.86 MB / 0.6076 GB, free: 73.68 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.963, allocations: 10.44 kB / 0.6076 GB, free: 73.68 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/1.968, allocations: 1.729 MB / 0.6093 GB, free: 72.68 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02639/1.994, allocations: 8.84 MB / 0.6179 GB, free: 67.64 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/1.995, allocations: 298.5 kB / 0.6182 GB, free: 67.35 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/1.997, allocations: 394.6 kB / 0.6186 GB, free: 66.97 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06039/2.057, allocations: 27.67 MB / 0.6456 GB, free: 39.14 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/2.057, allocations: 7.281 kB / 0.6456 GB, free: 39.13 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/2.059, allocations: 167.3 kB / 0.6458 GB, free: 38.97 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002285/2.059, allocations: 208 kB / 0.646 GB, free: 38.77 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03957/2.099, allocations: 23.96 MB / 0.6694 GB, free: 14.8 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06802/2.167, allocations: 28.71 MB / 0.6974 GB, free: 2.062 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3511/2.518, allocations: 83.46 MB / 0.7789 GB, free: 34.4 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.09116/2.609, allocations: 80.25 MB / 0.8573 GB, free: 6.418 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004975/2.61, allocations: 146.8 kB / 0.8574 GB, free: 6.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3961/3.006, allocations: 28.94 MB / 0.8857 GB, free: 121.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5058): time 2.439e-05/3.006, allocations: 0.7812 kB / 0.8857 GB, free: 121.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=5065): time 14.11/17.12, allocations: 2.189 GB / 3.074 GB, free: 3.219 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007801/17.13, allocations: 7.36 MB / 3.081 GB, free: 12.1 MB / 1.839 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/17.13, allocations: 2.348 MB / 3.084 GB, free: 9.734 MB / 1.839 GB Notification: Performance of collectPreVariables (initialization): time 0.007918/17.14, allocations: 3.948 MB / 3.088 GB, free: 5.77 MB / 1.839 GB Notification: Performance of collectInitialEqns (initialization): time 0.002576/17.14, allocations: 1.744 MB / 3.089 GB, free: 4.078 MB / 1.839 GB Notification: Performance of collectInitialBindings (initialization): time 0.03182/17.18, allocations: 21.63 MB / 3.11 GB, free: 14.55 MB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006486/17.18, allocations: 1.512 MB / 3.112 GB, free: 13.04 MB / 1.87 GB Notification: Performance of setup shared object (initialization): time 0.007344/17.19, allocations: 3.507 MB / 3.115 GB, free: 9.52 MB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06378/17.25, allocations: 26.28 MB / 3.141 GB, free: 15.23 MB / 1.901 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09674/17.35, allocations: 57.41 MB / 3.197 GB, free: 8.402 MB / 1.964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08056/17.43, allocations: 38.21 MB / 3.234 GB, free: 2.797 MB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001309/17.43, allocations: 300 kB / 3.235 GB, free: 2.504 MB / 1.995 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.2107/17.64, allocations: 83.61 MB / 3.316 GB, free: 14.8 MB / 2.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001092/17.64, allocations: 485.4 kB / 3.317 GB, free: 14.32 MB / 2.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001996/17.65, allocations: 1.035 MB / 3.318 GB, free: 13.29 MB / 2.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009185/17.66, allocations: 3.022 MB / 3.321 GB, free: 10.25 MB / 2.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04716/17.7, allocations: 10.72 MB / 3.331 GB, free: 15.5 MB / 2.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04393/17.75, allocations: 25.53 MB / 3.356 GB, free: 4.695 MB / 2.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04227/17.79, allocations: 2.496 MB / 3.359 GB, free: 2.203 MB / 2.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01359/17.8, allocations: 3.598 MB / 3.362 GB, free: 14.6 MB / 2.136 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.03367/17.84, allocations: 11.05 MB / 3.373 GB, free: 3.504 MB / 2.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008295/17.84, allocations: 2.354 MB / 3.375 GB, free: 1.129 MB / 2.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 13.52/31.37, allocations: 8.839 GB / 12.21 GB, free: 2.003 GB / 2.479 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/31.37, allocations: 23.81 kB / 12.21 GB, free: 2.003 GB / 2.479 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/31.37, allocations: 11.72 kB / 12.21 GB, free: 2.003 GB / 2.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.022e-05/31.37, allocations: 13.95 kB / 12.21 GB, free: 2.003 GB / 2.479 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 13.25/44.62, allocations: 8.864 GB / 21.08 GB, free: 1.608 GB / 2.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/44.62, allocations: 3.438 kB / 21.08 GB, free: 1.608 GB / 2.479 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/44.62, allocations: 297.2 kB / 21.08 GB, free: 1.608 GB / 2.479 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008224/44.63, allocations: 1.379 MB / 21.08 GB, free: 1.607 GB / 2.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007108/44.64, allocations: 0.7964 MB / 21.08 GB, free: 1.606 GB / 2.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04145/44.68, allocations: 23.18 MB / 21.1 GB, free: 1.582 GB / 2.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.931e-06/44.68, allocations: 0 / 21.1 GB, free: 1.582 GB / 2.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 13.13/57.81, allocations: 8.891 GB / 29.99 GB, free: 1.117 GB / 2.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01837/57.83, allocations: 6.337 MB / 30 GB, free: 1.112 GB / 2.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005641/57.84, allocations: 0.6496 MB / 30 GB, free: 1.111 GB / 2.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01149/57.85, allocations: 0.7233 MB / 30 GB, free: 1.111 GB / 2.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004337/57.85, allocations: 0.6476 MB / 30 GB, free: 1.11 GB / 2.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004901/57.86, allocations: 1.25 MB / 30 GB, free: 1.109 GB / 2.479 GB Notification: Performance of sorting global known variables: time 0.003615/57.86, allocations: 1.825 MB / 30.01 GB, free: 1.107 GB / 2.479 GB Notification: Performance of sort global known variables: time 9.49e-07/57.86, allocations: 2.188 kB / 30.01 GB, free: 1.107 GB / 2.479 GB Notification: Performance of remove unused functions: time 0.04958/57.91, allocations: 9.993 MB / 30.02 GB, free: 1.097 GB / 2.479 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.005446/57.92, allocations: 1.068 MB / 30.02 GB, free: 1.096 GB / 2.479 GB Notification: Performance of simCode: created initialization part: time 0.1796/58.1, allocations: 81.8 MB / 30.1 GB, free: 1.018 GB / 2.479 GB Notification: Performance of simCode: created event and clocks part: time 8.378e-06/58.1, allocations: 0 / 30.1 GB, free: 1.018 GB / 2.479 GB Notification: Performance of simCode: created simulation system equations: time 56.43/114.5, allocations: 28.61 GB / 58.71 GB, free: 1.413 GB / 2.854 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01282/114.5, allocations: 1.484 MB / 58.71 GB, free: 1.412 GB / 2.854 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1198/114.7, allocations: 53.73 MB / 58.76 GB, free: 1.36 GB / 2.854 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02118/114.7, allocations: 10.28 MB / 58.77 GB, free: 1.35 GB / 2.854 GB Notification: Performance of simCode: alias equations: time 0.01346/114.7, allocations: 4.352 MB / 58.78 GB, free: 1.346 GB / 2.854 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009352/114.7, allocations: 1.331 MB / 58.78 GB, free: 1.345 GB / 2.854 GB Notification: Performance of SimCode: time 1.784e-06/114.7, allocations: 4 kB / 58.78 GB, free: 1.345 GB / 2.854 GB Notification: Performance of Templates: time 0.6753/115.4, allocations: 278.2 MB / 59.05 GB, free: 1.076 GB / 2.854 GB