Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.129e-05, allocations: 4 kB / 269.3 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08699, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.4816, allocations: 93.12 MB / 410 MB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4818, allocations: 74.27 kB / 410.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189/1.671, allocations: 114.2 MB / 0.512 GB, free: 75.36 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.029e-06/1.671, allocations: 0 / 0.512 GB, free: 75.36 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0005957/1.671, allocations: 215 kB / 0.5122 GB, free: 75.36 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.02944/1.701, allocations: 14.26 MB / 0.5261 GB, free: 73.31 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.701, allocations: 11.53 kB / 0.5261 GB, free: 73.31 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/1.706, allocations: 1.48 MB / 0.5276 GB, free: 72.42 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02383/1.729, allocations: 7.642 MB / 0.535 GB, free: 71.27 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/1.73, allocations: 162.1 kB / 0.5352 GB, free: 71.26 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.731, allocations: 217.5 kB / 0.5354 GB, free: 71.26 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/1.774, allocations: 25.19 MB / 0.56 GB, free: 67.93 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/1.775, allocations: 0 / 0.56 GB, free: 67.93 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008728/1.775, allocations: 101.6 kB / 0.5601 GB, free: 67.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/1.776, allocations: 115.9 kB / 0.5602 GB, free: 67.85 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0352/1.811, allocations: 21.92 MB / 0.5816 GB, free: 56.92 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0449/1.856, allocations: 21.18 MB / 0.6023 GB, free: 48.24 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.389/2.245, allocations: 81.31 MB / 0.6817 GB, free: 73.37 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06595/2.311, allocations: 78.1 MB / 0.758 GB, free: 32.62 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/2.312, allocations: 140.5 kB / 0.7581 GB, free: 32.52 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08024/2.392, allocations: 28.15 MB / 0.7856 GB, free: 19.74 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.748e-06/2.392, allocations: 0 / 0.7856 GB, free: 19.74 MB / 442.8 MB Notification: Performance of matching and sorting (n=4941): time 14.41/16.8, allocations: 2.188 GB / 2.973 GB, free: 74.32 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004899/16.81, allocations: 7.189 MB / 2.98 GB, free: 67.4 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/16.81, allocations: 1.341 MB / 2.981 GB, free: 66.05 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.005876/16.81, allocations: 3.928 MB / 2.985 GB, free: 62.1 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/16.82, allocations: 1.039 MB / 2.986 GB, free: 61.12 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.02203/16.84, allocations: 21.23 MB / 3.007 GB, free: 40 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005526/16.84, allocations: 1.492 MB / 3.008 GB, free: 38.5 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.005944/16.85, allocations: 3.456 MB / 3.012 GB, free: 35.04 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04946/16.9, allocations: 25.66 MB / 3.037 GB, free: 9.367 MB / 1.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0886/16.99, allocations: 56.6 MB / 3.092 GB, free: 3.395 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08046/17.07, allocations: 37.47 MB / 3.129 GB, free: 14.59 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001427/17.07, allocations: 300 kB / 3.129 GB, free: 14.3 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2107/17.28, allocations: 81.5 MB / 3.209 GB, free: 12.76 MB / 2.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001123/17.28, allocations: 485.7 kB / 3.209 GB, free: 12.28 MB / 2.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002065/17.28, allocations: 1.027 MB / 3.21 GB, free: 11.25 MB / 2.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/17.3, allocations: 2.323 MB / 3.212 GB, free: 8.93 MB / 2.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08048/17.38, allocations: 10.54 MB / 3.223 GB, free: 14.36 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/17.4, allocations: 12.6 MB / 3.235 GB, free: 1.25 MB / 2.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04082/17.44, allocations: 2.429 MB / 3.237 GB, free: 14.82 MB / 2.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01283/17.45, allocations: 3.566 MB / 3.241 GB, free: 11.26 MB / 2.042 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.0332/17.48, allocations: 10.97 MB / 3.252 GB, free: 236 kB / 2.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00793/17.49, allocations: 2.23 MB / 3.254 GB, free: 13.98 MB / 2.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 12.11/29.6, allocations: 8.837 GB / 12.09 GB, free: 0.8388 GB / 2.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/29.6, allocations: 13.78 kB / 12.09 GB, free: 0.8388 GB / 2.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.931e-06/29.6, allocations: 4 kB / 12.09 GB, free: 0.8388 GB / 2.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.77e-05/29.6, allocations: 11.41 kB / 12.09 GB, free: 0.8388 GB / 2.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 12.49/42.1, allocations: 8.86 GB / 20.95 GB, free: 1.067 GB / 2.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/42.1, allocations: 0.9375 kB / 20.95 GB, free: 1.067 GB / 2.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009417/42.1, allocations: 166.9 kB / 20.95 GB, free: 1.067 GB / 2.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/42.1, allocations: 0.6917 MB / 20.95 GB, free: 1.066 GB / 2.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003901/42.1, allocations: 0.7656 MB / 20.95 GB, free: 1.066 GB / 2.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/42.12, allocations: 10.38 MB / 20.96 GB, free: 1.055 GB / 2.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.192e-06/42.12, allocations: 4.031 kB / 20.96 GB, free: 1.055 GB / 2.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 11.92/54.03, allocations: 8.889 GB / 29.85 GB, free: 1.257 GB / 2.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01753/54.05, allocations: 6.048 MB / 29.86 GB, free: 1.252 GB / 2.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005061/54.05, allocations: 0.6244 MB / 29.86 GB, free: 1.251 GB / 2.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01018/54.06, allocations: 0.664 MB / 29.86 GB, free: 1.25 GB / 2.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003867/54.07, allocations: 0.5591 MB / 29.86 GB, free: 1.25 GB / 2.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004471/54.07, allocations: 1.214 MB / 29.86 GB, free: 1.249 GB / 2.62 GB Notification: Performance of sorting global known variables: time 0.001951/54.08, allocations: 1.047 MB / 29.86 GB, free: 1.248 GB / 2.62 GB Notification: Performance of sort global known variables: time 9.49e-07/54.08, allocations: 1.281 kB / 29.86 GB, free: 1.248 GB / 2.62 GB Notification: Performance of remove unused functions: time 0.04786/54.12, allocations: 9.543 MB / 29.87 GB, free: 1.238 GB / 2.62 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.005025/54.13, allocations: 1 MB / 29.87 GB, free: 1.237 GB / 2.62 GB Notification: Performance of simCode: created initialization part: time 0.1275/54.26, allocations: 79.42 MB / 29.95 GB, free: 1.161 GB / 2.62 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/54.26, allocations: 2.938 kB / 29.95 GB, free: 1.161 GB / 2.62 GB Notification: Performance of simCode: created simulation system equations: time 51.19/105.4, allocations: 28.62 GB / 58.57 GB, free: 1.508 GB / 2.886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/105.5, allocations: 1.069 MB / 58.57 GB, free: 1.507 GB / 2.886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1235/105.6, allocations: 50.47 MB / 58.62 GB, free: 1.458 GB / 2.886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01674/105.6, allocations: 9.131 MB / 58.63 GB, free: 1.449 GB / 2.886 GB Notification: Performance of simCode: alias equations: time 0.01241/105.6, allocations: 4.085 MB / 58.63 GB, free: 1.445 GB / 2.886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008936/105.6, allocations: 1.261 MB / 58.63 GB, free: 1.444 GB / 2.886 GB Notification: Performance of SimCode: time 2.838e-06/105.6, allocations: 0 / 58.63 GB, free: 1.444 GB / 2.886 GB Notification: Performance of Templates: time 0.6247/106.2, allocations: 250.8 MB / 58.88 GB, free: 1.202 GB / 2.886 GB