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.03/2.03, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.082e-05, allocations: 5.406 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09289, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.5541, allocations: 103.3 MB / 403.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5545, allocations: 89.23 kB / 403.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3283/0.8828, allocations: 65.36 MB / 468.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.8829, allocations: 0 / 468.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007444/0.8837, allocations: 83.94 kB / 468.8 MB, free: 15.48 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.01876/0.9025, allocations: 3.432 MB / 472.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.9026, allocations: 12.03 kB / 472.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002823/0.9054, allocations: 466.2 kB / 472.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003563/0.909, allocations: 439.3 kB / 473.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02598/0.9351, allocations: 4.034 MB / 477.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005185/0.9356, allocations: 225.7 kB / 477.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.9373, allocations: 303.8 kB / 477.7 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.9539, allocations: 3.789 MB / 481.4 MB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.9542, allocations: 7.938 kB / 481.5 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007277/0.9549, allocations: 124 kB / 481.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.9552, allocations: 109.5 kB / 481.7 MB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.9709, allocations: 3.278 MB / 485 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05262/1.024, allocations: 12.79 MB / 497.8 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/1.035, allocations: 2.796 MB / 0.4888 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006387/1.041, allocations: 1.547 MB / 0.4903 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/1.042, allocations: 22 kB / 0.4903 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005582/1.047, allocations: 1.379 MB / 0.4917 GB, free: 12.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 9.648e-06/1.047, allocations: 3.938 kB / 0.4917 GB, free: 12.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.03422/1.082, allocations: 6.081 MB / 0.4976 GB, free: 5.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002393/1.082, allocations: 287 kB / 0.4979 GB, free: 5.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02373/1.106, allocations: 2.382 MB / 0.5002 GB, free: 3.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000688/1.106, allocations: 93.67 kB / 0.5003 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003064/1.11, allocations: 1.467 MB / 0.5018 GB, free: 1.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00677/1.116, allocations: 0.5858 MB / 0.5023 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/1.117, allocations: 44 kB / 0.5024 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003691/1.117, allocations: 402.6 kB / 0.5028 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/1.12, allocations: 1.152 MB / 0.5039 GB, free: 15.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/1.125, allocations: 1.798 MB / 0.5056 GB, free: 13.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/1.128, allocations: 1.356 MB / 0.507 GB, free: 11.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/1.128, allocations: 4 kB / 0.507 GB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01034/1.139, allocations: 3.715 MB / 0.5106 GB, free: 8.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003495/1.142, allocations: 7.33 MB / 0.5178 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.825e-05/1.142, allocations: 23.98 kB / 0.5178 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2875/1.43, allocations: 0.563 MB / 0.5183 GB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004198/1.434, allocations: 0.5313 MB / 0.5188 GB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.446, allocations: 7.949 MB / 0.5266 GB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/1.451, allocations: 418.2 kB / 0.527 GB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000494/1.452, allocations: 92.45 kB / 0.5271 GB, free: 91.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.452, allocations: 3.875 kB / 0.5271 GB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009382/1.461, allocations: 3.456 MB / 0.5305 GB, free: 91.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.461, allocations: 21.97 kB / 0.5305 GB, free: 91.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/1.464, allocations: 0.5702 MB / 0.5311 GB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/1.469, allocations: 0.5258 MB / 0.5316 GB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.48, allocations: 7.966 MB / 0.5393 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.485, allocations: 406 kB / 0.5397 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/1.485, allocations: 87.75 kB / 0.5398 GB, free: 87.3 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.0007714/1.486, allocations: 303.9 kB / 0.5401 GB, free: 87.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008106/1.487, allocations: 256.2 kB / 0.5404 GB, free: 87.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006653/1.494, allocations: 2.98 MB / 0.5433 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/1.494, allocations: 22.14 kB / 0.5433 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.494, allocations: 3.938 kB / 0.5433 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/1.494, allocations: 7.688 kB / 0.5433 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/1.51, allocations: 6.662 MB / 0.5498 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.511, allocations: 0 / 0.5498 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.513, allocations: 285.7 kB / 0.5501 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/1.515, allocations: 0.5172 MB / 0.5506 GB, free: 86.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003547/1.515, allocations: 61.62 kB / 0.5506 GB, free: 86.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/1.526, allocations: 7.678 MB / 0.5581 GB, free: 82.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.526, allocations: 0 / 0.5581 GB, free: 82.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009882/1.536, allocations: 4.585 MB / 0.5626 GB, free: 80.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.538, allocations: 0.6206 MB / 0.5632 GB, free: 79.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007776/1.539, allocations: 75.08 kB / 0.5633 GB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004572/1.543, allocations: 365.3 kB / 0.5636 GB, free: 79.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/1.545, allocations: 270 kB / 0.5639 GB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/1.545, allocations: 49.47 kB / 0.5639 GB, free: 79.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005883/1.551, allocations: 1.796 MB / 0.5657 GB, free: 79.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.464e-06/1.551, allocations: 0 / 0.5657 GB, free: 79.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009203/1.56, allocations: 1.211 MB / 0.5669 GB, free: 78.97 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.01481/1.575, allocations: 5.952 MB / 0.5727 GB, free: 75.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03951/1.615, allocations: 5.385 MB / 0.5779 GB, free: 73.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.615, allocations: 3.656 kB / 0.578 GB, free: 73.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009995/1.625, allocations: 2.097 MB / 0.58 GB, free: 72.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.63, allocations: 0.616 MB / 0.5806 GB, free: 72.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.65, allocations: 6.678 MB / 0.5871 GB, free: 70.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.654, allocations: 2.483 MB / 0.5895 GB, free: 69.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007115/1.661, allocations: 1.497 MB / 0.591 GB, free: 68.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002509/1.664, allocations: 1.193 MB / 0.5922 GB, free: 68 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/1.664, allocations: 3.719 kB / 0.5922 GB, free: 68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/1.869, allocations: 77.86 MB / 0.6682 GB, free: 1.438 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.87, allocations: 244.4 kB / 0.6684 GB, free: 1.098 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.276/8.146, allocations: 0 / 0.6684 GB, free: 1.098 MB / 410.7 MB