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_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(Modelica): time 1.852/1.852, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.853e-05, allocations: 2.375 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.0801, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4332, allocations: 86.79 MB / 386.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4335, allocations: 87.06 kB / 386.7 MB, free: 20.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1259/0.5595, allocations: 35.49 MB / 422.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.253e-06/0.5595, allocations: 0 / 422.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001657/0.5597, allocations: 51 kB / 422.3 MB, free: 9.258 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.005116/0.5648, allocations: 1.919 MB / 424.2 MB, free: 8.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5649, allocations: 15.7 kB / 424.2 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/0.5658, allocations: 222.4 kB / 424.4 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/0.5723, allocations: 2.053 MB / 426.5 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.5725, allocations: 137.9 kB / 426.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.5729, allocations: 172.3 kB / 426.8 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005291/0.5782, allocations: 2.319 MB / 429.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.5783, allocations: 3.875 kB / 429.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.5786, allocations: 79.73 kB / 429.2 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.592e-05/0.5787, allocations: 75.73 kB / 429.2 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00416/0.5828, allocations: 1.881 MB / 431.1 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.5972, allocations: 6.734 MB / 437.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.6007, allocations: 1.68 MB / 439.5 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.6031, allocations: 1.121 MB / 440.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-05/0.6032, allocations: 13 kB / 440.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001963/0.6052, allocations: 0.8567 MB / 441.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 4.947e-06/0.6052, allocations: 3.938 kB / 441.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.004088/0.6093, allocations: 1.64 MB / 443.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.6095, allocations: 149.5 kB / 443.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.6119, allocations: 1.034 MB / 444.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003312/0.6122, allocations: 77.67 kB / 444.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000928/0.6132, allocations: 0.7244 MB / 445.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/0.6137, allocations: 355.2 kB / 445.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.6139, allocations: 28 kB / 445.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.6141, allocations: 366.7 kB / 445.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.6155, allocations: 0.6312 MB / 446.5 MB, free: 9.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.6173, allocations: 0.8951 MB / 447.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.6188, allocations: 0.6685 MB / 448.1 MB, free: 8.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.6188, allocations: 4 kB / 448.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004215/0.6231, allocations: 1.848 MB / 449.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001427/0.6245, allocations: 2.448 MB / 452.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.6246, allocations: 4 kB / 452.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/0.6265, allocations: 0.5237 MB / 452.9 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/0.6276, allocations: 167.7 kB / 453.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.6386, allocations: 5.485 MB / 458.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.6401, allocations: 187 kB / 458.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.6403, allocations: 48 kB / 458.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6403, allocations: 4 kB / 458.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003968/0.6443, allocations: 1.781 MB / 460.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.6444, allocations: 8 kB / 460.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.6459, allocations: 0.5168 MB / 461.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/0.6469, allocations: 159.7 kB / 461.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.658, allocations: 5.552 MB / 466.8 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.6598, allocations: 159.3 kB / 467 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.6601, allocations: 48 kB / 467 MB, free: 4.73 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (129): * Single equations (assignments): 128 * 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.0008797/0.661, allocations: 237.3 kB / 467.2 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006981/0.6617, allocations: 126.4 kB / 467.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.6625, allocations: 164.5 kB / 467.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.6625, allocations: 12 kB / 467.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.6625, allocations: 3.953 kB / 467.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.6626, allocations: 11.97 kB / 467.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.6777, allocations: 3.653 MB / 471.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.6778, allocations: 0 / 471.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.679, allocations: 91.81 kB / 471.3 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003079/0.6821, allocations: 488.3 kB / 471.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000318/0.6825, allocations: 27.98 kB / 471.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/0.7021, allocations: 5.406 MB / 477.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7022, allocations: 0 / 477.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00994/0.7122, allocations: 2.525 MB / 479.7 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.7134, allocations: 359.3 kB / 480.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00043/0.7138, allocations: 39.98 kB / 480.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.715, allocations: 107.8 kB / 480.2 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007439/0.7158, allocations: 232.6 kB / 480.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.7159, allocations: 35.98 kB / 480.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001891/0.7179, allocations: 0.7765 MB / 481.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.139e-06/0.7179, allocations: 0 / 481.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003455/0.7214, allocations: 0.841 MB / 482.1 MB, free: 5.355 MB / 362.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,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: 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_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * 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.0004349/0.7218, allocations: 205.5 kB / 482.3 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007212/0.7291, allocations: 2.988 MB / 485.3 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/0.7291, allocations: 0.5625 kB / 485.3 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.7317, allocations: 1.036 MB / 486.3 MB, free: 1.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.7339, allocations: 304.7 kB / 486.6 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/0.7417, allocations: 2.744 MB / 489.4 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.7439, allocations: 1.684 MB / 491.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.7444, allocations: 91.36 kB / 491.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-05/0.7445, allocations: 0 / 491.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of Templates: time 0.2707/1.015, allocations: 30.59 MB / 0.5095 GB, free: 108.6 MB / 394.7 MB