Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.816e-05, allocations: 2.812 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09408, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.4707, allocations: 93.39 MB / 436 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.471, allocations: 84.39 kB / 436 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1477/0.6187, allocations: 38.44 MB / 474.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.807e-06/0.6187, allocations: 0 / 474.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001932/0.619, allocations: 51.92 kB / 474.5 MB, free: 14.89 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: 456 * Number of variables: 456 Notification: Performance of Generate backend data structure: time 0.006107/0.6251, allocations: 2.058 MB / 476.6 MB, free: 12.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6251, allocations: 8.031 kB / 476.6 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000821/0.626, allocations: 237.6 kB / 476.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006993/0.633, allocations: 2.004 MB / 478.8 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.6332, allocations: 143.5 kB / 479 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005702/0.6338, allocations: 176 kB / 479.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006142/0.64, allocations: 2.395 MB / 481.5 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.417e-05/0.6401, allocations: 0 / 481.5 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.6404, allocations: 79.98 kB / 481.6 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.6405, allocations: 75.52 kB / 481.7 MB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005214/0.6458, allocations: 2.01 MB / 483.7 MB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.6634, allocations: 7.47 MB / 491.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.6666, allocations: 1.507 MB / 492.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.6687, allocations: 0.9433 MB / 493.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-05/0.6689, allocations: 17 kB / 493.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.6708, allocations: 0.8732 MB / 494.5 MB, free: 10.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 5.568e-06/0.6708, allocations: 7.938 kB / 494.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.003656/0.6745, allocations: 1.544 MB / 496.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.6747, allocations: 157.5 kB / 496.2 MB, free: 8.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.6772, allocations: 1.14 MB / 497.4 MB, free: 7.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.6775, allocations: 65.69 kB / 497.4 MB, free: 7.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009559/0.6785, allocations: 0.7672 MB / 498.2 MB, free: 6.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005903/0.6791, allocations: 355.1 kB / 498.5 MB, free: 6.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.6792, allocations: 24 kB / 498.6 MB, free: 6.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.6795, allocations: 362.8 kB / 498.9 MB, free: 5.996 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.6809, allocations: 0.6155 MB / 499.5 MB, free: 5.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.6826, allocations: 0.8292 MB / 0.4886 GB, free: 4.473 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.6842, allocations: 0.6451 MB / 0.4893 GB, free: 3.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.064e-06/0.6842, allocations: 0 / 0.4893 GB, free: 3.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003942/0.6882, allocations: 1.7 MB / 0.4909 GB, free: 2.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.6893, allocations: 1.931 MB / 0.4928 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.6894, allocations: 4 kB / 0.4928 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.6909, allocations: 434.6 kB / 0.4932 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.6921, allocations: 191.7 kB / 0.4934 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008298/0.7004, allocations: 4.39 MB / 0.4977 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.702, allocations: 187.1 kB / 0.4979 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.7022, allocations: 43.98 kB / 0.4979 GB, free: 10.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7022, allocations: 4 kB / 0.4979 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00371/0.7059, allocations: 1.644 MB / 0.4995 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.706, allocations: 8 kB / 0.4995 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.7073, allocations: 420.7 kB / 0.4999 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.7084, allocations: 187.9 kB / 0.5001 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008152/0.7166, allocations: 4.454 MB / 0.5045 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.7176, allocations: 155.3 kB / 0.5046 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.7178, allocations: 43.98 kB / 0.5046 GB, free: 3.633 MB / 426.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_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,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 (127): * Single equations (assignments): 126 * 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.0004615/0.7183, allocations: 216.8 kB / 0.5049 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.7187, allocations: 138.3 kB / 0.505 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.7192, allocations: 177.1 kB / 0.5052 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.7192, allocations: 12 kB / 0.5052 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.7193, allocations: 0 / 0.5052 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.7193, allocations: 11.97 kB / 0.5052 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008908/0.7282, allocations: 3.736 MB / 0.5088 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.366e-06/0.7283, allocations: 0 / 0.5088 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009011/0.7292, allocations: 127.8 kB / 0.5089 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.7305, allocations: 404.2 kB / 0.5093 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.7307, allocations: 23.95 kB / 0.5094 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008235/0.739, allocations: 4.337 MB / 0.5136 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.231e-06/0.739, allocations: 4 kB / 0.5136 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/0.7447, allocations: 2.591 MB / 0.5161 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.7459, allocations: 379.1 kB / 0.5165 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.7461, allocations: 32 kB / 0.5165 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.7473, allocations: 111.9 kB / 0.5166 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006733/0.748, allocations: 224.6 kB / 0.5168 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.7481, allocations: 32.08 kB / 0.5169 GB, free: 6.871 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001846/0.75, allocations: 0.873 MB / 0.5177 GB, free: 5.988 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.045e-06/0.75, allocations: 0 / 0.5177 GB, free: 5.988 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003052/0.7531, allocations: 0.8563 MB / 0.5186 GB, free: 5.129 MB / 442.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_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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.0004137/0.7535, allocations: 202.8 kB / 0.5188 GB, free: 4.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006096/0.7596, allocations: 2.777 MB / 0.5215 GB, free: 2.125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.7597, allocations: 4.781 kB / 0.5215 GB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.7619, allocations: 0.9973 MB / 0.5224 GB, free: 1.117 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.7637, allocations: 310.9 kB / 0.5227 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2817/1.045, allocations: 2.925 MB / 0.5256 GB, free: 127.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/1.047, allocations: 1.753 MB / 0.5273 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/1.048, allocations: 94.95 kB / 0.5274 GB, free: 127 MB / 442.7 MB Notification: Performance of SimCode: time 1.903e-06/1.048, allocations: 0 / 0.5274 GB, free: 127 MB / 442.7 MB Notification: Performance of Templates: time 0.05584/1.104, allocations: 31.9 MB / 0.5585 GB, free: 123.4 MB / 442.7 MB