Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.181/2.181, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.007e-05, allocations: 5.406 kB / 292.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 50.41 MB / 342.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4889/0.5959, allocations: 112.2 MB / 454.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.5963, allocations: 95.02 kB / 454.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3057/0.902, allocations: 67.02 MB / 0.5097 GB, free: 14.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.9021, allocations: 0 / 0.5097 GB, free: 14.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005812/0.9027, allocations: 79.94 kB / 0.5098 GB, free: 14.79 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.01445/0.9171, allocations: 3.504 MB / 0.5132 GB, free: 11.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.9172, allocations: 12.03 kB / 0.5132 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002262/0.9195, allocations: 462.9 kB / 0.5137 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.9224, allocations: 443 kB / 0.5141 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/0.9421, allocations: 4.156 MB / 0.5181 GB, free: 6.051 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00041/0.9426, allocations: 233.8 kB / 0.5184 GB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/0.9443, allocations: 303.9 kB / 0.5187 GB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.9649, allocations: 3.841 MB / 0.5224 GB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002324/0.9652, allocations: 0 / 0.5224 GB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/0.9667, allocations: 128 kB / 0.5225 GB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/0.967, allocations: 113.6 kB / 0.5226 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3503/1.317, allocations: 3.308 MB / 0.5259 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04044/1.358, allocations: 13.02 MB / 0.5386 GB, free: 99.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/1.365, allocations: 2.634 MB / 0.5411 GB, free: 99.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004383/1.37, allocations: 1.578 MB / 0.5427 GB, free: 99.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/1.37, allocations: 21 kB / 0.5427 GB, free: 99.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004118/1.374, allocations: 1.419 MB / 0.5441 GB, free: 98.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 7.053e-06/1.374, allocations: 3.656 kB / 0.5441 GB, free: 98.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=189): time 0.01863/1.393, allocations: 6.235 MB / 0.5502 GB, free: 97.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.393, allocations: 320.5 kB / 0.5505 GB, free: 97.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006836/1.4, allocations: 2.421 MB / 0.5529 GB, free: 96.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006456/1.401, allocations: 88.5 kB / 0.5529 GB, free: 96.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.403, allocations: 1.486 MB / 0.5544 GB, free: 96.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.404, allocations: 0.6035 MB / 0.555 GB, free: 96.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/1.404, allocations: 45.12 kB / 0.555 GB, free: 96.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/1.405, allocations: 402.8 kB / 0.5554 GB, free: 95.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.408, allocations: 1.191 MB / 0.5566 GB, free: 95.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/1.412, allocations: 1.819 MB / 0.5583 GB, free: 94.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/1.415, allocations: 1.397 MB / 0.5597 GB, free: 93.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-05/1.415, allocations: 3.406 kB / 0.5597 GB, free: 93.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01023/1.426, allocations: 3.729 MB / 0.5634 GB, free: 92.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.428, allocations: 7.338 MB / 0.5705 GB, free: 84.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.527e-05/1.428, allocations: 16.47 kB / 0.5705 GB, free: 84.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/1.43, allocations: 0.5788 MB / 0.5711 GB, free: 84.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.434, allocations: 0.5452 MB / 0.5716 GB, free: 84.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.446, allocations: 7.945 MB / 0.5794 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.451, allocations: 429.5 kB / 0.5798 GB, free: 78.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006512/1.452, allocations: 94.75 kB / 0.5799 GB, free: 78.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.452, allocations: 2.75 kB / 0.5799 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009207/1.461, allocations: 3.482 MB / 0.5833 GB, free: 77.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.27e-05/1.462, allocations: 15.22 kB / 0.5833 GB, free: 77.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/1.464, allocations: 0.5717 MB / 0.5839 GB, free: 76.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/1.468, allocations: 0.5384 MB / 0.5844 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/1.48, allocations: 7.973 MB / 0.5922 GB, free: 71.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/1.485, allocations: 406.2 kB / 0.5926 GB, free: 71.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006712/1.485, allocations: 88.53 kB / 0.5927 GB, free: 71.09 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.001289/1.487, allocations: 309.7 kB / 0.593 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.488, allocations: 262.5 kB / 0.5932 GB, free: 70.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008732/1.496, allocations: 3.06 MB / 0.5962 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.497, allocations: 19.69 kB / 0.5962 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.497, allocations: 3.938 kB / 0.5962 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.467e-05/1.497, allocations: 11.41 kB / 0.5962 GB, free: 69.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.522, allocations: 6.814 MB / 0.6029 GB, free: 66.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-05/1.522, allocations: 3.844 kB / 0.6029 GB, free: 66.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/1.526, allocations: 293.5 kB / 0.6032 GB, free: 66.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002713/1.529, allocations: 0.5343 MB / 0.6037 GB, free: 66.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006055/1.529, allocations: 59.12 kB / 0.6037 GB, free: 66.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/1.545, allocations: 7.686 MB / 0.6112 GB, free: 60.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.546, allocations: 7.844 kB / 0.6113 GB, free: 60.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.56, allocations: 4.713 MB / 0.6159 GB, free: 58.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/1.563, allocations: 0.6354 MB / 0.6165 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.564, allocations: 74.83 kB / 0.6165 GB, free: 58.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004519/1.569, allocations: 360.8 kB / 0.6169 GB, free: 58.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/1.57, allocations: 279.4 kB / 0.6172 GB, free: 58.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000365/1.57, allocations: 52.59 kB / 0.6172 GB, free: 58.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00501/1.575, allocations: 1.824 MB / 0.619 GB, free: 56.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.576, allocations: 3.375 kB / 0.619 GB, free: 56.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007932/1.583, allocations: 1.227 MB / 0.6202 GB, free: 55.46 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.01199/1.596, allocations: 6.095 MB / 0.6261 GB, free: 49.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01277/1.608, allocations: 5.377 MB / 0.6314 GB, free: 45.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.608, allocations: 2.953 kB / 0.6314 GB, free: 45.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/1.613, allocations: 2.091 MB / 0.6334 GB, free: 43.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/1.619, allocations: 0.6238 MB / 0.634 GB, free: 42.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.641, allocations: 6.82 MB / 0.6407 GB, free: 36.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004058/1.645, allocations: 2.526 MB / 0.6432 GB, free: 35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008139/1.653, allocations: 1.539 MB / 0.6447 GB, free: 34.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002976/1.656, allocations: 1.223 MB / 0.6459 GB, free: 32.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/1.656, allocations: 4 kB / 0.6459 GB, free: 32.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.591/2.247, allocations: 78.53 MB / 0.7226 GB, free: 104.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/2.247, allocations: 244.1 kB / 0.7228 GB, free: 103.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.405/8.652, allocations: 0 / 0.7228 GB, free: 103.8 MB / 458.7 MB