Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.238e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 50.4 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6386, allocations: 94.16 MB / 436.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6389, allocations: 71.84 kB / 436.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227/1.866, allocations: 114.6 MB / 0.5386 GB, free: 65.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.815e-06/1.866, allocations: 0 / 0.5386 GB, free: 65.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005397/1.866, allocations: 217.3 kB / 0.5388 GB, free: 65.58 MB / 442.7 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.0344/1.901, allocations: 14.3 MB / 0.5527 GB, free: 61.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.901, allocations: 9.969 kB / 0.5527 GB, free: 61.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006073/1.907, allocations: 2.054 MB / 0.5547 GB, free: 61.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/1.913, allocations: 1.478 MB / 0.5562 GB, free: 60.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02973/1.942, allocations: 7.66 MB / 0.5637 GB, free: 58.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/1.943, allocations: 168.1 kB / 0.5638 GB, free: 58.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/1.946, allocations: 216.5 kB / 0.564 GB, free: 58.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05052/1.997, allocations: 25.18 MB / 0.5886 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.905e-05/1.997, allocations: 0 / 0.5886 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/1.999, allocations: 90 kB / 0.5887 GB, free: 55.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/1.999, allocations: 119.3 kB / 0.5888 GB, free: 55.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0387/2.038, allocations: 21.91 MB / 0.6102 GB, free: 44.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05685/2.094, allocations: 21.18 MB / 0.6309 GB, free: 31.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4882/2.583, allocations: 81.95 MB / 0.7109 GB, free: 89.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.09237/2.675, allocations: 78.09 MB / 0.7872 GB, free: 49.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/2.676, allocations: 140.9 kB / 0.7873 GB, free: 48.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05095/2.727, allocations: 28.15 MB / 0.8148 GB, free: 36.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4937): time 7.965e-06/2.727, allocations: 0 / 0.8148 GB, free: 36.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=4941): time 21.62/24.35, allocations: 2.186 GB / 3.001 GB, free: 213.7 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005473/24.36, allocations: 7.193 MB / 3.008 GB, free: 206.7 MB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/24.36, allocations: 1.336 MB / 3.009 GB, free: 205.4 MB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.008329/24.37, allocations: 3.932 MB / 3.013 GB, free: 201.4 MB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.001628/24.37, allocations: 1.034 MB / 3.014 GB, free: 200.5 MB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.02978/24.4, allocations: 21.23 MB / 3.035 GB, free: 179.6 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009618/24.41, allocations: 1.488 MB / 3.036 GB, free: 178.1 MB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.009951/24.42, allocations: 3.458 MB / 3.04 GB, free: 174.6 MB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0941/24.51, allocations: 25.65 MB / 3.065 GB, free: 148.9 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1173/24.63, allocations: 56.61 MB / 3.12 GB, free: 78.94 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1182/24.75, allocations: 37.46 MB / 3.157 GB, free: 42.01 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001558/24.75, allocations: 304 kB / 3.157 GB, free: 41.71 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2254/24.98, allocations: 81.51 MB / 3.237 GB, free: 8.172 MB / 1.979 GB Notification: Performance of prepare postOptimizeDAE: time 0.002103/24.98, allocations: 489.7 kB / 3.237 GB, free: 7.688 MB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003143/24.98, allocations: 1.027 MB / 3.238 GB, free: 6.66 MB / 1.979 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008158/24.99, allocations: 2.324 MB / 3.24 GB, free: 4.328 MB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06668/25.06, allocations: 10.53 MB / 3.251 GB, free: 9.77 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/25.08, allocations: 12.61 MB / 3.263 GB, free: 12.64 MB / 2.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04603/25.13, allocations: 2.426 MB / 3.265 GB, free: 10.21 MB / 2.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01353/25.14, allocations: 3.562 MB / 3.269 GB, free: 6.652 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.03919/25.18, allocations: 10.99 MB / 3.28 GB, free: 11.61 MB / 2.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01255/25.19, allocations: 2.219 MB / 3.282 GB, free: 9.375 MB / 2.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 12.86/38.05, allocations: 8.837 GB / 12.12 GB, free: 1.597 GB / 2.776 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/38.05, allocations: 16.78 kB / 12.12 GB, free: 1.596 GB / 2.776 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/38.05, allocations: 4.688 kB / 12.12 GB, free: 1.596 GB / 2.776 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-05/38.05, allocations: 9.688 kB / 12.12 GB, free: 1.596 GB / 2.776 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 13/51.05, allocations: 8.86 GB / 20.98 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/51.05, allocations: 0 / 20.98 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/51.05, allocations: 160.1 kB / 20.98 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/51.05, allocations: 0.6869 MB / 20.98 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005116/51.06, allocations: 0.7758 MB / 20.98 GB, free: 2.311 GB / 2.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/51.07, allocations: 10.37 MB / 20.99 GB, free: 2.306 GB / 2.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/51.07, allocations: 3.281 kB / 20.99 GB, free: 2.306 GB / 2.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 12.77/63.84, allocations: 8.888 GB / 29.88 GB, free: 0.7459 GB / 2.776 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02407/63.87, allocations: 6.048 MB / 29.89 GB, free: 0.7408 GB / 2.776 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006145/63.87, allocations: 0.6211 MB / 29.89 GB, free: 0.7402 GB / 2.776 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01316/63.89, allocations: 0.6646 MB / 29.89 GB, free: 0.7395 GB / 2.776 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005558/63.89, allocations: 0.5597 MB / 29.89 GB, free: 0.739 GB / 2.776 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005589/63.9, allocations: 1.211 MB / 29.89 GB, free: 0.7378 GB / 2.776 GB Notification: Performance of sorting global known variables: time 0.002246/63.9, allocations: 1.057 MB / 29.89 GB, free: 0.7368 GB / 2.776 GB Notification: Performance of sort global known variables: time 9.42e-07/63.9, allocations: 0 / 29.89 GB, free: 0.7368 GB / 2.776 GB Notification: Performance of remove unused functions: time 0.05317/63.95, allocations: 9.537 MB / 29.9 GB, free: 0.7275 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 12.9/76.85, allocations: 8.895 GB / 38.79 GB, free: 1.501 GB / 2.776 GB Notification: Performance of simCode: created initialization part: time 0.1568/77.01, allocations: 79.42 MB / 38.87 GB, free: 1.425 GB / 2.776 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/77.01, allocations: 4 kB / 38.87 GB, free: 1.425 GB / 2.776 GB Notification: Performance of simCode: created simulation system equations: time 55.58/132.6, allocations: 28.61 GB / 67.49 GB, free: 1.844 GB / 2.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01638/132.6, allocations: 1.07 MB / 67.49 GB, free: 1.843 GB / 2.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1718/132.8, allocations: 55.8 MB / 67.54 GB, free: 1.789 GB / 2.995 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02294/132.8, allocations: 9.134 MB / 67.55 GB, free: 1.78 GB / 2.995 GB Notification: Performance of simCode: alias equations: time 0.01366/132.8, allocations: 4.083 MB / 67.55 GB, free: 1.776 GB / 2.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02181/132.8, allocations: 7.053 MB / 67.56 GB, free: 1.769 GB / 2.995 GB Notification: Performance of SimCode: time 2.113e-06/132.8, allocations: 0 / 67.56 GB, free: 1.769 GB / 2.995 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/133.8, allocations: 401.4 MB / 67.95 GB, free: 1.38 GB / 2.995 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/133.8, allocations: 242.1 kB / 67.95 GB, free: 1.379 GB / 2.995 GB Notification: Performance of buildModelFMU: Generate platform static: time 106.5/240.3, allocations: 4 kB / 67.95 GB, free: 1.379 GB / 2.995 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat does not exist to compare? outputFormat=mat