Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.785e-05, allocations: 7.938 kB / 249.6 MB, free: 15.26 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2514, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.3821, allocations: 84.65 MB / 378.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.3825, allocations: 91.94 kB / 378.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1112/0.4937, allocations: 28.16 MB / 407 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.281e-06/0.4938, allocations: 3.938 kB / 407 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.4939, allocations: 35.94 kB / 407.1 MB, free: 0.8438 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.00442/0.4983, allocations: 1.529 MB / 408.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.4984, allocations: 15.97 kB / 408.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.4991, allocations: 162.4 kB / 408.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005719/0.5049, allocations: 1.628 MB / 410.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.505, allocations: 48 kB / 410.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.5053, allocations: 79.98 kB / 410.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003309/0.5087, allocations: 1.262 MB / 411.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/0.5125, allocations: 1.504 MB / 413.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.5126, allocations: 7.984 kB / 413.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.5128, allocations: 7.984 kB / 413.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.5129, allocations: 58.5 kB / 413.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.524, allocations: 4.731 MB / 418.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.5264, allocations: 1.019 MB / 419.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.5276, allocations: 0.5347 MB / 419.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.5277, allocations: 8.781 kB / 419.7 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.5289, allocations: 0.5745 MB / 420.2 MB, free: 3.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 6.813e-06/0.5289, allocations: 0 / 420.2 MB, free: 3.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.002318/0.5312, allocations: 0.9372 MB / 421.2 MB, free: 2.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.5314, allocations: 149.2 kB / 421.3 MB, free: 2.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.5328, allocations: 0.6714 MB / 422 MB, free: 1.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.5329, allocations: 49.67 kB / 422 MB, free: 1.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006397/0.5336, allocations: 0.599 MB / 422.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.5339, allocations: 232.7 kB / 422.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.534, allocations: 0 / 422.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.5342, allocations: 354.7 kB / 423.2 MB, free: 292 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2079/0.7421, allocations: 389.5 kB / 423.6 MB, free: 99.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.7433, allocations: 0.6029 MB / 424.2 MB, free: 99.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/0.7442, allocations: 419.9 kB / 424.6 MB, free: 99.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.7442, allocations: 2.281 kB / 424.6 MB, free: 99.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002223/0.7465, allocations: 1.072 MB / 425.7 MB, free: 99.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005237/0.747, allocations: 2.53 MB / 428.2 MB, free: 96.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.7471, allocations: 5.719 kB / 428.2 MB, free: 96.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007078/0.7478, allocations: 218.5 kB / 428.4 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.7486, allocations: 151.1 kB / 428.6 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.7522, allocations: 2.7 MB / 431.3 MB, free: 95.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7533, allocations: 139.2 kB / 431.4 MB, free: 95.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7535, allocations: 36.89 kB / 431.4 MB, free: 95.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7535, allocations: 4.188 kB / 431.4 MB, free: 95.32 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/0.7556, allocations: 0.9995 MB / 432.4 MB, free: 95.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.7556, allocations: 11.81 kB / 432.5 MB, free: 95.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.7562, allocations: 208.7 kB / 432.7 MB, free: 95.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.7569, allocations: 142.2 kB / 432.8 MB, free: 95.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.7604, allocations: 2.726 MB / 435.5 MB, free: 94.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.7612, allocations: 110.6 kB / 435.6 MB, free: 94.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.7614, allocations: 35.75 kB / 435.7 MB, free: 94.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003284/0.7617, allocations: 178.7 kB / 435.8 MB, free: 93.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.762, allocations: 90.16 kB / 435.9 MB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.7622, allocations: 99.66 kB / 436 MB, free: 93.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.7623, allocations: 8.281 kB / 436 MB, free: 93.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.943e-06/0.7623, allocations: 0.75 kB / 436 MB, free: 93.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.7623, allocations: 4.828 kB / 436 MB, free: 93.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/0.767, allocations: 2.304 MB / 438.3 MB, free: 93.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.559e-06/0.767, allocations: 3.906 kB / 438.3 MB, free: 93.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.7676, allocations: 76.95 kB / 438.4 MB, free: 93.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/0.7682, allocations: 196.4 kB / 438.6 MB, free: 93.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/0.7683, allocations: 11.5 kB / 438.6 MB, free: 93.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003455/0.7718, allocations: 2.637 MB / 441.3 MB, free: 91.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.318e-06/0.7718, allocations: 3.875 kB / 441.3 MB, free: 91.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.7746, allocations: 1.575 MB / 442.8 MB, free: 90.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/0.7753, allocations: 256.4 kB / 443.1 MB, free: 90.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.7755, allocations: 21.09 kB / 443.1 MB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007748/0.7763, allocations: 73.98 kB / 443.2 MB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.7767, allocations: 142.7 kB / 443.3 MB, free: 90.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/0.7767, allocations: 29.02 kB / 443.4 MB, free: 90.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008645/0.7776, allocations: 0.4983 MB / 443.8 MB, free: 90.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.7776, allocations: 3.031 kB / 443.9 MB, free: 90.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002217/0.7799, allocations: 0.5365 MB / 444.4 MB, free: 90.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002829/0.7802, allocations: 162 kB / 444.5 MB, free: 90.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003222/0.7834, allocations: 1.77 MB / 446.3 MB, free: 89.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.7835, allocations: 448 / 446.3 MB, free: 89.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.7847, allocations: 0.6582 MB / 447 MB, free: 89.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.7859, allocations: 161.7 kB / 447.1 MB, free: 89.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.7903, allocations: 1.925 MB / 449.1 MB, free: 88.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.7914, allocations: 1.381 MB / 450.4 MB, free: 87.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.7918, allocations: 65.34 kB / 450.5 MB, free: 87.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.827e-06/0.7918, allocations: 0 / 450.5 MB, free: 87.43 MB / 362.7 MB Notification: Performance of Templates: time 0.02996/0.8218, allocations: 21.22 MB / 471.7 MB, free: 75.32 MB / 362.7 MB