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.178/2.178, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.85e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3685, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.5303, allocations: 86.9 MB / 381.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5306, allocations: 83.94 kB / 381.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.117/0.6476, allocations: 28.19 MB / 409.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6477, allocations: 4 kB / 409.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001783/0.6479, allocations: 55.92 kB / 409.5 MB, free: 14.38 MB / 362.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.00653/0.6544, allocations: 1.863 MB / 411.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.6545, allocations: 12.03 kB / 411.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009043/0.6554, allocations: 209.5 kB / 411.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008008/0.6634, allocations: 2.021 MB / 413.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.6636, allocations: 60 kB / 413.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000512/0.6642, allocations: 96 kB / 413.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005477/0.6696, allocations: 1.705 MB / 415.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00619/0.6759, allocations: 1.956 MB / 417.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.579e-05/0.676, allocations: 4 kB / 417.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.6762, allocations: 11.98 kB / 417.4 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.6764, allocations: 63.16 kB / 417.5 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2716/0.9479, allocations: 6.184 MB / 423.6 MB, free: 95.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004735/0.9528, allocations: 1.498 MB / 425.1 MB, free: 95.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.9552, allocations: 0.9679 MB / 426.1 MB, free: 95.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.9554, allocations: 14.94 kB / 426.1 MB, free: 95.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.9572, allocations: 0.7898 MB / 426.9 MB, free: 95.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=114): time 4.779e-06/0.9572, allocations: 1.219 kB / 426.9 MB, free: 95.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.004879/0.9621, allocations: 1.524 MB / 428.4 MB, free: 95.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.9623, allocations: 151.5 kB / 428.6 MB, free: 94.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.9644, allocations: 0.8711 MB / 429.5 MB, free: 94.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.9648, allocations: 50.62 kB / 429.5 MB, free: 94.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008097/0.9656, allocations: 0.7178 MB / 430.2 MB, free: 94.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005836/0.9662, allocations: 322 kB / 430.5 MB, free: 94.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.9663, allocations: 1.25 kB / 430.5 MB, free: 94.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9665, allocations: 354.9 kB / 430.9 MB, free: 93.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.9678, allocations: 0.5624 MB / 431.5 MB, free: 93.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.9693, allocations: 0.8183 MB / 432.3 MB, free: 93.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.9707, allocations: 0.6061 MB / 432.9 MB, free: 93.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.9707, allocations: 1.438 kB / 432.9 MB, free: 93.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003773/0.9745, allocations: 1.69 MB / 434.6 MB, free: 93.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005568/0.9751, allocations: 2.444 MB / 437 MB, free: 91.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.9752, allocations: 3.969 kB / 437 MB, free: 91.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.977, allocations: 499.8 kB / 437.5 MB, free: 91.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.9782, allocations: 158.4 kB / 437.7 MB, free: 91.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.9884, allocations: 5.281 MB / 442.9 MB, free: 88.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.9908, allocations: 158.8 kB / 443.1 MB, free: 88.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.9911, allocations: 42.09 kB / 443.1 MB, free: 88.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.9911, allocations: 3.031 kB / 443.1 MB, free: 88.26 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003396/0.9946, allocations: 1.533 MB / 444.7 MB, free: 87.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/0.9947, allocations: 3.969 kB / 444.7 MB, free: 87.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.9965, allocations: 0.4902 MB / 445.2 MB, free: 87.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.9977, allocations: 156.9 kB / 445.3 MB, free: 87.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009995/1.008, allocations: 5.286 MB / 450.6 MB, free: 84.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.009, allocations: 129 kB / 450.7 MB, free: 84.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/1.01, allocations: 40.78 kB / 450.8 MB, free: 84.51 MB / 362.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.0004467/1.01, allocations: 188.1 kB / 451 MB, free: 84.38 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003576/1.014, allocations: 1.519 MB / 452.5 MB, free: 83.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/1.014, allocations: 126 kB / 452.6 MB, free: 83.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/1.015, allocations: 134.8 kB / 452.7 MB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.015, allocations: 14.64 kB / 452.7 MB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.015, allocations: 0 / 452.7 MB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.015, allocations: 6.969 kB / 452.8 MB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008111/1.023, allocations: 3.221 MB / 456 MB, free: 82.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.023, allocations: 0 / 456 MB, free: 82.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/1.024, allocations: 87.48 kB / 456.1 MB, free: 82.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/1.025, allocations: 483.7 kB / 456.5 MB, free: 82.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.025, allocations: 7.844 kB / 456.5 MB, free: 82.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009497/1.035, allocations: 5.176 MB / 461.7 MB, free: 79.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.035, allocations: 0 / 461.7 MB, free: 79.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/1.04, allocations: 2.361 MB / 464.1 MB, free: 78.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/1.04, allocations: 334.8 kB / 464.4 MB, free: 77.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/1.041, allocations: 14.66 kB / 464.4 MB, free: 77.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.042, allocations: 89.84 kB / 464.5 MB, free: 77.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/1.043, allocations: 174.1 kB / 464.7 MB, free: 77.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-05/1.043, allocations: 30.86 kB / 464.7 MB, free: 77.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001162/1.044, allocations: 0.6496 MB / 465.4 MB, free: 77.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.044, allocations: 5.625 kB / 465.4 MB, free: 77.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002986/1.047, allocations: 0.7445 MB / 466.1 MB, free: 76.61 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.00464/1.052, allocations: 2.954 MB / 469.1 MB, free: 73.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005915/1.058, allocations: 2.748 MB / 471.8 MB, free: 71.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.058, allocations: 0 / 471.8 MB, free: 71.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.06, allocations: 0.9662 MB / 472.8 MB, free: 70.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/1.062, allocations: 266.2 kB / 473 MB, free: 70.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008728/1.071, allocations: 3.047 MB / 476.1 MB, free: 67.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.072, allocations: 1.677 MB / 477.8 MB, free: 66.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002325/1.075, allocations: 0.5067 MB / 478.3 MB, free: 66.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.076, allocations: 0.5523 MB / 478.8 MB, free: 65.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/1.076, allocations: 0 / 478.8 MB, free: 65.56 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/1.188, allocations: 37.9 MB / 0.5046 GB, free: 29.29 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/1.189, allocations: 202.7 kB / 0.5048 GB, free: 29.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/5.31, allocations: 0 / 0.5048 GB, free: 29.02 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.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat