Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.93e-05/3.94e-05, allocations: 7.984 kB / 292.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 50.4 MB / 342.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5535/0.6671, allocations: 85.73 MB / 428.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004582/0.6676, allocations: 89.94 kB / 428.5 MB, free: 8.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.116/0.7836, allocations: 20.8 MB / 449.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7837, allocations: 0 / 449.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.7839, allocations: 35.38 kB / 449.3 MB, free: 6.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004833/0.7887, allocations: 1.297 MB / 450.6 MB, free: 5.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.7888, allocations: 12.03 kB / 450.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000588/0.7894, allocations: 153.7 kB / 450.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/0.7899, allocations: 146.3 kB / 450.9 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006875/0.7968, allocations: 1.672 MB / 452.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.797, allocations: 73.75 kB / 452.7 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/0.7974, allocations: 95.19 kB / 452.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.8015, allocations: 1.376 MB / 454.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.8016, allocations: 4 kB / 454.1 MB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.8018, allocations: 43.98 kB / 454.2 MB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.125e-05/0.8019, allocations: 45.98 kB / 454.2 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.8058, allocations: 1.16 MB / 455.4 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.8183, allocations: 4.355 MB / 459.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/0.8216, allocations: 1.931 MB / 461.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.8238, allocations: 0.7279 MB / 462.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.8239, allocations: 8.766 kB / 462.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.8255, allocations: 0.5669 MB / 463 MB, free: 9.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 5.22e-06/0.8255, allocations: 0 / 463 MB, free: 9.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.003606/0.8291, allocations: 1.226 MB / 464.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.8293, allocations: 111.6 kB / 464.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.8311, allocations: 0.7302 MB / 465 MB, free: 7.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.8314, allocations: 45.69 kB / 465.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006369/0.8321, allocations: 491.8 kB / 465.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.8325, allocations: 236.6 kB / 465.8 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.8326, allocations: 16 kB / 465.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.8329, allocations: 390.8 kB / 466.2 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.8339, allocations: 373.4 kB / 466.6 MB, free: 6.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.8352, allocations: 0.5137 MB / 467.1 MB, free: 5.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.8364, allocations: 419 kB / 467.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.8364, allocations: 0 / 467.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003572/0.84, allocations: 1.241 MB / 468.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.8401, allocations: 15.98 kB / 468.7 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.8401, allocations: 4 kB / 468.7 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.8421, allocations: 460.4 kB / 469.2 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/0.8429, allocations: 95.83 kB / 469.3 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.8555, allocations: 5.085 MB / 474.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.8567, allocations: 87.39 kB / 474.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.8569, allocations: 24 kB / 474.5 MB, free: 14.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.8572, allocations: 162.7 kB / 474.6 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.8575, allocations: 94.94 kB / 474.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.8579, allocations: 108.6 kB / 474.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.858, allocations: 4 kB / 474.8 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-05/0.858, allocations: 3.938 kB / 474.8 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.858, allocations: 7.984 kB / 474.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007469/0.8655, allocations: 2.584 MB / 477.4 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.8656, allocations: 0 / 477.4 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.8663, allocations: 63.91 kB / 477.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.8686, allocations: 448.5 kB / 477.9 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.8689, allocations: 19.98 kB / 478 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.8803, allocations: 5.068 MB / 483 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8804, allocations: 0 / 483 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/0.885, allocations: 1.854 MB / 484.9 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009571/0.886, allocations: 275.9 kB / 485.1 MB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.8863, allocations: 23.92 kB / 485.2 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.8872, allocations: 39.95 kB / 485.2 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.8875, allocations: 80.67 kB / 485.3 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.8876, allocations: 19.98 kB / 485.3 MB, free: 2.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001336/0.889, allocations: 0.5772 MB / 485.9 MB, free: 2.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.889, allocations: 4 kB / 485.9 MB, free: 2.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001838/0.8909, allocations: 343 kB / 486.2 MB, free: 2.023 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.005116/0.896, allocations: 2.445 MB / 488.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.8995, allocations: 1.198 MB / 489.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8996, allocations: 3.938 kB / 489.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.9018, allocations: 0.7703 MB / 490.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.904, allocations: 251.1 kB / 490.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007313/0.9113, allocations: 2.119 MB / 493 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.9128, allocations: 1.345 MB / 494.3 MB, free: 9.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008093/0.9137, allocations: 143.2 kB / 494.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009275/0.9146, allocations: 375.3 kB / 494.9 MB, free: 9.262 MB / 410.7 MB Notification: Performance of SimCode: time 2.324e-06/0.9147, allocations: 4 kB / 494.9 MB, free: 9.258 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08353/0.9982, allocations: 26.28 MB / 0.5089 GB, free: 15.41 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/0.9986, allocations: 227.5 kB / 0.5091 GB, free: 15.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.199, allocations: 0 / 0.5091 GB, free: 15.19 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat