Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier12pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier12pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.219/2.219, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.594e-05/4.602e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.5624, allocations: 94.73 MB / 411.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5627, allocations: 74.77 kB / 411.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.705/2.267, allocations: 167.2 MB / 0.5654 GB, free: 71.13 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.815e-06/2.267, allocations: 0 / 0.5654 GB, free: 71.13 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001048/2.268, allocations: 261 kB / 0.5657 GB, free: 71.12 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: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.03916/2.308, allocations: 15.83 MB / 0.5811 GB, free: 66.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/2.308, allocations: 11.38 kB / 0.5811 GB, free: 66.04 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007083/2.315, allocations: 2.296 MB / 0.5834 GB, free: 65.86 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006292/2.321, allocations: 1.733 MB / 0.5851 GB, free: 64.86 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03073/2.352, allocations: 8.805 MB / 0.5937 GB, free: 62.88 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/2.352, allocations: 298.1 kB / 0.594 GB, free: 62.87 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/2.355, allocations: 394.6 kB / 0.5943 GB, free: 62.86 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05745/2.413, allocations: 27.7 MB / 0.6214 GB, free: 43.93 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/2.413, allocations: 4 kB / 0.6214 GB, free: 43.93 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002623/2.416, allocations: 171.4 kB / 0.6216 GB, free: 43.77 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/2.416, allocations: 213.9 kB / 0.6218 GB, free: 43.57 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04635/2.462, allocations: 23.99 MB / 0.6452 GB, free: 21.32 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/2.566, allocations: 28.72 MB / 0.6732 GB, free: 9.504 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4243/2.99, allocations: 83.46 MB / 0.7547 GB, free: 30.34 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1081/3.098, allocations: 80.37 MB / 0.8332 GB, free: 2.82 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/3.099, allocations: 152.8 kB / 0.8334 GB, free: 2.723 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05579/3.155, allocations: 28.95 MB / 0.8616 GB, free: 5.625 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5058): time 8.906e-06/3.155, allocations: 0 / 0.8616 GB, free: 5.625 MB / 490.8 MB Notification: Performance of matching and sorting (n=5065): time 19.82/22.98, allocations: 2.19 GB / 3.052 GB, free: 58.98 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005269/22.98, allocations: 7.36 MB / 3.059 GB, free: 51.86 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/22.99, allocations: 2.34 MB / 3.061 GB, free: 49.5 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.008236/23, allocations: 3.957 MB / 3.065 GB, free: 45.53 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002447/23, allocations: 1.737 MB / 3.067 GB, free: 43.96 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.02713/23.03, allocations: 21.64 MB / 3.088 GB, free: 22.43 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007529/23.03, allocations: 1.512 MB / 3.089 GB, free: 20.92 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.007248/23.04, allocations: 3.509 MB / 3.093 GB, free: 17.4 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07322/23.11, allocations: 26.28 MB / 3.118 GB, free: 7.105 MB / 1.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.118/23.23, allocations: 57.41 MB / 3.174 GB, free: 284 kB / 1.901 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09867/23.33, allocations: 38.2 MB / 3.212 GB, free: 10.68 MB / 1.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001723/23.33, allocations: 304 kB / 3.212 GB, free: 10.39 MB / 1.948 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.266/23.6, allocations: 83.61 MB / 3.294 GB, free: 6.688 MB / 2.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002419/23.6, allocations: 485.7 kB / 3.294 GB, free: 6.207 MB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003444/23.6, allocations: 1.035 MB / 3.295 GB, free: 5.176 MB / 2.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/23.62, allocations: 3.018 MB / 3.298 GB, free: 2.137 MB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07005/23.69, allocations: 10.71 MB / 3.309 GB, free: 7.398 MB / 2.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04464/23.73, allocations: 25.53 MB / 3.334 GB, free: 12.58 MB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0728/23.8, allocations: 2.488 MB / 3.336 GB, free: 10.09 MB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02073/23.82, allocations: 3.598 MB / 3.339 GB, free: 6.496 MB / 2.073 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.04615/23.87, allocations: 11.05 MB / 3.35 GB, free: 11.39 MB / 2.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0103/23.88, allocations: 2.354 MB / 3.353 GB, free: 9.02 MB / 2.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 12.57/36.45, allocations: 8.84 GB / 12.19 GB, free: 0.672 GB / 2.604 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/36.45, allocations: 24 kB / 12.19 GB, free: 0.672 GB / 2.604 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/36.45, allocations: 8 kB / 12.19 GB, free: 0.672 GB / 2.604 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/36.45, allocations: 15.94 kB / 12.19 GB, free: 0.672 GB / 2.604 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 11.71/48.16, allocations: 8.864 GB / 21.06 GB, free: 0.7771 GB / 2.604 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-05/48.16, allocations: 4 kB / 21.06 GB, free: 0.7771 GB / 2.604 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/48.17, allocations: 294.8 kB / 21.06 GB, free: 0.7768 GB / 2.604 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005458/48.17, allocations: 1.372 MB / 21.06 GB, free: 0.7755 GB / 2.604 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005348/48.18, allocations: 0.8003 MB / 21.06 GB, free: 0.7747 GB / 2.604 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03035/48.21, allocations: 23.17 MB / 21.08 GB, free: 0.7513 GB / 2.604 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/48.21, allocations: 6.562 kB / 21.08 GB, free: 0.7513 GB / 2.604 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 12.42/60.63, allocations: 8.891 GB / 29.97 GB, free: 0.8343 GB / 2.604 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02369/60.65, allocations: 6.336 MB / 29.98 GB, free: 0.8289 GB / 2.604 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006784/60.66, allocations: 0.6537 MB / 29.98 GB, free: 0.8283 GB / 2.604 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0138/60.67, allocations: 0.7206 MB / 29.98 GB, free: 0.8276 GB / 2.604 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005794/60.68, allocations: 0.6482 MB / 29.98 GB, free: 0.827 GB / 2.604 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005935/60.68, allocations: 1.249 MB / 29.98 GB, free: 0.8258 GB / 2.604 GB Notification: Performance of sorting global known variables: time 0.004187/60.69, allocations: 1.825 MB / 29.98 GB, free: 0.824 GB / 2.604 GB Notification: Performance of sort global known variables: time 6.01e-07/60.69, allocations: 0 / 29.98 GB, free: 0.824 GB / 2.604 GB Notification: Performance of remove unused functions: time 0.05559/60.74, allocations: 9.988 MB / 29.99 GB, free: 0.8142 GB / 2.604 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.29/73.03, allocations: 8.898 GB / 38.89 GB, free: 0.8894 GB / 2.604 GB Notification: Performance of simCode: created initialization part: time 0.1586/73.19, allocations: 81.79 MB / 38.97 GB, free: 0.8104 GB / 2.604 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/73.19, allocations: 0 / 38.97 GB, free: 0.8104 GB / 2.604 GB Notification: Performance of simCode: created simulation system equations: time 60.85/134, allocations: 28.62 GB / 67.59 GB, free: 1.628 GB / 2.917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01926/134.1, allocations: 1.482 MB / 67.59 GB, free: 1.626 GB / 2.917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.195/134.3, allocations: 59.59 MB / 67.65 GB, free: 1.568 GB / 2.917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02667/134.3, allocations: 10.29 MB / 67.66 GB, free: 1.558 GB / 2.917 GB Notification: Performance of simCode: alias equations: time 0.01564/134.3, allocations: 4.354 MB / 67.66 GB, free: 1.554 GB / 2.917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.021/134.3, allocations: 8.021 MB / 67.67 GB, free: 1.546 GB / 2.917 GB Notification: Performance of SimCode: time 3.217e-06/134.3, allocations: 0 / 67.67 GB, free: 1.546 GB / 2.917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.022/135.3, allocations: 442 MB / 68.1 GB, free: 1.117 GB / 2.917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/135.3, allocations: 221.5 kB / 68.1 GB, free: 1.117 GB / 2.917 GB Notification: Performance of buildModelFMU: Generate platform static: time 100.5/235.9, allocations: 7.938 kB / 68.1 GB, free: 1.117 GB / 2.917 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat does not exist to compare? outputFormat=mat