Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.397e-05/4.398e-05, allocations: 4 kB / 269.5 MB, free: 6.281 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 47.57 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4975/0.6189, allocations: 83.24 MB / 400.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004112/0.6194, allocations: 84.88 kB / 400.4 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07296/0.6924, allocations: 13.49 MB / 413.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6925, allocations: 0 / 413.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.993e-05/0.6926, allocations: 20 kB / 413.9 MB, free: 9.371 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002925/0.6955, allocations: 0.9345 MB / 414.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.6956, allocations: 8.031 kB / 414.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/0.6959, allocations: 115.7 kB / 414.9 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.6962, allocations: 90.97 kB / 415 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.6979, allocations: 0.6051 MB / 415.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.698, allocations: 48.61 kB / 415.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.6982, allocations: 67.75 kB / 415.7 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.7005, allocations: 0.8717 MB / 416.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.7006, allocations: 0 / 416.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.7008, allocations: 34.52 kB / 416.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/0.7008, allocations: 29.31 kB / 416.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.7029, allocations: 0.7072 MB / 417.4 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007008/0.71, allocations: 2.814 MB / 420.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.7113, allocations: 0.7259 MB / 420.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/0.7122, allocations: 331.4 kB / 421.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.7123, allocations: 4.328 kB / 421.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/0.7131, allocations: 364.7 kB / 421.6 MB, free: 3.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.396e-06/0.7132, allocations: 0 / 421.6 MB, free: 3.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001827/0.715, allocations: 0.632 MB / 422.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.7151, allocations: 114.8 kB / 422.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.7163, allocations: 0.5027 MB / 422.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.7164, allocations: 37.39 kB / 422.9 MB, free: 2.117 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.7168, allocations: 352.8 kB / 423.2 MB, free: 1.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.717, allocations: 135.3 kB / 423.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.7171, allocations: 6.5 kB / 423.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.7173, allocations: 367 kB / 423.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.7178, allocations: 194.3 kB / 423.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.7184, allocations: 327.5 kB / 424.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.7189, allocations: 235.1 kB / 424.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.719, allocations: 0 / 424.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001872/0.7208, allocations: 0.7026 MB / 425.2 MB, free: 308 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.7209, allocations: 8 kB / 425.2 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7209, allocations: 4 kB / 425.2 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008232/0.7218, allocations: 199.5 kB / 425.4 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.7224, allocations: 79.02 kB / 425.4 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/0.7274, allocations: 2.785 MB / 428.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.7282, allocations: 51.5 kB / 428.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.7282, allocations: 26.67 kB / 428.3 MB, free: 13.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.7285, allocations: 127.3 kB / 428.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.7286, allocations: 55.34 kB / 428.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.7288, allocations: 68.92 kB / 428.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.7289, allocations: 11.95 kB / 428.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.7289, allocations: 4 kB / 428.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7289, allocations: 0 / 428.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.733, allocations: 1.728 MB / 430.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.7331, allocations: 0 / 430.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.7336, allocations: 47.91 kB / 430.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007347/0.7344, allocations: 192.2 kB / 430.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.7344, allocations: 15.39 kB / 430.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.7389, allocations: 2.646 MB / 433.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.739, allocations: 0 / 433.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.7417, allocations: 1.081 MB / 434.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.7421, allocations: 194.6 kB / 434.5 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.7422, allocations: 14.83 kB / 434.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.7428, allocations: 31.34 kB / 434.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.743, allocations: 46.19 kB / 434.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.7431, allocations: 14.55 kB / 434.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007827/0.7439, allocations: 408.3 kB / 435 MB, free: 8.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7439, allocations: 0 / 435 MB, free: 8.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001064/0.7449, allocations: 210.5 kB / 435.2 MB, free: 8.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002941/0.7479, allocations: 1.715 MB / 436.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.7498, allocations: 0.6799 MB / 437.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7498, allocations: 0 / 437.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7508, allocations: 446.2 kB / 438 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.752, allocations: 139.4 kB / 438.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.7559, allocations: 1.29 MB / 439.4 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009614/0.7569, allocations: 1.086 MB / 440.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005367/0.7575, allocations: 100.7 kB / 440.6 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.758, allocations: 235.3 kB / 440.8 MB, free: 2.684 MB / 346.7 MB Notification: Performance of SimCode: time 1.412e-06/0.758, allocations: 4 kB / 440.8 MB, free: 2.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/0.8638, allocations: 14.74 MB / 455.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.8641, allocations: 234.2 kB / 455.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/3.761, allocations: 0 / 455.8 MB, free: 3.758 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat