Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.274e-05, allocations: 4 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 50.42 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5549/0.6649, allocations: 112.2 MB / 455.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/0.6654, allocations: 98.11 kB / 455.4 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2976/0.963, allocations: 67 MB / 0.5102 GB, free: 14.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.963, allocations: 3.938 kB / 0.5102 GB, free: 14.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005662/0.9636, allocations: 83.92 kB / 0.5103 GB, free: 14.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 748 * Number of variables: 748 Notification: Performance of Generate backend data structure: time 0.01412/0.9778, allocations: 3.508 MB / 0.5137 GB, free: 11.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.9778, allocations: 8.031 kB / 0.5137 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002047/0.9799, allocations: 470.8 kB / 0.5142 GB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.982, allocations: 447 kB / 0.5146 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/1, allocations: 4.141 MB / 0.5186 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/1.001, allocations: 233.8 kB / 0.5189 GB, free: 5.859 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/1.002, allocations: 303.9 kB / 0.5192 GB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.014, allocations: 3.837 MB / 0.5229 GB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/1.015, allocations: 7.938 kB / 0.5229 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005286/1.015, allocations: 128 kB / 0.523 GB, free: 1.453 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/1.015, allocations: 113.6 kB / 0.5231 GB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3146/1.33, allocations: 3.309 MB / 0.5264 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03888/1.369, allocations: 13.01 MB / 0.5391 GB, free: 99.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007121/1.376, allocations: 2.64 MB / 0.5416 GB, free: 99.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/1.38, allocations: 1.582 MB / 0.5432 GB, free: 99.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/1.381, allocations: 19.28 kB / 0.5432 GB, free: 99.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/1.384, allocations: 1.415 MB / 0.5446 GB, free: 99.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 6.923e-06/1.385, allocations: 0 / 0.5446 GB, free: 99.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=189): time 0.0167/1.401, allocations: 6.241 MB / 0.5507 GB, free: 97.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.401, allocations: 322.9 kB / 0.551 GB, free: 97.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006019/1.407, allocations: 2.42 MB / 0.5534 GB, free: 97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000553/1.408, allocations: 87.83 kB / 0.5534 GB, free: 96.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.41, allocations: 1.49 MB / 0.5549 GB, free: 96.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.411, allocations: 0.5988 MB / 0.5555 GB, free: 96.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.411, allocations: 47.03 kB / 0.5555 GB, free: 96.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/1.411, allocations: 406.5 kB / 0.5559 GB, free: 95.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/1.414, allocations: 1.181 MB / 0.5571 GB, free: 95.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/1.417, allocations: 1.829 MB / 0.5589 GB, free: 94.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/1.42, allocations: 1.388 MB / 0.5602 GB, free: 93.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/1.42, allocations: 7.531 kB / 0.5602 GB, free: 93.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008269/1.428, allocations: 3.73 MB / 0.5639 GB, free: 92.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001581/1.43, allocations: 7.332 MB / 0.571 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-05/1.43, allocations: 18.81 kB / 0.571 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/1.432, allocations: 0.5715 MB / 0.5716 GB, free: 84.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/1.436, allocations: 0.5475 MB / 0.5721 GB, free: 84.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/1.447, allocations: 7.955 MB / 0.5799 GB, free: 78.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/1.452, allocations: 435.8 kB / 0.5803 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/1.453, allocations: 92.06 kB / 0.5804 GB, free: 78.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.453, allocations: 3.5 kB / 0.5804 GB, free: 78.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007432/1.46, allocations: 3.487 MB / 0.5838 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-05/1.46, allocations: 17.25 kB / 0.5838 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/1.462, allocations: 0.5683 MB / 0.5844 GB, free: 77.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/1.466, allocations: 0.5375 MB / 0.5849 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.477, allocations: 7.967 MB / 0.5927 GB, free: 71.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004829/1.481, allocations: 409.9 kB / 0.5931 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006043/1.482, allocations: 91.84 kB / 0.5932 GB, free: 71.23 MB / 442.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (261): * Single equations (assignments): 258 * 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.0008144/1.483, allocations: 307.6 kB / 0.5935 GB, free: 70.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008666/1.484, allocations: 262 kB / 0.5937 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007377/1.491, allocations: 3.055 MB / 0.5967 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/1.491, allocations: 18.81 kB / 0.5967 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.491, allocations: 3.625 kB / 0.5967 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-05/1.491, allocations: 11.45 kB / 0.5967 GB, free: 69.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/1.509, allocations: 6.821 MB / 0.6034 GB, free: 66.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.51, allocations: 0 / 0.6034 GB, free: 66.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/1.512, allocations: 294.5 kB / 0.6037 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/1.514, allocations: 0.5252 MB / 0.6042 GB, free: 66.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004837/1.515, allocations: 66.25 kB / 0.6042 GB, free: 66.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/1.526, allocations: 7.694 MB / 0.6118 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.526, allocations: 3.812 kB / 0.6118 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.536, allocations: 4.709 MB / 0.6164 GB, free: 58.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/1.539, allocations: 0.6363 MB / 0.617 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.54, allocations: 74.78 kB / 0.6171 GB, free: 58.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0044/1.545, allocations: 361.5 kB / 0.6174 GB, free: 58.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/1.546, allocations: 277.3 kB / 0.6177 GB, free: 58.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003087/1.546, allocations: 59.66 kB / 0.6177 GB, free: 58.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004713/1.551, allocations: 1.818 MB / 0.6195 GB, free: 56.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.193e-06/1.551, allocations: 0 / 0.6195 GB, free: 56.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007538/1.558, allocations: 1.227 MB / 0.6207 GB, free: 55.65 MB / 442.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 137 * 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%) 4,(1,100.0%) 12} * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/1.57, allocations: 6.096 MB / 0.6266 GB, free: 50.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01254/1.583, allocations: 5.378 MB / 0.6319 GB, free: 45.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.583, allocations: 64 / 0.6319 GB, free: 45.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005009/1.588, allocations: 2.104 MB / 0.634 GB, free: 43.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005284/1.593, allocations: 0.61 MB / 0.6346 GB, free: 42.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/1.615, allocations: 6.816 MB / 0.6412 GB, free: 37.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/1.618, allocations: 2.529 MB / 0.6437 GB, free: 35.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007765/1.626, allocations: 1.534 MB / 0.6452 GB, free: 34.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002726/1.629, allocations: 1.221 MB / 0.6464 GB, free: 33.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/1.629, allocations: 0 / 0.6464 GB, free: 33.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5264/2.155, allocations: 78.54 MB / 0.7231 GB, free: 104.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/2.156, allocations: 237.4 kB / 0.7233 GB, free: 104 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.06/8.215, allocations: 4 kB / 0.7233 GB, free: 104 MB / 458.7 MB