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_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.467e-05, allocations: 4 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.07544, allocations: 44.51 MB / 299.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4121, allocations: 85.31 MB / 385.2 MB, free: 20.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4124, allocations: 88.3 kB / 385.3 MB, free: 20.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0942/0.5066, allocations: 28.44 MB / 413.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.04e-06/0.5066, allocations: 0 / 413.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.797e-05/0.5067, allocations: 39.22 kB / 413.8 MB, free: 13.1 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003221/0.51, allocations: 1.543 MB / 415.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.51, allocations: 7.875 kB / 415.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.5106, allocations: 164.7 kB / 415.5 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/0.5157, allocations: 1.628 MB / 417.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.5159, allocations: 103.7 kB / 417.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.5161, allocations: 131.5 kB / 417.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.5194, allocations: 1.674 MB / 419 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/0.5195, allocations: 0 / 419 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.5197, allocations: 60.14 kB / 419.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-05/0.5198, allocations: 53.55 kB / 419.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.5225, allocations: 1.322 MB / 420.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009043/0.5315, allocations: 4.992 MB / 425.4 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.5336, allocations: 1.045 MB / 426.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009988/0.5346, allocations: 0.5672 MB / 427 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.5347, allocations: 16.2 kB / 427 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009821/0.5357, allocations: 0.5833 MB / 427.6 MB, free: 7.863 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 4.932e-06/0.5357, allocations: 0 / 427.6 MB, free: 7.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.002082/0.5378, allocations: 0.9962 MB / 428.6 MB, free: 7.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5379, allocations: 147.2 kB / 428.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.5392, allocations: 0.7878 MB / 429.6 MB, free: 7.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.5394, allocations: 56.31 kB / 429.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.5398, allocations: 0.5937 MB / 430.2 MB, free: 6.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.54, allocations: 236.5 kB / 430.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.5401, allocations: 18.62 kB / 430.5 MB, free: 6.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.5402, allocations: 345.5 kB / 430.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.541, allocations: 410.5 kB / 431.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/0.5419, allocations: 0.629 MB / 431.8 MB, free: 5.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.5426, allocations: 431.5 kB / 432.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.5426, allocations: 0 / 432.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002085/0.5447, allocations: 1.143 MB / 433.4 MB, free: 5.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005047/0.5453, allocations: 2.531 MB / 435.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.5453, allocations: 7.828 kB / 435.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.546, allocations: 222.2 kB / 436.1 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.5468, allocations: 152.3 kB / 436.3 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.5505, allocations: 2.775 MB / 439.1 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.5517, allocations: 148.5 kB / 439.2 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.5518, allocations: 39.12 kB / 439.3 MB, free: 16.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5519, allocations: 3.906 kB / 439.3 MB, free: 16.54 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002012/0.5539, allocations: 1.084 MB / 440.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.5539, allocations: 8.844 kB / 440.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.5545, allocations: 224.6 kB / 440.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.5552, allocations: 143.8 kB / 440.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004448/0.5597, allocations: 2.795 MB / 443.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.5606, allocations: 139.3 kB / 443.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.5608, allocations: 40.22 kB / 443.7 MB, free: 12.11 MB / 330.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,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,$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 (107): * Single equations (assignments): 106 * 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.0003907/0.5612, allocations: 196.7 kB / 443.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.5615, allocations: 90.88 kB / 444 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.5618, allocations: 113.3 kB / 444.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.5619, allocations: 8 kB / 444.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.716e-06/0.5619, allocations: 4 kB / 444.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5619, allocations: 11.98 kB / 444.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.5679, allocations: 2.561 MB / 446.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.703e-06/0.568, allocations: 0 / 446.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.5685, allocations: 75.89 kB / 446.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006567/0.5692, allocations: 200.7 kB / 446.9 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.483e-05/0.5693, allocations: 19.98 kB / 446.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/0.5737, allocations: 2.717 MB / 449.7 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.428e-06/0.5738, allocations: 4 kB / 449.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.5773, allocations: 1.649 MB / 451.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/0.578, allocations: 263.8 kB / 451.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.5783, allocations: 35.88 kB / 451.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.5791, allocations: 87.91 kB / 451.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004126/0.5795, allocations: 144.6 kB / 451.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.5796, allocations: 23.98 kB / 451.9 MB, free: 3.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.5808, allocations: 0.5889 MB / 452.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.5809, allocations: 0 / 452.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00224/0.5831, allocations: 0.5837 MB / 453 MB, free: 2.484 MB / 330.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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.000358/0.5835, allocations: 164.6 kB / 453.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.5876, allocations: 1.817 MB / 455 MB, free: 492 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.562e-06/0.5877, allocations: 448 / 455 MB, free: 492 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.5892, allocations: 0.6779 MB / 455.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.5905, allocations: 187.4 kB / 455.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/0.5955, allocations: 1.982 MB / 457.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.597, allocations: 1.378 MB / 459.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.5975, allocations: 75.42 kB / 459.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.811e-06/0.5975, allocations: 4 kB / 459.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of Templates: time 0.03878/0.6363, allocations: 21.6 MB / 480.9 MB, free: 6.516 MB / 362.7 MB