Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.281e-05/4.279e-05, allocations: 0 / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09572, allocations: 50.41 MB / 343.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3974/0.4931, allocations: 91.96 MB / 435.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4934, allocations: 88.91 kB / 435.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.11/0.6034, allocations: 30.9 MB / 466 MB, free: 3.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.837e-06/0.6035, allocations: 0 / 466 MB, free: 3.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001022/0.6036, allocations: 36 kB / 466.1 MB, free: 3.656 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003598/0.6072, allocations: 1.591 MB / 467.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6073, allocations: 8.031 kB / 467.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.6077, allocations: 169.9 kB / 467.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.6129, allocations: 1.68 MB / 469.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.613, allocations: 110.4 kB / 469.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.6133, allocations: 133.9 kB / 469.8 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/0.617, allocations: 1.76 MB / 471.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.617, allocations: 0 / 471.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.6172, allocations: 56 kB / 471.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.789e-05/0.6173, allocations: 57.8 kB / 471.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.6203, allocations: 1.394 MB / 473 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.6308, allocations: 5.21 MB / 478.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.6331, allocations: 1.049 MB / 479.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.6344, allocations: 0.5927 MB / 479.9 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.768e-05/0.6345, allocations: 12.77 kB / 479.9 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/0.6358, allocations: 0.6253 MB / 480.5 MB, free: 7.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=88): time 4.519e-06/0.6358, allocations: 0 / 480.5 MB, free: 7.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.002357/0.6382, allocations: 1.027 MB / 481.5 MB, free: 6.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.6384, allocations: 183 kB / 481.7 MB, free: 6.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.64, allocations: 0.8087 MB / 482.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.6402, allocations: 65.67 kB / 482.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/0.6409, allocations: 0.6085 MB / 483.2 MB, free: 5.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.6413, allocations: 264.3 kB / 483.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.6414, allocations: 20 kB / 483.5 MB, free: 4.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.6416, allocations: 345.9 kB / 483.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009443/0.6425, allocations: 437.8 kB / 484.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.6437, allocations: 0.6641 MB / 484.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/0.6447, allocations: 484.7 kB / 485.4 MB, free: 2.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.99e-06/0.6447, allocations: 0 / 485.4 MB, free: 2.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002802/0.6475, allocations: 1.273 MB / 486.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001423/0.649, allocations: 2.535 MB / 489.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.649, allocations: 4 kB / 489.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.6498, allocations: 224.6 kB / 489.4 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008639/0.6507, allocations: 163.7 kB / 489.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.6552, allocations: 2.756 MB / 492.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.6564, allocations: 163.2 kB / 492.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6565, allocations: 40 kB / 492.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6565, allocations: 7.953 kB / 492.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002552/0.6591, allocations: 1.155 MB / 493.7 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.6591, allocations: 4 kB / 493.7 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.6598, allocations: 225.1 kB / 493.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.6606, allocations: 156.1 kB / 494.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004403/0.665, allocations: 2.772 MB / 496.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.6661, allocations: 135.4 kB / 497 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.6663, allocations: 32 kB / 497 MB, free: 6.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006423/0.667, allocations: 204.8 kB / 497.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/0.6674, allocations: 98.78 kB / 497.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.6679, allocations: 125.9 kB / 497.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.668, allocations: 8 kB / 497.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.668, allocations: 0 / 497.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.668, allocations: 15.92 kB / 497.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.6794, allocations: 2.709 MB / 0.4884 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.6795, allocations: 0 / 0.4884 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.6809, allocations: 87.83 kB / 0.4885 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.6824, allocations: 204.7 kB / 0.4887 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.6826, allocations: 16 kB / 0.4887 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.6872, allocations: 2.728 MB / 0.4914 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.745e-06/0.6872, allocations: 3.984 kB / 0.4914 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.6909, allocations: 1.77 MB / 0.4931 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/0.6915, allocations: 283.8 kB / 0.4934 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.6918, allocations: 27.98 kB / 0.4934 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.6926, allocations: 87.92 kB / 0.4935 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004102/0.693, allocations: 140.6 kB / 0.4936 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/0.6931, allocations: 27.98 kB / 0.4937 GB, free: 13.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001256/0.6944, allocations: 0.6162 MB / 0.4943 GB, free: 13.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.83e-07/0.6944, allocations: 4 kB / 0.4943 GB, free: 13.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002128/0.6966, allocations: 0.615 MB / 0.4949 GB, free: 12.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 66 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/0.6969, allocations: 178.2 kB / 0.495 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003888/0.7008, allocations: 1.955 MB / 0.497 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.832e-06/0.7008, allocations: 0 / 0.497 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.7023, allocations: 0.7235 MB / 0.4977 GB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7034, allocations: 209.3 kB / 0.4979 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.7082, allocations: 2.077 MB / 0.4999 GB, free: 7.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.7098, allocations: 1.449 MB / 0.5013 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001698/0.7115, allocations: 471.4 kB / 0.5018 GB, free: 5.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.7117, allocations: 63.36 kB / 0.5018 GB, free: 5.473 MB / 394.7 MB Notification: Performance of SimCode: time 1.677e-06/0.7117, allocations: 0 / 0.5018 GB, free: 5.473 MB / 394.7 MB Notification: Performance of Templates: time 0.0438/0.7555, allocations: 17.3 MB / 0.5187 GB, free: 4.32 MB / 410.7 MB