Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_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.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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.22e-05, allocations: 0 / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08363, allocations: 47.57 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4276, allocations: 91.67 MB / 408.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.4279, allocations: 90 kB / 408.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1345/0.5624, allocations: 35.99 MB / 444.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.935e-06/0.5625, allocations: 4 kB / 444.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.5626, allocations: 44 kB / 444.7 MB, free: 13.99 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004879/0.5675, allocations: 1.978 MB / 446.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5676, allocations: 8.031 kB / 446.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005409/0.5682, allocations: 225.3 kB / 446.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006245/0.5744, allocations: 1.954 MB / 448.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.5746, allocations: 137.5 kB / 449 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004062/0.575, allocations: 167.3 kB / 449.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005008/0.5801, allocations: 2.303 MB / 451.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.5801, allocations: 0 / 451.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.5804, allocations: 78.75 kB / 451.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.5805, allocations: 75.34 kB / 451.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.5851, allocations: 1.935 MB / 453.6 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.6004, allocations: 7.184 MB / 460.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.604, allocations: 1.582 MB / 462.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.6059, allocations: 0.8963 MB / 463.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.309e-05/0.606, allocations: 12.98 kB / 463.3 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.6077, allocations: 0.8304 MB / 464.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 7.589e-06/0.6078, allocations: 0 / 464.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.003359/0.6111, allocations: 1.47 MB / 465.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6113, allocations: 123.8 kB / 465.7 MB, free: 10.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.6135, allocations: 1.104 MB / 466.8 MB, free: 9.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.6137, allocations: 69.67 kB / 466.9 MB, free: 8.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009048/0.6146, allocations: 0.7651 MB / 467.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.615, allocations: 327.5 kB / 467.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.6151, allocations: 24 kB / 468 MB, free: 7.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.6154, allocations: 349.9 kB / 468.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.6167, allocations: 0.5843 MB / 468.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.6182, allocations: 0.7849 MB / 469.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.6195, allocations: 0.6021 MB / 470.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.376e-06/0.6195, allocations: 0 / 470.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003753/0.6233, allocations: 1.696 MB / 472 MB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001075/0.6244, allocations: 1.933 MB / 473.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.6244, allocations: 4 kB / 473.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.6258, allocations: 427.2 kB / 474.3 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/0.6268, allocations: 183.6 kB / 474.5 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007934/0.6347, allocations: 4.369 MB / 478.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.636, allocations: 171.2 kB / 479 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.6362, allocations: 40 kB / 479.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.6362, allocations: 4 kB / 479.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003467/0.6397, allocations: 1.567 MB / 480.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.6397, allocations: 4 kB / 480.7 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.641, allocations: 432.6 kB / 481.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00085/0.6419, allocations: 168 kB / 481.2 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.6499, allocations: 4.365 MB / 485.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.6511, allocations: 159.3 kB / 485.8 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.6512, allocations: 40 kB / 485.8 MB, free: 5.5 MB / 394.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004139/0.6517, allocations: 212.8 kB / 486 MB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.652, allocations: 134.4 kB / 486.1 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.6524, allocations: 168.6 kB / 486.3 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.6525, allocations: 8 kB / 486.3 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.851e-06/0.6525, allocations: 0 / 486.3 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.6525, allocations: 7.969 kB / 486.3 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007784/0.6603, allocations: 3.555 MB / 489.9 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.189e-06/0.6603, allocations: 0 / 489.9 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.661, allocations: 111.8 kB / 490 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.6623, allocations: 400.8 kB / 490.4 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.6624, allocations: 23.98 kB / 490.4 MB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/0.67, allocations: 4.152 MB / 494.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.366e-06/0.67, allocations: 4 kB / 494.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/0.6751, allocations: 2.443 MB / 497 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/0.6759, allocations: 375.2 kB / 497.4 MB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.6762, allocations: 31.98 kB / 497.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.6771, allocations: 107.9 kB / 497.5 MB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006394/0.6778, allocations: 220.6 kB / 497.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6779, allocations: 39.92 kB / 497.8 MB, free: 9.297 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001719/0.6797, allocations: 0.8367 MB / 498.6 MB, free: 8.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.371e-06/0.6797, allocations: 4 kB / 498.6 MB, free: 8.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002539/0.6822, allocations: 0.8382 MB / 499.4 MB, free: 7.605 MB / 410.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: 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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003463/0.6826, allocations: 184.3 kB / 499.6 MB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005764/0.6884, allocations: 2.723 MB / 0.4906 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.611e-06/0.6884, allocations: 0 / 0.4906 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.6904, allocations: 0.9703 MB / 0.4915 GB, free: 3.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.692, allocations: 305 kB / 0.4918 GB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008077/0.7001, allocations: 3.116 MB / 0.4948 GB, free: 248 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/0.7022, allocations: 1.738 MB / 0.4965 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002264/0.7045, allocations: 0.603 MB / 0.4971 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.7048, allocations: 71.42 kB / 0.4972 GB, free: 13.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.761e-06/0.7048, allocations: 0 / 0.4972 GB, free: 13.79 MB / 426.7 MB Notification: Performance of Templates: time 0.2832/0.988, allocations: 26.69 MB / 0.5233 GB, free: 123.8 MB / 426.7 MB