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_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.242e-05, allocations: 4 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07782/0.07788, allocations: 44.49 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.4259, allocations: 86.58 MB / 386.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.4262, allocations: 87.61 kB / 386.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1256/0.5518, allocations: 36.06 MB / 422.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5519, allocations: 0 / 422.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001466/0.552, allocations: 51.19 kB / 422.7 MB, free: 9.109 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.004285/0.5563, allocations: 1.994 MB / 424.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5564, allocations: 11.62 kB / 424.7 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006804/0.5571, allocations: 220.6 kB / 424.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/0.5633, allocations: 1.98 MB / 426.9 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.5635, allocations: 138.4 kB / 427 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004088/0.5639, allocations: 178.9 kB / 427.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.5688, allocations: 2.335 MB / 429.5 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/0.5689, allocations: 7.719 kB / 429.5 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.5692, allocations: 74.77 kB / 429.6 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/0.5693, allocations: 68.64 kB / 429.6 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.5736, allocations: 1.952 MB / 431.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.5878, allocations: 7.316 MB / 438.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.591, allocations: 1.615 MB / 440.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.5929, allocations: 0.9098 MB / 441.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.593, allocations: 16.98 kB / 441.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.5948, allocations: 0.8227 MB / 442.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 4.722e-06/0.5948, allocations: 0 / 442.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.003494/0.5983, allocations: 1.493 MB / 443.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.5984, allocations: 123.8 kB / 443.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.6008, allocations: 1.122 MB / 445 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.6011, allocations: 65.69 kB / 445.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.602, allocations: 0.7516 MB / 445.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/0.6025, allocations: 335.4 kB / 446.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.6026, allocations: 20 kB / 446.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.6028, allocations: 370.7 kB / 446.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.6042, allocations: 0.5843 MB / 447.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.6057, allocations: 0.7959 MB / 447.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.6071, allocations: 0.6099 MB / 448.5 MB, free: 7.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.67e-06/0.6071, allocations: 0 / 448.5 MB, free: 7.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003642/0.6108, allocations: 1.635 MB / 450.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001106/0.6119, allocations: 1.925 MB / 452.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.612, allocations: 12 kB / 452.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6134, allocations: 426 kB / 452.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.6145, allocations: 183.7 kB / 452.7 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008067/0.6226, allocations: 4.387 MB / 457.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.6241, allocations: 183.2 kB / 457.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.6243, allocations: 44.09 kB / 457.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.6243, allocations: 4 kB / 457.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003501/0.6278, allocations: 1.574 MB / 458.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.6279, allocations: 11.95 kB / 458.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.6291, allocations: 412.8 kB / 459.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009568/0.6301, allocations: 175.9 kB / 459.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007964/0.638, allocations: 4.459 MB / 463.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/0.639, allocations: 159.3 kB / 464.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.6392, allocations: 47.98 kB / 464.1 MB, free: 7.602 MB / 346.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 (122): * Single equations (assignments): 121 * 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.0004492/0.6397, allocations: 220.6 kB / 464.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.6401, allocations: 134.4 kB / 464.5 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.6406, allocations: 164.9 kB / 464.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.6406, allocations: 12 kB / 464.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6407, allocations: 0 / 464.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.6407, allocations: 3.984 kB / 464.7 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008171/0.6489, allocations: 3.599 MB / 468.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.223e-06/0.6489, allocations: 0 / 468.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007461/0.6497, allocations: 111.8 kB / 468.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.6509, allocations: 400.5 kB / 468.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.6511, allocations: 27.98 kB / 468.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/0.6591, allocations: 4.319 MB / 473.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.769e-06/0.6591, allocations: 0 / 473.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/0.6644, allocations: 2.474 MB / 475.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.6654, allocations: 375.2 kB / 475.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.6657, allocations: 27.98 kB / 476 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.6668, allocations: 111.9 kB / 476.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006692/0.6675, allocations: 224.6 kB / 476.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.6676, allocations: 31.98 kB / 476.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001783/0.6694, allocations: 0.8566 MB / 477.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.6695, allocations: 0 / 477.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002873/0.6723, allocations: 0.8329 MB / 478 MB, free: 9.453 MB / 362.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,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[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 (88): * Single equations (assignments): 78 * 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.0003889/0.6728, allocations: 188.5 kB / 478.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005838/0.6786, allocations: 2.684 MB / 480.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.589e-06/0.6787, allocations: 0.7812 kB / 480.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.6808, allocations: 0.9622 MB / 481.8 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.6825, allocations: 288.3 kB / 482.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/0.6897, allocations: 2.86 MB / 485 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/0.6919, allocations: 1.724 MB / 486.7 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.6925, allocations: 83.42 kB / 486.8 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of SimCode: time 1.856e-06/0.6925, allocations: 0 / 486.8 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of Templates: time 0.05316/0.7457, allocations: 30.94 MB / 0.5056 GB, free: 1.605 MB / 394.7 MB