Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.817e-05/4.818e-05, allocations: 7.984 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.5908, allocations: 87.56 MB / 387.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5912, allocations: 83.61 kB / 387.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1143/0.7055, allocations: 28.49 MB / 416.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7056, allocations: 0 / 416.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001946/0.7058, allocations: 50.81 kB / 416.2 MB, free: 3.922 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.006256/0.712, allocations: 1.868 MB / 418 MB, free: 2.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.7121, allocations: 11.47 kB / 418 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008413/0.713, allocations: 238.1 kB / 418.3 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/0.7137, allocations: 210.3 kB / 418.5 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007461/0.7211, allocations: 2.022 MB / 420.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.7214, allocations: 131.3 kB / 420.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006125/0.722, allocations: 158 kB / 420.8 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005664/0.7277, allocations: 2.186 MB / 423 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.774e-05/0.7278, allocations: 0 / 423 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.728, allocations: 69.53 kB / 423 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/0.7282, allocations: 69.14 kB / 423.1 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005752/0.7339, allocations: 1.791 MB / 424.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.7513, allocations: 6.501 MB / 431.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.7553, allocations: 1.559 MB / 433 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/0.7581, allocations: 1.102 MB / 434.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.7583, allocations: 11 kB / 434.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/0.7604, allocations: 0.8263 MB / 434.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.099e-06/0.7604, allocations: 0 / 434.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.004609/0.765, allocations: 1.605 MB / 436.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.7652, allocations: 157.4 kB / 436.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.7678, allocations: 0.9992 MB / 437.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003617/0.7682, allocations: 65.69 kB / 437.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.7693, allocations: 0.7134 MB / 438.4 MB, free: 9.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006525/0.7699, allocations: 345.4 kB / 438.8 MB, free: 9.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.7701, allocations: 24 kB / 438.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.7702, allocations: 361.9 kB / 439.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.7718, allocations: 0.5843 MB / 439.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.7736, allocations: 0.8402 MB / 440.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.7752, allocations: 0.6255 MB / 441.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.7753, allocations: 4 kB / 441.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004576/0.7799, allocations: 1.804 MB / 443 MB, free: 4.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009801/0.7809, allocations: 2.45 MB / 445.5 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.7809, allocations: 4 kB / 445.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.783, allocations: 0.4963 MB / 446 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.7842, allocations: 159.7 kB / 446.1 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.7963, allocations: 5.395 MB / 451.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.7983, allocations: 179.2 kB / 451.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.7985, allocations: 44 kB / 451.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7985, allocations: 4 kB / 451.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004204/0.8027, allocations: 1.663 MB / 453.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.8028, allocations: 8 kB / 453.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.8047, allocations: 0.5012 MB / 453.9 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.8058, allocations: 163.7 kB / 454.1 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.8179, allocations: 5.387 MB / 459.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.8197, allocations: 159.2 kB / 459.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.8199, allocations: 48 kB / 459.7 MB, free: 3.785 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.000513/0.8204, allocations: 228.8 kB / 459.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.8208, allocations: 130.4 kB / 460 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.8214, allocations: 152.1 kB / 460.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.8214, allocations: 12 kB / 460.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8214, allocations: 0 / 460.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.8215, allocations: 7.969 kB / 460.2 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009894/0.8314, allocations: 3.527 MB / 463.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.8314, allocations: 0 / 463.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/0.8322, allocations: 83.83 kB / 463.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.8341, allocations: 488.2 kB / 464.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.8344, allocations: 20 kB / 464.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.846, allocations: 5.323 MB / 469.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8461, allocations: 3.938 kB / 469.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/0.8521, allocations: 2.434 MB / 472 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.8533, allocations: 347.3 kB / 472.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.8536, allocations: 31.98 kB / 472.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.855, allocations: 103.9 kB / 472.5 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006806/0.8557, allocations: 180.7 kB / 472.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.8558, allocations: 35.92 kB / 472.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001877/0.8577, allocations: 0.7602 MB / 473.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.001e-06/0.8578, allocations: 4 kB / 473.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00346/0.8612, allocations: 0.8098 MB / 474.3 MB, free: 4.902 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.007025/0.8683, allocations: 3.066 MB / 477.4 MB, free: 1.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008039/0.8764, allocations: 2.886 MB / 480.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.8765, allocations: 4.188 kB / 480.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002893/0.8794, allocations: 1.004 MB / 481.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.882, allocations: 315.6 kB / 481.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.8924, allocations: 3.121 MB / 484.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/0.8946, allocations: 1.676 MB / 486.4 MB, free: 8.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002621/0.8972, allocations: 0.5368 MB / 486.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.8985, allocations: 0.5579 MB / 487.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8985, allocations: 0 / 487.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4109/1.309, allocations: 41.62 MB / 0.5167 GB, free: 119.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/1.31, allocations: 235.6 kB / 0.5169 GB, free: 118.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.378/5.688, allocations: 5.219 kB / 0.5169 GB, free: 118.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat