Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.6e-05, allocations: 4 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08828, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4602, allocations: 93.63 MB / 436.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.4605, allocations: 81.64 kB / 436.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1462/0.6068, allocations: 38.74 MB / 475 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6068, allocations: 0 / 475 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001574/0.607, allocations: 51.94 kB / 475.1 MB, free: 14.04 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.005309/0.6123, allocations: 2.075 MB / 477.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6124, allocations: 8.031 kB / 477.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007888/0.6132, allocations: 237.2 kB / 477.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007204/0.6204, allocations: 2.012 MB / 479.4 MB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.6206, allocations: 143.5 kB / 479.5 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.621, allocations: 184 kB / 479.7 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006005/0.627, allocations: 2.411 MB / 482.1 MB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/0.6271, allocations: 3.938 kB / 482.1 MB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.6274, allocations: 79.98 kB / 482.2 MB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.6275, allocations: 75.56 kB / 482.3 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/0.6329, allocations: 2.018 MB / 484.3 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.651, allocations: 7.514 MB / 491.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.6544, allocations: 1.52 MB / 493.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.6566, allocations: 0.9446 MB / 494.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-05/0.6567, allocations: 12.98 kB / 494.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00196/0.6587, allocations: 0.8772 MB / 495.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.656e-06/0.6587, allocations: 0 / 495.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.003894/0.6626, allocations: 1.556 MB / 496.7 MB, free: 7.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.6628, allocations: 153.5 kB / 496.9 MB, free: 7.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.6655, allocations: 1.153 MB / 498 MB, free: 6.598 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.6658, allocations: 69.69 kB / 498.1 MB, free: 6.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.6668, allocations: 0.7967 MB / 498.9 MB, free: 5.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.6674, allocations: 359 kB / 499.2 MB, free: 5.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6675, allocations: 24 kB / 499.3 MB, free: 5.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.6677, allocations: 353.9 kB / 499.6 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.6693, allocations: 0.6195 MB / 0.4885 GB, free: 4.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.671, allocations: 0.838 MB / 0.4893 GB, free: 3.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.6726, allocations: 0.6412 MB / 0.49 GB, free: 2.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.901e-06/0.6726, allocations: 4 kB / 0.49 GB, free: 2.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00436/0.677, allocations: 1.79 MB / 0.4917 GB, free: 1.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00111/0.6781, allocations: 1.946 MB / 0.4936 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.6782, allocations: 8 kB / 0.4936 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.6796, allocations: 433.7 kB / 0.494 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.6808, allocations: 183.7 kB / 0.4942 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008595/0.6894, allocations: 4.399 MB / 0.4985 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.6909, allocations: 183.1 kB / 0.4987 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.6911, allocations: 39.98 kB / 0.4987 GB, free: 9.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6911, allocations: 4 kB / 0.4987 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004042/0.6952, allocations: 1.648 MB / 0.5003 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.6952, allocations: 4.625 kB / 0.5003 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.6966, allocations: 428.1 kB / 0.5007 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.6977, allocations: 183.6 kB / 0.5009 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008542/0.7063, allocations: 4.418 MB / 0.5052 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.7077, allocations: 167.2 kB / 0.5054 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.7079, allocations: 40 kB / 0.5054 GB, free: 2.551 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 (128): * Single equations (assignments): 127 * 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.0004648/0.7084, allocations: 224.8 kB / 0.5056 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.7087, allocations: 142.3 kB / 0.5058 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.7092, allocations: 169.3 kB / 0.5059 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.7093, allocations: 12 kB / 0.5059 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7093, allocations: 7.938 kB / 0.506 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.7093, allocations: 3.984 kB / 0.506 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009104/0.7184, allocations: 3.752 MB / 0.5096 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.112e-06/0.7185, allocations: 0 / 0.5096 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.7193, allocations: 127.8 kB / 0.5097 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.7207, allocations: 404.5 kB / 0.5101 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.7208, allocations: 23.98 kB / 0.5101 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008502/0.7293, allocations: 4.328 MB / 0.5144 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.802e-06/0.7294, allocations: 0 / 0.5144 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006031/0.7354, allocations: 2.611 MB / 0.5169 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7366, allocations: 371.2 kB / 0.5173 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.7369, allocations: 35.98 kB / 0.5173 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.738, allocations: 111.9 kB / 0.5174 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006725/0.7387, allocations: 228.7 kB / 0.5176 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.7388, allocations: 35.98 kB / 0.5177 GB, free: 5.758 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002004/0.7408, allocations: 0.8773 MB / 0.5185 GB, free: 4.871 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.7408, allocations: 0 / 0.5185 GB, free: 4.871 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002875/0.7437, allocations: 0.8718 MB / 0.5194 GB, free: 3.996 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[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * 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.0003881/0.7441, allocations: 200.2 kB / 0.5196 GB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006523/0.7507, allocations: 2.832 MB / 0.5223 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.416e-06/0.7507, allocations: 4.062 kB / 0.5223 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2332/0.984, allocations: 0.9941 MB / 0.5233 GB, free: 128.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.9859, allocations: 304.7 kB / 0.5236 GB, free: 128.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007659/0.9936, allocations: 2.973 MB / 0.5265 GB, free: 127.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.9958, allocations: 1.797 MB / 0.5283 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002937/0.9988, allocations: 0.6494 MB / 0.5289 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.9991, allocations: 69.69 kB / 0.529 GB, free: 127.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.711e-06/0.9991, allocations: 0 / 0.529 GB, free: 127.2 MB / 442.7 MB Notification: Performance of Templates: time 0.06331/1.062, allocations: 27.29 MB / 0.5556 GB, free: 125.9 MB / 442.7 MB