Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.761e-05/4.763e-05, allocations: 4 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5423/0.6744, allocations: 94.14 MB / 437.3 MB, free: 212 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.6747, allocations: 69.09 kB / 437.4 MB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463/2.138, allocations: 114.6 MB / 0.539 GB, free: 83.06 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.705e-06/2.138, allocations: 0 / 0.539 GB, free: 83.06 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0005911/2.138, allocations: 212.1 kB / 0.5392 GB, free: 83.05 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.03389/2.172, allocations: 14.29 MB / 0.5532 GB, free: 78.68 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/2.172, allocations: 13.5 kB / 0.5532 GB, free: 78.68 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005906/2.178, allocations: 2.059 MB / 0.5552 GB, free: 78.51 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006439/2.185, allocations: 1.478 MB / 0.5567 GB, free: 77.62 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02814/2.213, allocations: 7.665 MB / 0.5641 GB, free: 76.32 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/2.213, allocations: 164.4 kB / 0.5643 GB, free: 76.31 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/2.215, allocations: 221.5 kB / 0.5645 GB, free: 76.31 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04922/2.264, allocations: 25.17 MB / 0.5891 GB, free: 69.64 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.221e-05/2.265, allocations: 2.75 kB / 0.5891 GB, free: 69.64 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/2.266, allocations: 88.94 kB / 0.5892 GB, free: 69.57 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/2.267, allocations: 114.3 kB / 0.5893 GB, free: 69.55 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04018/2.307, allocations: 21.91 MB / 0.6107 GB, free: 58.62 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08181/2.389, allocations: 21.18 MB / 0.6314 GB, free: 44.57 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4701/2.859, allocations: 81.08 MB / 0.7105 GB, free: 74.9 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.08896/2.948, allocations: 78.09 MB / 0.7868 GB, free: 30.89 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/2.948, allocations: 143.3 kB / 0.7869 GB, free: 30.8 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05831/3.007, allocations: 28.15 MB / 0.8144 GB, free: 18.02 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 6.122e-06/3.007, allocations: 0 / 0.8144 GB, free: 18.02 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 20.68/23.69, allocations: 2.187 GB / 3.002 GB, free: 215.3 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005563/23.7, allocations: 7.196 MB / 3.009 GB, free: 208.4 MB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/23.7, allocations: 1.331 MB / 3.01 GB, free: 207 MB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.007904/23.71, allocations: 3.936 MB / 3.014 GB, free: 203.1 MB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/23.71, allocations: 1.032 MB / 3.015 GB, free: 202.1 MB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.02642/23.73, allocations: 21.23 MB / 3.036 GB, free: 181.2 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007096/23.74, allocations: 1.495 MB / 3.037 GB, free: 179.7 MB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.007431/23.75, allocations: 3.454 MB / 3.04 GB, free: 176.2 MB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06337/23.81, allocations: 25.66 MB / 3.065 GB, free: 150.5 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08429/23.9, allocations: 56.6 MB / 3.121 GB, free: 80.57 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08158/23.98, allocations: 37.47 MB / 3.157 GB, free: 43.64 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001474/23.98, allocations: 300 kB / 3.158 GB, free: 43.34 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2775/24.26, allocations: 81.51 MB / 3.237 GB, free: 9.801 MB / 1.979 GB Notification: Performance of prepare postOptimizeDAE: time 0.00266/24.26, allocations: 489.6 kB / 3.238 GB, free: 9.316 MB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004217/24.26, allocations: 1.031 MB / 3.239 GB, free: 8.285 MB / 1.979 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009079/24.27, allocations: 2.315 MB / 3.241 GB, free: 5.961 MB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06667/24.34, allocations: 10.54 MB / 3.251 GB, free: 11.39 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0231/24.36, allocations: 12.62 MB / 3.264 GB, free: 14.27 MB / 2.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04541/24.41, allocations: 2.429 MB / 3.266 GB, free: 11.85 MB / 2.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0139/24.42, allocations: 3.566 MB / 3.269 GB, free: 8.281 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.03448/24.46, allocations: 10.98 MB / 3.28 GB, free: 13.25 MB / 2.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009887/24.47, allocations: 2.216 MB / 3.282 GB, free: 11.01 MB / 2.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 12.74/37.2, allocations: 8.837 GB / 12.12 GB, free: 1.599 GB / 2.776 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/37.2, allocations: 12 kB / 12.12 GB, free: 1.599 GB / 2.776 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/37.2, allocations: 4 kB / 12.12 GB, free: 1.599 GB / 2.776 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/37.2, allocations: 7.969 kB / 12.12 GB, free: 1.599 GB / 2.776 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 13.87/51.07, allocations: 8.86 GB / 20.98 GB, free: 2.314 GB / 2.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/51.07, allocations: 0 / 20.98 GB, free: 2.314 GB / 2.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/51.07, allocations: 165 kB / 20.98 GB, free: 2.314 GB / 2.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/51.08, allocations: 0.6925 MB / 20.98 GB, free: 2.314 GB / 2.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005264/51.08, allocations: 0.7699 MB / 20.98 GB, free: 2.314 GB / 2.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/51.1, allocations: 10.37 MB / 20.99 GB, free: 2.309 GB / 2.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/51.1, allocations: 0 / 20.99 GB, free: 2.309 GB / 2.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 12.43/63.53, allocations: 8.888 GB / 29.88 GB, free: 0.7481 GB / 2.776 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02393/63.55, allocations: 6.052 MB / 29.89 GB, free: 0.7429 GB / 2.776 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006607/63.56, allocations: 0.6211 MB / 29.89 GB, free: 0.7423 GB / 2.776 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01338/63.57, allocations: 0.6648 MB / 29.89 GB, free: 0.7417 GB / 2.776 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005734/63.58, allocations: 0.5548 MB / 29.89 GB, free: 0.7411 GB / 2.776 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00582/63.59, allocations: 1.215 MB / 29.89 GB, free: 0.74 GB / 2.776 GB Notification: Performance of sorting global known variables: time 0.002305/63.59, allocations: 1.052 MB / 29.89 GB, free: 0.7389 GB / 2.776 GB Notification: Performance of sort global known variables: time 5.71e-07/63.59, allocations: 0 / 29.89 GB, free: 0.7389 GB / 2.776 GB Notification: Performance of remove unused functions: time 0.05542/63.64, allocations: 9.544 MB / 29.9 GB, free: 0.7296 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 13.51/77.15, allocations: 8.895 GB / 38.79 GB, free: 1.503 GB / 2.776 GB Notification: Performance of simCode: created initialization part: time 0.1574/77.31, allocations: 79.42 MB / 38.87 GB, free: 1.426 GB / 2.776 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/77.31, allocations: 7.062 kB / 38.87 GB, free: 1.426 GB / 2.776 GB Notification: Performance of simCode: created simulation system equations: time 57/134.3, allocations: 28.61 GB / 67.48 GB, free: 1.756 GB / 2.979 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01561/134.3, allocations: 1.071 MB / 67.49 GB, free: 1.755 GB / 2.979 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1818/134.5, allocations: 55.8 MB / 67.54 GB, free: 1.701 GB / 2.979 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02494/134.5, allocations: 9.129 MB / 67.55 GB, free: 1.692 GB / 2.979 GB Notification: Performance of simCode: alias equations: time 0.01477/134.5, allocations: 4.085 MB / 67.55 GB, free: 1.688 GB / 2.979 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02029/134.6, allocations: 7.049 MB / 67.56 GB, free: 1.681 GB / 2.979 GB Notification: Performance of SimCode: time 2.465e-06/134.6, allocations: 0 / 67.56 GB, free: 1.681 GB / 2.979 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9163/135.5, allocations: 401.4 MB / 67.95 GB, free: 1.292 GB / 2.979 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/135.5, allocations: 232 kB / 67.95 GB, free: 1.292 GB / 2.979 GB Notification: Performance of buildModelFMU: Generate platform static: time 105.6/241, allocations: 0 / 67.95 GB, free: 1.292 GB / 2.979 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat does not exist to compare? outputFormat=mat