Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.427e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 50.42 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5468, allocations: 92.79 MB / 435.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5471, allocations: 77.89 kB / 435.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7751/1.322, allocations: 116.9 MB / 0.5395 GB, free: 79.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.322, allocations: 0 / 0.5395 GB, free: 79.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005088/1.323, allocations: 113 kB / 0.5396 GB, free: 79.83 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01621/1.339, allocations: 3.859 MB / 0.5434 GB, free: 78.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.339, allocations: 10.75 kB / 0.5434 GB, free: 78.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002408/1.342, allocations: 0.5523 MB / 0.5439 GB, free: 78.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/1.345, allocations: 0.5554 MB / 0.5445 GB, free: 78.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009314/1.354, allocations: 2.712 MB / 0.5471 GB, free: 77.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/1.355, allocations: 297.7 kB / 0.5474 GB, free: 77.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/1.356, allocations: 389.4 kB / 0.5478 GB, free: 77.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/1.373, allocations: 5.505 MB / 0.5532 GB, free: 77.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/1.373, allocations: 0 / 0.5532 GB, free: 77.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008862/1.374, allocations: 167.6 kB / 0.5533 GB, free: 77.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002613/1.375, allocations: 207.7 kB / 0.5535 GB, free: 77.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/1.389, allocations: 4.462 MB / 0.5579 GB, free: 77.08 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04319/1.432, allocations: 16.43 MB / 0.5739 GB, free: 74.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009053/1.441, allocations: 6.7 MB / 0.5805 GB, free: 69.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005512/1.446, allocations: 2.619 MB / 0.583 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/1.447, allocations: 157 kB / 0.5832 GB, free: 68.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/1.447, allocations: 61.34 kB / 0.5832 GB, free: 68.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.06e-06/1.447, allocations: 0 / 0.5832 GB, free: 68.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.02096/1.468, allocations: 7.738 MB / 0.5908 GB, free: 65.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/1.468, allocations: 86.86 kB / 0.5909 GB, free: 65.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/1.473, allocations: 2.32 MB / 0.5931 GB, free: 64.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005533/1.474, allocations: 75.66 kB / 0.5932 GB, free: 64.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.475, allocations: 1.631 MB / 0.5948 GB, free: 63.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.476, allocations: 0.846 MB / 0.5956 GB, free: 62.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/1.476, allocations: 43.31 kB / 0.5957 GB, free: 62.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/1.476, allocations: 402.8 kB / 0.5961 GB, free: 62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002777/1.479, allocations: 1.282 MB / 0.5973 GB, free: 61.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/1.482, allocations: 1.558 MB / 0.5988 GB, free: 60.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/1.485, allocations: 1.52 MB / 0.6003 GB, free: 60.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.485, allocations: 3.656 kB / 0.6003 GB, free: 60.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01059/1.496, allocations: 4.314 MB / 0.6045 GB, free: 58.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.496, allocations: 6.688 kB / 0.6045 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.496, allocations: 11.31 kB / 0.6045 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005402/1.502, allocations: 1.399 MB / 0.6059 GB, free: 58.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/1.505, allocations: 388.5 kB / 0.6063 GB, free: 58.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/1.535, allocations: 23.41 MB / 0.6291 GB, free: 40.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00378/1.539, allocations: 93.19 kB / 0.6292 GB, free: 40.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006185/1.539, allocations: 85.39 kB / 0.6293 GB, free: 40.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (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 (196): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * 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.0006231/1.54, allocations: 236.7 kB / 0.6295 GB, free: 39.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.541, allocations: 301.2 kB / 0.6298 GB, free: 39.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.552, allocations: 4.087 MB / 0.6338 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/1.552, allocations: 22.34 kB / 0.6338 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.552, allocations: 10.75 kB / 0.6338 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-05/1.552, allocations: 13.52 kB / 0.6339 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.574, allocations: 8.821 MB / 0.6425 GB, free: 31.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.574, allocations: 0 / 0.6425 GB, free: 31.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/1.577, allocations: 289.3 kB / 0.6427 GB, free: 30.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005405/1.582, allocations: 1.38 MB / 0.6441 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004062/1.583, allocations: 59.27 kB / 0.6441 GB, free: 29.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02919/1.612, allocations: 23.18 MB / 0.6668 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.612, allocations: 0 / 0.6668 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.625, allocations: 5.998 MB / 0.6726 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/1.628, allocations: 0.6844 MB / 0.6733 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.629, allocations: 59.42 kB / 0.6734 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/1.633, allocations: 126.1 kB / 0.6735 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/1.634, allocations: 212.6 kB / 0.6737 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/1.635, allocations: 71.31 kB / 0.6738 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009942/1.645, allocations: 1.95 MB / 0.6757 GB, free: 15.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.645, allocations: 0 / 0.6757 GB, free: 15.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008001/1.653, allocations: 0.9711 MB / 0.6766 GB, free: 14.64 MB / 458.7 MB 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: 12 (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 simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * 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 {(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 0.02274/1.675, allocations: 6.861 MB / 0.6833 GB, free: 8.461 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01489/1.69, allocations: 4.638 MB / 0.6878 GB, free: 4.172 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.69, allocations: 0 / 0.6878 GB, free: 4.172 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008426/1.699, allocations: 3.202 MB / 0.691 GB, free: 1.176 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00768/1.707, allocations: 0.8859 MB / 0.6918 GB, free: 480 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3535/2.06, allocations: 8.326 MB / 0.7 GB, free: 82.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007079/2.067, allocations: 3.25 MB / 0.7031 GB, free: 81.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00342/2.071, allocations: 0.5609 MB / 0.7037 GB, free: 81.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003416/2.074, allocations: 1.455 MB / 0.7051 GB, free: 81.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/2.074, allocations: 0 / 0.7051 GB, free: 81.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1948/2.269, allocations: 87.7 MB / 0.7907 GB, free: 55.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/2.269, allocations: 196.5 kB / 0.7909 GB, free: 55.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.778/8.047, allocations: 4.062 kB / 0.7909 GB, free: 55.29 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat