Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.059e-05, allocations: 6.812 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4923, allocations: 93.57 MB / 436.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.4927, allocations: 80.64 kB / 436.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1449/0.6376, allocations: 37.95 MB / 474.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.714e-06/0.6377, allocations: 0 / 474.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001698/0.6379, allocations: 55.92 kB / 474.2 MB, free: 14.87 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.00532/0.6432, allocations: 1.985 MB / 476.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6433, allocations: 12.03 kB / 476.2 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007956/0.6441, allocations: 229.4 kB / 476.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007434/0.6515, allocations: 2.093 MB / 478.5 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.6517, allocations: 147.4 kB / 478.7 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/0.6522, allocations: 176 kB / 478.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005935/0.6581, allocations: 2.384 MB / 481.2 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/0.6582, allocations: 3.938 kB / 481.2 MB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.6585, allocations: 72 kB / 481.3 MB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.6586, allocations: 75.48 kB / 481.4 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/0.6634, allocations: 1.936 MB / 483.3 MB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.6796, allocations: 6.946 MB / 490.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.6837, allocations: 1.555 MB / 491.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004664/0.6884, allocations: 1.165 MB / 493 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.6886, allocations: 13 kB / 493 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003285/0.6919, allocations: 0.8899 MB / 493.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 9.379e-06/0.692, allocations: 0 / 493.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.006909/0.6989, allocations: 1.68 MB / 495.6 MB, free: 9.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/0.6992, allocations: 183.2 kB / 495.8 MB, free: 8.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.7031, allocations: 1.075 MB / 496.8 MB, free: 7.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000443/0.7036, allocations: 77.67 kB / 496.9 MB, free: 7.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.7051, allocations: 0.7573 MB / 497.7 MB, free: 6.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/0.706, allocations: 374.9 kB / 498 MB, free: 6.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.7062, allocations: 28 kB / 498.1 MB, free: 6.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003281/0.7066, allocations: 361.9 kB / 498.4 MB, free: 6.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.7092, allocations: 0.6598 MB / 499.1 MB, free: 5.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.7124, allocations: 0.93 MB / 500 MB, free: 4.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.7153, allocations: 0.7036 MB / 0.489 GB, free: 3.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-05/0.7153, allocations: 7.984 kB / 0.489 GB, free: 3.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.008695/0.7241, allocations: 1.976 MB / 0.4909 GB, free: 1.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00259/0.7267, allocations: 2.446 MB / 0.4933 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.7268, allocations: 11.98 kB / 0.4933 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/0.7303, allocations: 0.5119 MB / 0.4938 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.7323, allocations: 175.7 kB / 0.494 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.7435, allocations: 5.543 MB / 0.4994 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.7451, allocations: 195 kB / 0.4996 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.7453, allocations: 47.98 kB / 0.4996 GB, free: 8.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7454, allocations: 4 kB / 0.4996 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004078/0.7495, allocations: 1.835 MB / 0.5014 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.7495, allocations: 11.88 kB / 0.5014 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.7512, allocations: 0.513 MB / 0.5019 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.7521, allocations: 167.7 kB / 0.5021 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.7628, allocations: 5.52 MB / 0.5075 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7643, allocations: 167.2 kB / 0.5076 GB, free: 228 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.7646, allocations: 48 kB / 0.5077 GB, free: 180 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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,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 (135): * Single equations (assignments): 134 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005552/0.7651, allocations: 241.5 kB / 0.5079 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/0.7655, allocations: 142.3 kB / 0.508 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004868/0.766, allocations: 173.5 kB / 0.5082 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.7661, allocations: 12 kB / 0.5082 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.871e-06/0.7661, allocations: 0 / 0.5082 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.7661, allocations: 3.984 kB / 0.5082 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/0.7751, allocations: 3.807 MB / 0.5119 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.7752, allocations: 7.984 kB / 0.512 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.7758, allocations: 99.83 kB / 0.512 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.7774, allocations: 496.6 kB / 0.5125 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.7776, allocations: 27.98 kB / 0.5125 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.7879, allocations: 5.415 MB / 0.5178 GB, free: 5.562 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.7879, allocations: 3.938 kB / 0.5178 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005472/0.7934, allocations: 2.639 MB / 0.5204 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009837/0.7944, allocations: 379.2 kB / 0.5208 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.7947, allocations: 43.98 kB / 0.5208 GB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.7958, allocations: 107.9 kB / 0.5209 GB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006607/0.7964, allocations: 228.6 kB / 0.5211 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.7966, allocations: 40.11 kB / 0.5212 GB, free: 2.098 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001689/0.7983, allocations: 0.8088 MB / 0.522 GB, free: 1.277 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7983, allocations: 0 / 0.522 GB, free: 1.277 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002958/0.8013, allocations: 0.8683 MB / 0.5228 GB, free: 416 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[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,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: 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[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004116/0.8017, allocations: 213.3 kB / 0.523 GB, free: 200 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2382/1.04, allocations: 3.062 MB / 0.526 GB, free: 129.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.316e-06/1.04, allocations: 4.125 kB / 0.526 GB, free: 129.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/1.042, allocations: 1.061 MB / 0.5271 GB, free: 128.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/1.044, allocations: 319.7 kB / 0.5274 GB, free: 128.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/1.05, allocations: 2.853 MB / 0.5301 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.052, allocations: 1.751 MB / 0.5319 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0024/1.055, allocations: 0.6183 MB / 0.5325 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.055, allocations: 74.88 kB / 0.5325 GB, free: 127.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.503e-06/1.055, allocations: 0 / 0.5325 GB, free: 127.6 MB / 442.7 MB Notification: Performance of Templates: time 0.06578/1.121, allocations: 30.28 MB / 0.5621 GB, free: 124.4 MB / 442.7 MB