Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.445/2.445, allocations: 205.8 MB / 218.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.304e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5855, allocations: 93.12 MB / 410.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5858, allocations: 72.22 kB / 410.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479/2.065, allocations: 114.2 MB / 0.5121 GB, free: 74.95 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.675e-06/2.065, allocations: 0 / 0.5121 GB, free: 74.95 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0009136/2.066, allocations: 215.5 kB / 0.5123 GB, free: 74.95 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.09228/2.158, allocations: 14.26 MB / 0.5262 GB, free: 72.9 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/2.158, allocations: 11.38 kB / 0.5262 GB, free: 72.9 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006309/2.165, allocations: 2.057 MB / 0.5283 GB, free: 72.73 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006159/2.171, allocations: 1.479 MB / 0.5297 GB, free: 71.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0283/2.199, allocations: 7.638 MB / 0.5372 GB, free: 70.7 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/2.2, allocations: 163.6 kB / 0.5373 GB, free: 70.69 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/2.202, allocations: 222.5 kB / 0.5375 GB, free: 70.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05012/2.252, allocations: 25.19 MB / 0.5621 GB, free: 66.87 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/2.252, allocations: 3.469 kB / 0.5621 GB, free: 66.87 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/2.254, allocations: 99.45 kB / 0.5622 GB, free: 66.8 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/2.254, allocations: 110.2 kB / 0.5623 GB, free: 66.79 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03924/2.293, allocations: 21.92 MB / 0.5837 GB, free: 55.86 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0573/2.35, allocations: 21.19 MB / 0.6044 GB, free: 47.18 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4214/2.772, allocations: 81.22 MB / 0.6837 GB, free: 74.61 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1006/2.872, allocations: 78.1 MB / 0.76 GB, free: 30.21 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/2.873, allocations: 134.7 kB / 0.7601 GB, free: 30.12 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05498/2.928, allocations: 28.15 MB / 0.7876 GB, free: 17.34 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.44e-06/2.928, allocations: 0 / 0.7876 GB, free: 17.34 MB / 442.8 MB Notification: Performance of matching and sorting (n=4941): time 19.78/22.71, allocations: 2.188 GB / 2.976 GB, free: 74.1 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008381/22.72, allocations: 7.188 MB / 2.983 GB, free: 67.18 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/22.72, allocations: 1.341 MB / 2.984 GB, free: 65.83 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.01288/22.73, allocations: 3.924 MB / 2.988 GB, free: 61.89 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002173/22.74, allocations: 1.046 MB / 2.989 GB, free: 60.9 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.02828/22.76, allocations: 21.23 MB / 3.01 GB, free: 39.77 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007425/22.77, allocations: 1.488 MB / 3.011 GB, free: 38.29 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.008066/22.78, allocations: 3.458 MB / 3.015 GB, free: 34.82 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06449/22.84, allocations: 25.65 MB / 3.04 GB, free: 9.145 MB / 1.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1649/23.01, allocations: 56.6 MB / 3.095 GB, free: 3.172 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.101/23.11, allocations: 37.46 MB / 3.132 GB, free: 14.37 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001514/23.11, allocations: 304 kB / 3.132 GB, free: 14.07 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2432/23.36, allocations: 81.5 MB / 3.212 GB, free: 12.54 MB / 2.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002491/23.36, allocations: 481.7 kB / 3.212 GB, free: 12.06 MB / 2.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003508/23.36, allocations: 1.033 MB / 3.213 GB, free: 11.03 MB / 2.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008618/23.37, allocations: 2.319 MB / 3.215 GB, free: 8.703 MB / 2.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06821/23.44, allocations: 10.53 MB / 3.226 GB, free: 14.15 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/23.46, allocations: 12.61 MB / 3.238 GB, free: 1.027 MB / 2.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04673/23.51, allocations: 2.429 MB / 3.24 GB, free: 14.6 MB / 2.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01337/23.52, allocations: 3.559 MB / 3.244 GB, free: 11.04 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.0342/23.56, allocations: 10.98 MB / 3.254 GB, free: 4 kB / 2.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009519/23.56, allocations: 2.223 MB / 3.257 GB, free: 13.76 MB / 2.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 12.73/36.29, allocations: 8.837 GB / 12.09 GB, free: 0.8393 GB / 2.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/36.29, allocations: 12.56 kB / 12.09 GB, free: 0.8393 GB / 2.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/36.29, allocations: 4 kB / 12.09 GB, free: 0.8393 GB / 2.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.073e-05/36.29, allocations: 11.23 kB / 12.09 GB, free: 0.8393 GB / 2.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 12.08/48.38, allocations: 8.86 GB / 20.95 GB, free: 1.069 GB / 2.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/48.38, allocations: 0 / 20.95 GB, free: 1.069 GB / 2.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/48.38, allocations: 161.7 kB / 20.95 GB, free: 1.069 GB / 2.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/48.38, allocations: 0.6937 MB / 20.96 GB, free: 1.068 GB / 2.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005083/48.39, allocations: 0.7695 MB / 20.96 GB, free: 1.067 GB / 2.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/48.4, allocations: 10.38 MB / 20.97 GB, free: 1.057 GB / 2.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/48.4, allocations: 6.234 kB / 20.97 GB, free: 1.057 GB / 2.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 12.86/61.27, allocations: 8.889 GB / 29.86 GB, free: 1.259 GB / 2.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0234/61.29, allocations: 6.054 MB / 29.86 GB, free: 1.254 GB / 2.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006568/61.3, allocations: 0.6172 MB / 29.86 GB, free: 1.254 GB / 2.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01353/61.31, allocations: 0.6664 MB / 29.86 GB, free: 1.253 GB / 2.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005555/61.31, allocations: 0.5652 MB / 29.86 GB, free: 1.253 GB / 2.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00571/61.32, allocations: 1.212 MB / 29.86 GB, free: 1.251 GB / 2.62 GB Notification: Performance of sorting global known variables: time 0.002224/61.32, allocations: 1.046 MB / 29.87 GB, free: 1.25 GB / 2.62 GB Notification: Performance of sort global known variables: time 5.11e-07/61.32, allocations: 0 / 29.87 GB, free: 1.25 GB / 2.62 GB Notification: Performance of remove unused functions: time 0.05344/61.38, allocations: 9.546 MB / 29.87 GB, free: 1.241 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 12.73/74.1, allocations: 8.896 GB / 38.77 GB, free: 1.44 GB / 2.62 GB Notification: Performance of simCode: created initialization part: time 0.1602/74.26, allocations: 79.42 MB / 38.85 GB, free: 1.363 GB / 2.62 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/74.26, allocations: 0 / 38.85 GB, free: 1.363 GB / 2.62 GB Notification: Performance of simCode: created simulation system equations: time 59.57/133.8, allocations: 28.62 GB / 67.46 GB, free: 1.928 GB / 2.964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01398/133.8, allocations: 1.055 MB / 67.46 GB, free: 1.927 GB / 2.964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.171/134, allocations: 55.79 MB / 67.52 GB, free: 1.872 GB / 2.964 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02275/134, allocations: 9.131 MB / 67.53 GB, free: 1.864 GB / 2.964 GB Notification: Performance of simCode: alias equations: time 0.01397/134.1, allocations: 4.081 MB / 67.53 GB, free: 1.86 GB / 2.964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01948/134.1, allocations: 7.049 MB / 67.54 GB, free: 1.853 GB / 2.964 GB Notification: Performance of SimCode: time 1.904e-06/134.1, allocations: 2.094 kB / 67.54 GB, free: 1.853 GB / 2.964 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9452/135, allocations: 401.4 MB / 67.93 GB, free: 1.463 GB / 2.964 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/135, allocations: 240.2 kB / 67.93 GB, free: 1.463 GB / 2.964 GB Notification: Performance of buildModelFMU: Generate platform static: time 103/238, allocations: 0 / 67.93 GB, free: 1.463 GB / 2.964 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat does not exist to compare? outputFormat=mat