Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.307e-05/4.324e-05, allocations: 8 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09853, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4928/0.5914, allocations: 79.25 MB / 379.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004321/0.5919, allocations: 83.48 kB / 379.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08363/0.6756, allocations: 20.38 MB / 399.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6756, allocations: 0 / 399.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.759e-05/0.6757, allocations: 27.38 kB / 399.7 MB, free: 9.242 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003226/0.6789, allocations: 1.288 MB / 401 MB, free: 8.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.679, allocations: 11.75 kB / 401 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.6793, allocations: 149 kB / 401.2 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.6796, allocations: 136.3 kB / 401.3 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/0.6851, allocations: 1.674 MB / 403 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.6852, allocations: 71.31 kB / 403 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.6854, allocations: 101 kB / 403.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.6884, allocations: 1.397 MB / 404.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.6885, allocations: 3.906 kB / 404.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.6886, allocations: 40.84 kB / 404.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.6887, allocations: 36.25 kB / 404.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.6913, allocations: 1.179 MB / 405.8 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00859/0.6999, allocations: 4.333 MB / 410.1 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.7023, allocations: 1.951 MB / 412.1 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.7042, allocations: 0.7273 MB / 412.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/0.7043, allocations: 8.562 kB / 412.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.7054, allocations: 0.5816 MB / 413.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 3.286e-06/0.7054, allocations: 0 / 413.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.00297/0.7084, allocations: 1.22 MB / 414.6 MB, free: 3.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.7085, allocations: 114.8 kB / 414.7 MB, free: 3.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.71, allocations: 0.7201 MB / 415.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.7102, allocations: 45.97 kB / 415.5 MB, free: 2.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.7107, allocations: 484 kB / 416 MB, free: 2.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.7109, allocations: 246.6 kB / 416.2 MB, free: 2.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.711, allocations: 19.09 kB / 416.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7112, allocations: 393.8 kB / 416.6 MB, free: 2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009368/0.7121, allocations: 377 kB / 417 MB, free: 1.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008897/0.713, allocations: 0.5134 MB / 417.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.7139, allocations: 413.8 kB / 417.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.7139, allocations: 3.844 kB / 417.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002758/0.7167, allocations: 1.249 MB / 419.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7167, allocations: 7.812 kB / 419.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7168, allocations: 3.875 kB / 419.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.7184, allocations: 474.8 kB / 419.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.7191, allocations: 89.67 kB / 419.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009901/0.7291, allocations: 5.091 MB / 424.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.7301, allocations: 90.11 kB / 424.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.7302, allocations: 27.44 kB / 424.9 MB, free: 14.7 MB / 330.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0002745/0.7305, allocations: 153.9 kB / 425.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.7307, allocations: 85.44 kB / 425.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.7311, allocations: 111.5 kB / 425.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7311, allocations: 11.64 kB / 425.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7311, allocations: 0 / 425.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.7311, allocations: 7.984 kB / 425.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006102/0.7373, allocations: 2.585 MB / 427.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7373, allocations: 3.875 kB / 427.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.7379, allocations: 62.55 kB / 427.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.7395, allocations: 457.3 kB / 428.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/0.7396, allocations: 11.88 kB / 428.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.7499, allocations: 5.035 MB / 433.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.75, allocations: 0 / 433.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.7541, allocations: 1.872 MB / 435.3 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.7549, allocations: 266.5 kB / 435.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.7551, allocations: 19.17 kB / 435.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.7559, allocations: 46.36 kB / 435.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.7562, allocations: 79.88 kB / 435.7 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.806e-05/0.7562, allocations: 16.78 kB / 435.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.7574, allocations: 0.5745 MB / 436.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7574, allocations: 0 / 436.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001335/0.7588, allocations: 348.2 kB / 436.6 MB, free: 7.246 MB / 330.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.004324/0.7631, allocations: 2.44 MB / 439.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.7661, allocations: 1.228 MB / 440.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.7662, allocations: 8.25 kB / 440.3 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.7681, allocations: 0.7836 MB / 441.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.77, allocations: 254.7 kB / 441.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.7764, allocations: 2.136 MB / 443.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.7779, allocations: 1.341 MB / 444.8 MB, free: 444 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007533/0.7786, allocations: 139.2 kB / 445 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008877/0.7795, allocations: 386.6 kB / 445.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7796, allocations: 0 / 445.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09439/0.874, allocations: 26.42 MB / 471.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/0.8744, allocations: 227.1 kB / 472 MB, free: 5.328 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/4.157, allocations: 0 / 472 MB, free: 5.328 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat