Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.905e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09464/0.09469, allocations: 44.51 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5244/0.6191, allocations: 103.3 MB / 403.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004827/0.6197, allocations: 90.34 kB / 403.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3046/0.9243, allocations: 65.36 MB / 468.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.9243, allocations: 0 / 468.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005539/0.9249, allocations: 83.94 kB / 468.8 MB, free: 15.55 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: 732 * Number of variables: 732 Notification: Performance of Generate backend data structure: time 0.01431/0.9392, allocations: 3.444 MB / 472.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.9393, allocations: 12.02 kB / 472.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002298/0.9416, allocations: 458.2 kB / 472.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.9441, allocations: 439.3 kB / 473.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/0.9617, allocations: 4.023 MB / 477.2 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.9621, allocations: 221.7 kB / 477.4 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.9634, allocations: 307.8 kB / 477.7 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.9758, allocations: 3.77 MB / 481.4 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.976, allocations: 7.938 kB / 481.4 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006634/0.9767, allocations: 120 kB / 481.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.9769, allocations: 109.5 kB / 481.7 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.9876, allocations: 3.24 MB / 484.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03692/1.025, allocations: 12.79 MB / 497.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008402/1.033, allocations: 2.782 MB / 0.4888 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/1.037, allocations: 1.547 MB / 0.4903 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.037, allocations: 22 kB / 0.4903 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003475/1.041, allocations: 1.379 MB / 0.4916 GB, free: 12.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 4.929e-06/1.041, allocations: 0 / 0.4916 GB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.0165/1.058, allocations: 6.074 MB / 0.4976 GB, free: 6.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/1.058, allocations: 295 kB / 0.4978 GB, free: 5.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006681/1.064, allocations: 2.378 MB / 0.5002 GB, free: 3.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005805/1.065, allocations: 89.61 kB / 0.5003 GB, free: 3.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.067, allocations: 1.471 MB / 0.5017 GB, free: 1.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.069, allocations: 0.5819 MB / 0.5023 GB, free: 1.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/1.069, allocations: 52 kB / 0.5023 GB, free: 1.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002955/1.069, allocations: 394.6 kB / 0.5027 GB, free: 0.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00318/1.072, allocations: 1.152 MB / 0.5038 GB, free: 15.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004016/1.076, allocations: 1.794 MB / 0.5056 GB, free: 13.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/1.08, allocations: 1.345 MB / 0.5069 GB, free: 12.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-05/1.08, allocations: 4 kB / 0.5069 GB, free: 12.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01037/1.091, allocations: 3.668 MB / 0.5105 GB, free: 8.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003195/1.094, allocations: 7.331 MB / 0.5176 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.769e-05/1.094, allocations: 16.09 kB / 0.5176 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3407/1.435, allocations: 0.5784 MB / 0.5182 GB, free: 96.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005435/1.44, allocations: 0.5296 MB / 0.5187 GB, free: 96.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/1.457, allocations: 7.933 MB / 0.5265 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006946/1.464, allocations: 418 kB / 0.5269 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008166/1.465, allocations: 100 kB / 0.527 GB, free: 92.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.465, allocations: 4.188 kB / 0.527 GB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/1.478, allocations: 3.408 MB / 0.5303 GB, free: 91.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/1.478, allocations: 17.22 kB / 0.5303 GB, free: 91.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/1.481, allocations: 0.5756 MB / 0.5309 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005353/1.486, allocations: 0.5244 MB / 0.5314 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.498, allocations: 7.961 MB / 0.5392 GB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.503, allocations: 403.8 kB / 0.5395 GB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006273/1.504, allocations: 91.81 kB / 0.5396 GB, free: 87.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 69 ($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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[3].y,$PRE.pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[1].entryTime,$PRE.pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,$PRE.pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,$PRE.pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,$PRE.pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,$PRE.pulse2.twomPulse.timerNegative[3].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 252 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 4} * Non-linear torn systems: 1 {6 19} Notification: Performance of prepare postOptimizeDAE: time 0.000813/1.505, allocations: 302.7 kB / 0.5399 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008357/1.506, allocations: 258.7 kB / 0.5402 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/1.513, allocations: 2.982 MB / 0.5431 GB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.513, allocations: 19.39 kB / 0.5431 GB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.513, allocations: 3.906 kB / 0.5431 GB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/1.513, allocations: 10.92 kB / 0.5431 GB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/1.531, allocations: 6.652 MB / 0.5496 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/1.531, allocations: 0 / 0.5496 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.533, allocations: 288.6 kB / 0.5499 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/1.535, allocations: 0.5242 MB / 0.5504 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004725/1.536, allocations: 53.64 kB / 0.5504 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/1.547, allocations: 7.679 MB / 0.5579 GB, free: 82.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.547, allocations: 7.875 kB / 0.5579 GB, free: 82.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.557, allocations: 4.585 MB / 0.5624 GB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/1.56, allocations: 0.6234 MB / 0.563 GB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.561, allocations: 76.11 kB / 0.5631 GB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004232/1.565, allocations: 358.9 kB / 0.5634 GB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001176/1.567, allocations: 275.5 kB / 0.5637 GB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.567, allocations: 47.34 kB / 0.5638 GB, free: 80.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004618/1.572, allocations: 1.796 MB / 0.5655 GB, free: 79.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.572, allocations: 0 / 0.5655 GB, free: 79.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00756/1.579, allocations: 1.201 MB / 0.5667 GB, free: 79.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 17 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twomPulse.filter[1].firstOrder.y,pulse2.twomPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[1].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[2].firstOrder.y,pulse2.twomPulse.filter[2].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[2].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[3].firstOrder.y,pulse2.twomPulse.filter[3].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[3].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.inductor[2].i,lMains.inductor[3].i) * Number of discrete variables: 48 (pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.fire_n[3]) * Number of discrete states: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 4} * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01166/1.591, allocations: 5.964 MB / 0.5725 GB, free: 76.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01258/1.603, allocations: 5.266 MB / 0.5777 GB, free: 73.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.604, allocations: 2.969 kB / 0.5777 GB, free: 73.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004916/1.608, allocations: 2.066 MB / 0.5797 GB, free: 73.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/1.614, allocations: 0.6033 MB / 0.5803 GB, free: 72.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.635, allocations: 6.671 MB / 0.5868 GB, free: 70.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/1.639, allocations: 2.485 MB / 0.5892 GB, free: 69.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007402/1.646, allocations: 1.493 MB / 0.5907 GB, free: 69.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/1.649, allocations: 1.198 MB / 0.5918 GB, free: 68.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/1.649, allocations: 0 / 0.5918 GB, free: 68.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/1.829, allocations: 77.29 MB / 0.6673 GB, free: 2.594 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.829, allocations: 243 kB / 0.6675 GB, free: 2.254 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.446/8.275, allocations: 7.875 kB / 0.6675 GB, free: 2.246 MB / 410.7 MB