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 1.974/1.974, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.518e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3508, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.5332, allocations: 102.6 MB / 396.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.5336, allocations: 87.08 kB / 396.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5724/1.106, allocations: 64.59 MB / 461.5 MB, free: 87.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.106, allocations: 0 / 461.5 MB, free: 87.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000498/1.107, allocations: 86.12 kB / 461.6 MB, free: 87.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.01234/1.119, allocations: 3.433 MB / 465 MB, free: 84.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.119, allocations: 12.03 kB / 465.1 MB, free: 84.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/1.121, allocations: 439.2 kB / 465.5 MB, free: 83.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/1.137, allocations: 4.036 MB / 469.5 MB, free: 79.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/1.138, allocations: 99.95 kB / 469.6 MB, free: 79.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/1.139, allocations: 179.9 kB / 469.8 MB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01058/1.149, allocations: 3.115 MB / 472.9 MB, free: 76.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/1.164, allocations: 3.368 MB / 476.3 MB, free: 72.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/1.164, allocations: 8 kB / 476.3 MB, free: 72.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006455/1.165, allocations: 7.984 kB / 476.3 MB, free: 72.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/1.165, allocations: 117.4 kB / 476.4 MB, free: 72.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/1.208, allocations: 12.22 MB / 488.6 MB, free: 60.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009615/1.218, allocations: 2.713 MB / 491.3 MB, free: 57.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004768/1.223, allocations: 1.484 MB / 492.8 MB, free: 56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/1.223, allocations: 25.91 kB / 492.9 MB, free: 55.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004829/1.228, allocations: 1.348 MB / 494.2 MB, free: 54.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 1.001e-05/1.228, allocations: 4 kB / 494.2 MB, free: 54.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=183): time 0.02485/1.253, allocations: 5.814 MB / 0.4883 GB, free: 48.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/1.253, allocations: 294.8 kB / 0.4886 GB, free: 48.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007932/1.261, allocations: 2.114 MB / 0.4906 GB, free: 46.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007272/1.262, allocations: 57.67 kB / 0.4907 GB, free: 46.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.264, allocations: 1.454 MB / 0.4921 GB, free: 44.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/1.266, allocations: 0.5583 MB / 0.4927 GB, free: 44.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.266, allocations: 0 / 0.4927 GB, free: 44.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003006/1.267, allocations: 398.6 kB / 0.493 GB, free: 43.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004155/1.271, allocations: 1.113 MB / 0.4941 GB, free: 42.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0051/1.276, allocations: 1.739 MB / 0.4958 GB, free: 40.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005453/1.282, allocations: 1.317 MB / 0.4971 GB, free: 39.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-05/1.282, allocations: 4 kB / 0.4971 GB, free: 39.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01409/1.296, allocations: 3.481 MB / 0.5005 GB, free: 35.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002053/1.298, allocations: 7.259 MB / 0.5076 GB, free: 28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/1.298, allocations: 16 kB / 0.5076 GB, free: 27.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003732/1.302, allocations: 0.5569 MB / 0.5082 GB, free: 27.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/1.306, allocations: 0.5381 MB / 0.5087 GB, free: 26.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.317, allocations: 7.714 MB / 0.5162 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/1.322, allocations: 383.3 kB / 0.5166 GB, free: 18.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006523/1.322, allocations: 88 kB / 0.5167 GB, free: 18.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.322, allocations: 4 kB / 0.5167 GB, free: 18.35 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008055/1.33, allocations: 3.204 MB / 0.5198 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.599e-05/1.33, allocations: 16 kB / 0.5198 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/1.332, allocations: 0.5712 MB / 0.5204 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003917/1.336, allocations: 0.5226 MB / 0.5209 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/1.347, allocations: 7.725 MB / 0.5284 GB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/1.352, allocations: 355.4 kB / 0.5288 GB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/1.352, allocations: 92 kB / 0.5289 GB, free: 5.477 MB / 362.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.0007502/1.353, allocations: 232.5 kB / 0.5291 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006769/1.36, allocations: 2.697 MB / 0.5317 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.361, allocations: 237.1 kB / 0.5319 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007166/1.368, allocations: 2.837 MB / 0.5347 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/1.368, allocations: 16 kB / 0.5347 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.368, allocations: 4 kB / 0.5347 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-05/1.368, allocations: 11.95 kB / 0.5347 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.387, allocations: 6.159 MB / 0.5408 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/1.387, allocations: 4 kB / 0.5408 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/1.39, allocations: 287.8 kB / 0.541 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/1.392, allocations: 0.5026 MB / 0.5415 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005112/1.393, allocations: 39.95 kB / 0.5416 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.405, allocations: 7.429 MB / 0.5488 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.405, allocations: 4.031 kB / 0.5488 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/1.422, allocations: 4.428 MB / 0.5531 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002476/1.424, allocations: 0.6039 MB / 0.5537 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009149/1.425, allocations: 51.91 kB / 0.5538 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003793/1.429, allocations: 335.5 kB / 0.5541 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/1.43, allocations: 269.5 kB / 0.5544 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/1.431, allocations: 52.03 kB / 0.5544 GB, free: 10.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004004/1.435, allocations: 1.558 MB / 0.5559 GB, free: 8.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.435, allocations: 0 / 0.5559 GB, free: 8.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006655/1.441, allocations: 1.051 MB / 0.557 GB, free: 7.93 MB / 394.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.012/1.453, allocations: 5.758 MB / 0.5626 GB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2782/1.732, allocations: 5.128 MB / 0.5676 GB, free: 107.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.732, allocations: 1 kB / 0.5676 GB, free: 107.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004869/1.737, allocations: 2.029 MB / 0.5696 GB, free: 107.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/1.741, allocations: 0.5289 MB / 0.5701 GB, free: 107.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/1.763, allocations: 6.48 MB / 0.5764 GB, free: 106 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/1.766, allocations: 2.488 MB / 0.5789 GB, free: 105.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007338/1.774, allocations: 1.468 MB / 0.5803 GB, free: 105.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/1.776, allocations: 1.195 MB / 0.5815 GB, free: 105.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/1.776, allocations: 2.812 kB / 0.5815 GB, free: 105.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2063/1.983, allocations: 68.67 MB / 0.6485 GB, free: 55.96 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.983, allocations: 207.5 kB / 0.6487 GB, free: 55.67 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.741/7.724, allocations: 3.953 kB / 0.6487 GB, free: 55.66 MB / 394.7 MB