Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_HalfControlledBridge2mPulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.283e-05, allocations: 3.531 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5412, allocations: 86.89 MB / 381.2 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.5416, allocations: 82.98 kB / 381.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1155/0.6572, allocations: 28.21 MB / 409.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6573, allocations: 0 / 409.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002127/0.6575, allocations: 47.94 kB / 409.5 MB, free: 9.84 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.007117/0.6646, allocations: 1.875 MB / 411.4 MB, free: 8.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.6647, allocations: 8.031 kB / 411.4 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.6658, allocations: 205.6 kB / 411.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008631/0.6745, allocations: 2.031 MB / 413.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.6747, allocations: 55.94 kB / 413.7 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005269/0.6752, allocations: 95.98 kB / 413.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005248/0.6805, allocations: 1.699 MB / 415.5 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.686, allocations: 1.962 MB / 417.5 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/0.6861, allocations: 3.938 kB / 417.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.6864, allocations: 6.938 kB / 417.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.6865, allocations: 63.14 kB / 417.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/0.7043, allocations: 6.176 MB / 423.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.7086, allocations: 1.51 MB / 425.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.7113, allocations: 0.9595 MB / 426.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.7115, allocations: 17.25 kB / 426.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/0.7135, allocations: 0.7946 MB / 427 MB, free: 11.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 4.528e-06/0.7135, allocations: 0 / 427 MB, free: 11.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.004583/0.7181, allocations: 1.53 MB / 428.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.7183, allocations: 159.9 kB / 428.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.7205, allocations: 0.8753 MB / 429.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002368/0.7207, allocations: 45.67 kB / 429.6 MB, free: 8.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.7218, allocations: 0.716 MB / 430.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.7223, allocations: 319.1 kB / 430.6 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.7224, allocations: 7.938 kB / 430.6 MB, free: 7.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.7227, allocations: 357.9 kB / 431 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.7242, allocations: 0.5609 MB / 431.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.726, allocations: 0.8106 MB / 432.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.7276, allocations: 0.6073 MB / 433 MB, free: 5.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.7276, allocations: 8 kB / 433 MB, free: 5.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004587/0.7322, allocations: 1.676 MB / 434.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.7334, allocations: 2.447 MB / 437.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.7335, allocations: 8 kB / 437.1 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.7357, allocations: 0.4885 MB / 437.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.7371, allocations: 163.7 kB / 437.8 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.7497, allocations: 5.27 MB / 443 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.7516, allocations: 163 kB / 443.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.7517, allocations: 44.06 kB / 443.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7518, allocations: 6.188 kB / 443.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004161/0.7559, allocations: 1.527 MB / 444.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.756, allocations: 11.95 kB / 444.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.758, allocations: 497.2 kB / 445.3 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.7593, allocations: 151.7 kB / 445.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.7721, allocations: 5.289 MB / 450.7 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.774, allocations: 135.3 kB / 450.8 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.7742, allocations: 40.06 kB / 450.9 MB, free: 3.016 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005255/0.7747, allocations: 184.4 kB / 451 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004734/0.7795, allocations: 1.523 MB / 452.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.78, allocations: 118.6 kB / 452.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.7806, allocations: 143.5 kB / 452.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.7807, allocations: 12 kB / 452.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7807, allocations: 4.125 kB / 452.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.7807, allocations: 11.92 kB / 452.9 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009914/0.7906, allocations: 3.227 MB / 456.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.7907, allocations: 0 / 456.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/0.7916, allocations: 83.83 kB / 456.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.7938, allocations: 472.9 kB / 456.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.794, allocations: 7.984 kB / 456.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.807, allocations: 5.179 MB / 461.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8071, allocations: 0 / 461.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.8136, allocations: 2.344 MB / 464.2 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.815, allocations: 339.4 kB / 464.5 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004818/0.8155, allocations: 11.98 kB / 464.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.817, allocations: 95.89 kB / 464.6 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008236/0.8178, allocations: 176.9 kB / 464.8 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.818, allocations: 35.98 kB / 464.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001716/0.8197, allocations: 0.6484 MB / 465.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8197, allocations: 0 / 465.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00397/0.8237, allocations: 0.7433 MB / 466.2 MB, free: 3.469 MB / 362.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.006962/0.8307, allocations: 2.96 MB / 469.1 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008321/0.8391, allocations: 2.747 MB / 471.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.8392, allocations: 0 / 471.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.8422, allocations: 0.9649 MB / 472.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.8448, allocations: 275.2 kB / 473.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.8565, allocations: 3.032 MB / 476.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.8591, allocations: 1.68 MB / 477.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003027/0.8621, allocations: 0.509 MB / 478.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/0.8637, allocations: 0.554 MB / 478.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.8637, allocations: 0 / 478.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4402/1.304, allocations: 37.89 MB / 0.5047 GB, free: 113.6 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002684/1.304, allocations: 208.1 kB / 0.5049 GB, free: 113.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.442/5.746, allocations: 3.438 kB / 0.5049 GB, free: 113.3 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat