Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.991e-05, allocations: 4 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07682/0.07688, allocations: 44.5 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.421, allocations: 86.35 MB / 386.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4213, allocations: 85.08 kB / 386.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1268/0.5481, allocations: 35.77 MB / 422.1 MB, free: 9.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.242e-06/0.5481, allocations: 0 / 422.1 MB, free: 9.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000163/0.5483, allocations: 58.92 kB / 422.1 MB, free: 9.383 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.005193/0.5535, allocations: 1.976 MB / 424.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5536, allocations: 11.75 kB / 424.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.5544, allocations: 226.7 kB / 424.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006383/0.5608, allocations: 1.966 MB / 426.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.561, allocations: 137.3 kB / 426.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.5613, allocations: 165.5 kB / 426.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00497/0.5663, allocations: 2.324 MB / 428.9 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.5664, allocations: 7.844 kB / 428.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002369/0.5667, allocations: 72.48 kB / 429 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.468e-05/0.5668, allocations: 68.69 kB / 429.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/0.5714, allocations: 1.943 MB / 431 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.5862, allocations: 7.253 MB / 438.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.5896, allocations: 1.612 MB / 439.9 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.5916, allocations: 0.8927 MB / 440.8 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.349e-05/0.5917, allocations: 16.98 kB / 440.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.5936, allocations: 0.8303 MB / 441.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.159e-06/0.5937, allocations: 0 / 441.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.003714/0.5974, allocations: 1.481 MB / 443.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.5975, allocations: 127.8 kB / 443.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.6001, allocations: 1.096 MB / 444.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.6004, allocations: 65.69 kB / 444.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009876/0.6014, allocations: 0.7477 MB / 445.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005761/0.602, allocations: 339.3 kB / 445.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.6021, allocations: 20 kB / 445.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.6024, allocations: 362.8 kB / 445.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.6037, allocations: 0.5921 MB / 446.4 MB, free: 9.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.6053, allocations: 0.7849 MB / 447.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.6067, allocations: 0.6139 MB / 447.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.351e-06/0.6068, allocations: 0 / 447.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003668/0.6104, allocations: 1.623 MB / 449.5 MB, free: 6.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.6116, allocations: 1.928 MB / 451.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.6116, allocations: 8 kB / 451.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.613, allocations: 423.2 kB / 451.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.6142, allocations: 179.7 kB / 452 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.6227, allocations: 4.399 MB / 456.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.6241, allocations: 179.1 kB / 456.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.6243, allocations: 40 kB / 456.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6244, allocations: 4 kB / 456.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003665/0.628, allocations: 1.57 MB / 458.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.6281, allocations: 8 kB / 458.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.6294, allocations: 421.2 kB / 458.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.6304, allocations: 171.7 kB / 458.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008277/0.6387, allocations: 4.444 MB / 463.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.6398, allocations: 159.3 kB / 463.4 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.6399, allocations: 44.12 kB / 463.4 MB, free: 8.316 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004732/0.6404, allocations: 216.6 kB / 463.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.6409, allocations: 134.4 kB / 463.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.6414, allocations: 168.7 kB / 463.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.6414, allocations: 8 kB / 463.9 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.6414, allocations: 8 kB / 463.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.6415, allocations: 7.984 kB / 463.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/0.6498, allocations: 3.563 MB / 467.5 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.6499, allocations: 3.953 kB / 467.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/0.6507, allocations: 119.8 kB / 467.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.652, allocations: 400.8 kB / 468 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.6521, allocations: 19.98 kB / 468 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.6656, allocations: 4.319 MB / 472.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-06/0.6657, allocations: 4 kB / 472.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.6723, allocations: 2.47 MB / 474.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.6735, allocations: 367.2 kB / 475.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.6738, allocations: 35.92 kB / 475.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009975/0.6748, allocations: 107.9 kB / 475.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006907/0.6755, allocations: 228.6 kB / 475.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6756, allocations: 35.98 kB / 475.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001857/0.6775, allocations: 0.8445 MB / 476.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.6775, allocations: 0 / 476.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002924/0.6805, allocations: 0.8332 MB / 477.3 MB, free: 10.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 77 * 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003792/0.6809, allocations: 176.5 kB / 477.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006182/0.6871, allocations: 2.685 MB / 480.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.6871, allocations: 0.7812 kB / 480.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.6892, allocations: 0.9574 MB / 481.1 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.691, allocations: 284.5 kB / 481.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/0.6984, allocations: 2.836 MB / 484.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/0.7006, allocations: 1.716 MB / 485.9 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.7011, allocations: 91.36 kB / 486 MB, free: 1.363 MB / 362.7 MB Notification: Performance of SimCode: time 1.917e-06/0.7012, allocations: 0 / 486 MB, free: 1.363 MB / 362.7 MB Notification: Performance of Templates: time 0.05409/0.7553, allocations: 30.72 MB / 0.5046 GB, free: 2.621 MB / 394.7 MB