Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.746e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.0821, allocations: 47.57 MB / 317 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4238, allocations: 90.56 MB / 407.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4241, allocations: 88.62 kB / 407.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1074/0.5315, allocations: 28.62 MB / 436.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.436e-06/0.5315, allocations: 0 / 436.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.5316, allocations: 39.94 kB / 436.3 MB, free: 5.441 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003445/0.5351, allocations: 1.512 MB / 437.8 MB, free: 3.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5351, allocations: 8.031 kB / 437.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.5355, allocations: 158.1 kB / 437.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/0.5405, allocations: 1.637 MB / 439.6 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.5407, allocations: 106.6 kB / 439.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.5409, allocations: 126.3 kB / 439.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.5443, allocations: 1.657 MB / 441.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.5444, allocations: 7.938 kB / 441.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.5446, allocations: 54.05 kB / 441.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.59e-05/0.5447, allocations: 58.2 kB / 441.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.5475, allocations: 1.306 MB / 442.9 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0099/0.5574, allocations: 4.968 MB / 447.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.5598, allocations: 1.033 MB / 448.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.561, allocations: 0.5574 MB / 449.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.5611, allocations: 12.77 kB / 449.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.5623, allocations: 0.5825 MB / 450 MB, free: 10.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 4.587e-06/0.5623, allocations: 0 / 450 MB, free: 10.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.002268/0.5646, allocations: 0.9839 MB / 451 MB, free: 9.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.5647, allocations: 149.3 kB / 451.2 MB, free: 8.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.5661, allocations: 0.7693 MB / 451.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5663, allocations: 57.69 kB / 452 MB, free: 8.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.5669, allocations: 0.585 MB / 452.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.5672, allocations: 236.8 kB / 452.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.5673, allocations: 20 kB / 452.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5675, allocations: 349.9 kB / 453.2 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/0.5683, allocations: 405.8 kB / 453.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.5694, allocations: 0.6241 MB / 454.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.5704, allocations: 433.8 kB / 454.6 MB, free: 5.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5704, allocations: 3.938 kB / 454.6 MB, free: 5.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002511/0.5729, allocations: 1.187 MB / 455.8 MB, free: 4.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001376/0.5743, allocations: 2.535 MB / 458.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.5743, allocations: 8 kB / 458.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.575, allocations: 216.7 kB / 458.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.5758, allocations: 151.7 kB / 458.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.5801, allocations: 2.768 MB / 461.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009518/0.5811, allocations: 151.2 kB / 461.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.5812, allocations: 39.98 kB / 461.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.5812, allocations: 4 kB / 461.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002272/0.5835, allocations: 1.085 MB / 462.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5836, allocations: 12.84 kB / 462.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.5842, allocations: 220.8 kB / 463 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.5849, allocations: 139.7 kB / 463.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.5892, allocations: 2.761 MB / 465.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/0.5901, allocations: 143.3 kB / 466 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.5902, allocations: 32 kB / 466 MB, free: 9.348 MB / 378.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 (106): * Single equations (assignments): 105 * 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.0003336/0.5905, allocations: 204.8 kB / 466.2 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.5908, allocations: 94.86 kB / 466.3 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.5911, allocations: 109 kB / 466.4 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.5911, allocations: 11.95 kB / 466.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.049e-06/0.5911, allocations: 0 / 466.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.5911, allocations: 7.984 kB / 466.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.5965, allocations: 2.537 MB / 469 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.287e-06/0.5965, allocations: 0 / 469 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.597, allocations: 79.83 kB / 469.1 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006042/0.5976, allocations: 208.9 kB / 469.3 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.5977, allocations: 15.98 kB / 469.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004236/0.602, allocations: 2.732 MB / 472 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.984e-06/0.602, allocations: 0 / 472 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.6052, allocations: 1.637 MB / 473.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.6057, allocations: 263.8 kB / 473.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.6059, allocations: 23.98 kB / 473.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.6067, allocations: 87.92 kB / 474 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.6071, allocations: 148.5 kB / 474.2 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.6072, allocations: 24 kB / 474.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.6083, allocations: 0.585 MB / 474.8 MB, free: 332 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.6083, allocations: 0 / 474.8 MB, free: 332 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002033/0.6104, allocations: 0.5761 MB / 475.4 MB, free: 15.75 MB / 394.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[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.0003028/0.6107, allocations: 172.6 kB / 475.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.6144, allocations: 1.849 MB / 477.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.272e-06/0.6144, allocations: 4 kB / 477.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.6157, allocations: 0.6816 MB / 478.1 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.6168, allocations: 187.8 kB / 478.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.6213, allocations: 1.959 MB / 480.2 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.6228, allocations: 1.405 MB / 481.6 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001544/0.6244, allocations: 427 kB / 482 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.6246, allocations: 51.44 kB / 482.1 MB, free: 8.918 MB / 394.7 MB Notification: Performance of SimCode: time 1.602e-06/0.6246, allocations: 0 / 482.1 MB, free: 8.918 MB / 394.7 MB Notification: Performance of Templates: time 0.04085/0.6655, allocations: 16.58 MB / 498.7 MB, free: 8.402 MB / 410.7 MB