Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.55e-05, allocations: 0 / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.08922, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4637, allocations: 93.83 MB / 436.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.464, allocations: 89.06 kB / 436.5 MB, free: 456 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1484/0.6124, allocations: 38.85 MB / 475.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.429e-06/0.6125, allocations: 4 kB / 475.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001632/0.6127, allocations: 55.94 kB / 475.4 MB, free: 13.72 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.005811/0.6185, allocations: 2.108 MB / 477.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.6185, allocations: 8.031 kB / 477.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.6194, allocations: 237.2 kB / 477.7 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007075/0.6265, allocations: 2.016 MB / 479.8 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.6267, allocations: 139.6 kB / 479.9 MB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.6273, allocations: 180 kB / 480.1 MB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/0.6333, allocations: 2.423 MB / 482.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.829e-05/0.6334, allocations: 7.938 kB / 482.5 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.6337, allocations: 75.94 kB / 482.6 MB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.6338, allocations: 75.58 kB / 482.7 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/0.6388, allocations: 2.026 MB / 484.7 MB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.6559, allocations: 7.412 MB / 492.1 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/0.6596, allocations: 1.645 MB / 493.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.6617, allocations: 0.9635 MB / 494.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.6619, allocations: 13 kB / 494.7 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/0.6638, allocations: 0.8967 MB / 495.6 MB, free: 9.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 5.619e-06/0.6638, allocations: 0 / 495.6 MB, free: 9.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.003799/0.6677, allocations: 1.579 MB / 497.2 MB, free: 7.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.6678, allocations: 145.5 kB / 497.3 MB, free: 7.324 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.6703, allocations: 1.133 MB / 498.5 MB, free: 6.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.6706, allocations: 69.69 kB / 498.5 MB, free: 6.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.6717, allocations: 0.793 MB / 499.3 MB, free: 5.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005854/0.6723, allocations: 370.8 kB / 499.7 MB, free: 4.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.6724, allocations: 24 kB / 499.7 MB, free: 4.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.6727, allocations: 357.9 kB / 0.4883 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.6741, allocations: 0.6234 MB / 0.4889 GB, free: 3.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.6757, allocations: 0.8329 MB / 0.4898 GB, free: 3.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.6772, allocations: 0.649 MB / 0.4904 GB, free: 2.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.6772, allocations: 4 kB / 0.4904 GB, free: 2.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004148/0.6814, allocations: 1.797 MB / 0.4922 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001113/0.6825, allocations: 1.942 MB / 0.494 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.6826, allocations: 8 kB / 0.4941 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.684, allocations: 438.5 kB / 0.4945 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.6853, allocations: 203.6 kB / 0.4947 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0084/0.6937, allocations: 4.391 MB / 0.499 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.6954, allocations: 175.1 kB / 0.4991 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.6956, allocations: 40 kB / 0.4992 GB, free: 9.105 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6956, allocations: 4 kB / 0.4992 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004008/0.6997, allocations: 1.659 MB / 0.5008 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.6997, allocations: 4.625 kB / 0.5008 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.7011, allocations: 432.2 kB / 0.5012 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.7023, allocations: 191.7 kB / 0.5014 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.7104, allocations: 4.408 MB / 0.5057 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.712, allocations: 163.2 kB / 0.5058 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.7121, allocations: 47.98 kB / 0.5059 GB, free: 2.078 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 (129): * Single equations (assignments): 128 * 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.0005018/0.7127, allocations: 231.3 kB / 0.5061 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.7131, allocations: 134.4 kB / 0.5062 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.7136, allocations: 177.4 kB / 0.5064 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.7136, allocations: 15.94 kB / 0.5064 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.891e-06/0.7136, allocations: 0 / 0.5064 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.7137, allocations: 7.969 kB / 0.5064 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/0.7223, allocations: 3.779 MB / 0.5101 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.833e-06/0.7224, allocations: 0 / 0.5101 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.7234, allocations: 151.8 kB / 0.5103 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.7247, allocations: 388.6 kB / 0.5106 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/0.7249, allocations: 23.98 kB / 0.5107 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008074/0.733, allocations: 4.338 MB / 0.5149 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.491e-06/0.733, allocations: 0 / 0.5149 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/0.7387, allocations: 2.632 MB / 0.5175 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.7398, allocations: 395 kB / 0.5178 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.7401, allocations: 39.98 kB / 0.5179 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.7413, allocations: 115.9 kB / 0.518 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006739/0.7419, allocations: 236.6 kB / 0.5182 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.7421, allocations: 27.98 kB / 0.5182 GB, free: 5.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001807/0.7439, allocations: 0.8615 MB / 0.5191 GB, free: 4.316 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.057e-06/0.7439, allocations: 0 / 0.5191 GB, free: 4.316 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003081/0.747, allocations: 0.868 MB / 0.5199 GB, free: 3.445 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_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 87 * 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.0004089/0.7475, allocations: 196.5 kB / 0.5201 GB, free: 3.242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006236/0.7537, allocations: 2.862 MB / 0.5229 GB, free: 372 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.347e-06/0.7538, allocations: 0 / 0.5229 GB, free: 372 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2318/0.9855, allocations: 1.006 MB / 0.5239 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.9875, allocations: 303.6 kB / 0.5242 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/0.9951, allocations: 3.007 MB / 0.5271 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.9971, allocations: 1.795 MB / 0.5289 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002594/0.9997, allocations: 0.6586 MB / 0.5295 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1, allocations: 73.73 kB / 0.5296 GB, free: 127.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.771e-06/1, allocations: 0 / 0.5296 GB, free: 127.3 MB / 442.7 MB Notification: Performance of Templates: time 0.06264/1.063, allocations: 27.48 MB / 0.5564 GB, free: 126 MB / 442.7 MB