Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.6e-05, allocations: 8 kB / 255.5 MB, free: 2.586 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09342, allocations: 44.51 MB / 300 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.5506, allocations: 78.56 MB / 378.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.551, allocations: 87.72 kB / 378.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08048/0.6315, allocations: 20.97 MB / 399.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6316, allocations: 3.938 kB / 399.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.6317, allocations: 38.59 kB / 399.6 MB, free: 9.574 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004431/0.6361, allocations: 1.363 MB / 401 MB, free: 8.688 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.6362, allocations: 7.906 kB / 401 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000503/0.6367, allocations: 171 kB / 401.2 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.6372, allocations: 156.1 kB / 401.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.64, allocations: 0.9384 MB / 402.3 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.6401, allocations: 77.73 kB / 402.3 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.6405, allocations: 107.6 kB / 402.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.644, allocations: 1.471 MB / 403.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.112e-05/0.6441, allocations: 3.938 kB / 403.9 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.6443, allocations: 47.31 kB / 404 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.931e-05/0.6444, allocations: 51.33 kB / 404 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.6476, allocations: 1.282 MB / 405.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.6586, allocations: 4.984 MB / 410.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.6606, allocations: 1.408 MB / 411.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.6623, allocations: 0.6917 MB / 412.4 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.599e-05/0.6624, allocations: 8.344 kB / 412.4 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.6636, allocations: 0.573 MB / 413 MB, free: 3.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.597e-06/0.6636, allocations: 0 / 413 MB, free: 3.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003003/0.6666, allocations: 1.184 MB / 414.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.6667, allocations: 93.27 kB / 414.2 MB, free: 3.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.6684, allocations: 0.8311 MB / 415.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/0.6687, allocations: 43.56 kB / 415.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.6692, allocations: 0.513 MB / 415.6 MB, free: 3.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.6695, allocations: 230.5 kB / 415.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.6696, allocations: 14.5 kB / 415.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.6697, allocations: 331.6 kB / 416.2 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008252/0.6705, allocations: 382.7 kB / 416.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.6714, allocations: 0.5029 MB / 417.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.6724, allocations: 419.8 kB / 417.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.6724, allocations: 0 / 417.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00279/0.6752, allocations: 1.215 MB / 418.7 MB, free: 1.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.6753, allocations: 3.969 kB / 418.7 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6753, allocations: 3.781 kB / 418.7 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6767, allocations: 402.9 kB / 419.1 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/0.6776, allocations: 119.8 kB / 419.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/0.6851, allocations: 4.12 MB / 423.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6863, allocations: 82.8 kB / 423.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.6864, allocations: 23.5 kB / 423.4 MB, free: 15.61 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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.6867, allocations: 154.1 kB / 423.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.6869, allocations: 93.31 kB / 423.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.6873, allocations: 123.4 kB / 423.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.6873, allocations: 11.69 kB / 423.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6873, allocations: 0 / 423.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.6874, allocations: 11.97 kB / 423.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/0.6933, allocations: 2.528 MB / 426.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6934, allocations: 0 / 426.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000836/0.6942, allocations: 86.03 kB / 426.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.6956, allocations: 382.9 kB / 426.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6958, allocations: 19.8 kB / 426.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008138/0.7039, allocations: 4.078 MB / 430.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.704, allocations: 0 / 430.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/0.7084, allocations: 1.856 MB / 432.8 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009653/0.7094, allocations: 284.3 kB / 433 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.7096, allocations: 15.53 kB / 433 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.7105, allocations: 48.78 kB / 433.1 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003279/0.7109, allocations: 79.58 kB / 433.2 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.711, allocations: 23.61 kB / 433.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001418/0.7124, allocations: 0.6565 MB / 433.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7124, allocations: 0 / 433.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001574/0.714, allocations: 347.6 kB / 434.2 MB, free: 8.727 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006008/0.7201, allocations: 2.442 MB / 436.6 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004109/0.7242, allocations: 1.2 MB / 437.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.7243, allocations: 0 / 437.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004565/0.7289, allocations: 0.7647 MB / 438.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.7316, allocations: 234.1 kB / 438.8 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/0.7713, allocations: 2.45 MB / 441.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00596/0.7773, allocations: 1.407 MB / 442.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009536/0.7783, allocations: 167.1 kB / 442.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.7793, allocations: 411.3 kB / 443.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7794, allocations: 0 / 443.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1211/0.9005, allocations: 25.82 MB / 469.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.9008, allocations: 233.5 kB / 469.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.473/4.374, allocations: 0 / 469.3 MB, free: 7.77 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat