Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier12pulseFFT,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Rectifier12pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.586e-05, allocations: 4 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 50.42 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5482/0.6603, allocations: 95.77 MB / 438.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000381/0.6608, allocations: 71.53 kB / 438.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854/2.515, allocations: 167.7 MB / 0.592 GB, free: 80.45 MB / 442.8 MB Notification: Performance of FrontEnd: time 4.318e-06/2.515, allocations: 2.875 kB / 0.592 GB, free: 80.45 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.000931/2.516, allocations: 267.7 kB / 0.5922 GB, free: 80.42 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.039/2.555, allocations: 15.87 MB / 0.6077 GB, free: 73.66 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/2.555, allocations: 6.562 kB / 0.6077 GB, free: 73.66 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008766/2.564, allocations: 2.296 MB / 0.61 GB, free: 72.63 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008478/2.572, allocations: 1.726 MB / 0.6117 GB, free: 71.64 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04121/2.614, allocations: 8.84 MB / 0.6203 GB, free: 65.05 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/2.614, allocations: 298.3 kB / 0.6206 GB, free: 64.77 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003549/2.618, allocations: 391.3 kB / 0.621 GB, free: 64.39 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06489/2.683, allocations: 27.67 MB / 0.648 GB, free: 36.55 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002443/2.683, allocations: 3.938 kB / 0.648 GB, free: 36.55 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00409/2.687, allocations: 167.4 kB / 0.6481 GB, free: 36.39 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004001/2.688, allocations: 212 kB / 0.6483 GB, free: 36.18 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04622/2.734, allocations: 23.96 MB / 0.6717 GB, free: 12.21 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4497/3.184, allocations: 28.71 MB / 0.6998 GB, free: 87.58 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08828/3.272, allocations: 83.45 MB / 0.7813 GB, free: 30.66 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.104/3.376, allocations: 80.25 MB / 0.8596 GB, free: 2.684 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/3.377, allocations: 152.7 kB / 0.8598 GB, free: 2.586 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05411/3.431, allocations: 28.95 MB / 0.8881 GB, free: 2.078 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5058): time 9.137e-06/3.431, allocations: 0 / 0.8881 GB, free: 2.078 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5065): time 19.43/22.86, allocations: 2.188 GB / 3.076 GB, free: 44.17 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005307/22.87, allocations: 7.356 MB / 3.084 GB, free: 37.05 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005878/22.87, allocations: 2.347 MB / 3.086 GB, free: 34.69 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.008137/22.88, allocations: 3.952 MB / 3.09 GB, free: 30.72 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/22.88, allocations: 1.739 MB / 3.091 GB, free: 29.02 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.02672/22.91, allocations: 21.64 MB / 3.113 GB, free: 7.477 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007549/22.92, allocations: 1.512 MB / 3.114 GB, free: 5.965 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.007207/22.93, allocations: 3.499 MB / 3.117 GB, free: 2.453 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08411/23.01, allocations: 26.28 MB / 3.143 GB, free: 8.16 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1138/23.12, allocations: 57.42 MB / 3.199 GB, free: 1.332 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1258/23.25, allocations: 38.21 MB / 3.237 GB, free: 11.72 MB / 1.964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001892/23.25, allocations: 304 kB / 3.237 GB, free: 11.42 MB / 1.964 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.2805/23.53, allocations: 83.6 MB / 3.318 GB, free: 7.727 MB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002416/23.53, allocations: 489.7 kB / 3.319 GB, free: 7.242 MB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003139/23.54, allocations: 1.033 MB / 3.32 GB, free: 6.211 MB / 2.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/23.55, allocations: 3.022 MB / 3.323 GB, free: 3.168 MB / 2.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06706/23.62, allocations: 10.72 MB / 3.333 GB, free: 8.426 MB / 2.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04308/23.66, allocations: 25.53 MB / 3.358 GB, free: 13.62 MB / 2.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.047/23.71, allocations: 2.494 MB / 3.361 GB, free: 11.12 MB / 2.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01455/23.72, allocations: 3.602 MB / 3.364 GB, free: 7.523 MB / 2.089 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.03652/23.76, allocations: 11.06 MB / 3.375 GB, free: 12.42 MB / 2.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01375/23.77, allocations: 2.346 MB / 3.377 GB, free: 10.05 MB / 2.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 12.94/36.72, allocations: 8.839 GB / 12.22 GB, free: 0.6868 GB / 2.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/36.72, allocations: 24 kB / 12.22 GB, free: 0.6867 GB / 2.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/36.72, allocations: 11.78 kB / 12.22 GB, free: 0.6867 GB / 2.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.711e-05/36.72, allocations: 11.95 kB / 12.22 GB, free: 0.6867 GB / 2.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 13.71/50.43, allocations: 8.864 GB / 21.08 GB, free: 0.8044 GB / 2.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/50.43, allocations: 3.438 kB / 21.08 GB, free: 0.8044 GB / 2.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/50.43, allocations: 296 kB / 21.08 GB, free: 0.8041 GB / 2.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005574/50.44, allocations: 1.374 MB / 21.08 GB, free: 0.8028 GB / 2.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005481/50.44, allocations: 0.7976 MB / 21.08 GB, free: 0.802 GB / 2.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03115/50.47, allocations: 23.17 MB / 21.11 GB, free: 0.7786 GB / 2.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/50.47, allocations: 0 / 21.11 GB, free: 0.7786 GB / 2.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 12.87/63.35, allocations: 8.891 GB / 30 GB, free: 0.8775 GB / 2.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03482/63.38, allocations: 6.339 MB / 30 GB, free: 0.8721 GB / 2.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008681/63.39, allocations: 0.6489 MB / 30 GB, free: 0.8715 GB / 2.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02012/63.41, allocations: 0.7232 MB / 30 GB, free: 0.8708 GB / 2.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007887/63.42, allocations: 0.6592 MB / 30.01 GB, free: 0.8702 GB / 2.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007627/63.43, allocations: 1.246 MB / 30.01 GB, free: 0.8689 GB / 2.62 GB Notification: Performance of sorting global known variables: time 0.006291/63.43, allocations: 1.821 MB / 30.01 GB, free: 0.8672 GB / 2.62 GB Notification: Performance of sort global known variables: time 1.262e-06/63.43, allocations: 0 / 30.01 GB, free: 0.8672 GB / 2.62 GB Notification: Performance of remove unused functions: time 0.08325/63.52, allocations: 9.989 MB / 30.02 GB, free: 0.8574 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 12.2/75.72, allocations: 8.898 GB / 38.92 GB, free: 0.9474 GB / 2.62 GB Notification: Performance of simCode: created initialization part: time 0.1507/75.87, allocations: 81.8 MB / 39 GB, free: 0.8684 GB / 2.62 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/75.87, allocations: 0 / 39 GB, free: 0.8684 GB / 2.62 GB Notification: Performance of simCode: created simulation system equations: time 65.71/141.6, allocations: 28.62 GB / 67.61 GB, free: 1.658 GB / 2.933 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/141.6, allocations: 1.485 MB / 67.61 GB, free: 1.657 GB / 2.933 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1749/141.8, allocations: 59.59 MB / 67.67 GB, free: 1.599 GB / 2.933 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02462/141.8, allocations: 10.29 MB / 67.68 GB, free: 1.589 GB / 2.933 GB Notification: Performance of simCode: alias equations: time 0.01515/141.8, allocations: 4.35 MB / 67.69 GB, free: 1.585 GB / 2.933 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02115/141.8, allocations: 8.025 MB / 67.69 GB, free: 1.577 GB / 2.933 GB Notification: Performance of SimCode: time 3.316e-06/141.8, allocations: 2 kB / 67.69 GB, free: 1.577 GB / 2.933 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/142.9, allocations: 441.9 MB / 68.12 GB, free: 1.149 GB / 2.933 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/142.9, allocations: 228.7 kB / 68.12 GB, free: 1.148 GB / 2.933 GB Notification: Performance of buildModelFMU: Generate platform static: time 112.2/255.1, allocations: 0 / 68.12 GB, free: 1.148 GB / 2.933 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat does not exist to compare? outputFormat=mat