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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.674e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08305, allocations: 47.57 MB / 317 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.4817, allocations: 90.79 MB / 407.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.482, allocations: 92.05 kB / 407.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1094/0.5914, allocations: 28.9 MB / 436.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5915, allocations: 0 / 436.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001136/0.5916, allocations: 35.94 kB / 436.8 MB, free: 4.898 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003694/0.5953, allocations: 1.538 MB / 438.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5954, allocations: 8.031 kB / 438.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.5958, allocations: 166 kB / 438.5 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005397/0.6012, allocations: 1.634 MB / 440.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.6014, allocations: 110 kB / 440.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.6017, allocations: 135.9 kB / 440.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.6051, allocations: 1.667 MB / 442 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.6052, allocations: 0 / 442 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.6054, allocations: 62.3 kB / 442.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-05/0.6055, allocations: 54.52 kB / 442.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.6085, allocations: 1.323 MB / 443.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.619, allocations: 5.004 MB / 448.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.6214, allocations: 1.046 MB / 449.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.6226, allocations: 0.5505 MB / 450.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/0.6227, allocations: 12.77 kB / 450.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.6239, allocations: 0.5863 MB / 450.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 4.423e-06/0.6239, allocations: 0 / 450.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.002422/0.6264, allocations: 0.9956 MB / 451.7 MB, free: 8.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.6265, allocations: 149.2 kB / 451.8 MB, free: 8.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.6281, allocations: 0.7828 MB / 452.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.6283, allocations: 57.69 kB / 452.6 MB, free: 7.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007028/0.629, allocations: 0.5928 MB / 453.2 MB, free: 6.746 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.6293, allocations: 244.7 kB / 453.5 MB, free: 6.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.6294, allocations: 20 kB / 453.5 MB, free: 6.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.6296, allocations: 349.9 kB / 453.8 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008704/0.6305, allocations: 401.8 kB / 454.2 MB, free: 5.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.6316, allocations: 0.628 MB / 454.9 MB, free: 5.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009523/0.6326, allocations: 446 kB / 455.3 MB, free: 4.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.696e-06/0.6326, allocations: 0 / 455.3 MB, free: 4.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002646/0.6353, allocations: 1.191 MB / 456.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00141/0.6367, allocations: 2.532 MB / 459 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.6367, allocations: 8 kB / 459 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007449/0.6375, allocations: 220.7 kB / 459.2 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.6382, allocations: 151.7 kB / 459.4 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.6427, allocations: 2.764 MB / 462.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.6438, allocations: 155.3 kB / 462.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6439, allocations: 47.92 kB / 462.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.644, allocations: 4 kB / 462.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002393/0.6464, allocations: 1.089 MB / 463.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6464, allocations: 4 kB / 463.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006671/0.6471, allocations: 216.7 kB / 463.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006901/0.6478, allocations: 148.2 kB / 463.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/0.6522, allocations: 2.78 MB / 466.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.6532, allocations: 127.4 kB / 466.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.6533, allocations: 39.98 kB / 466.7 MB, free: 8.641 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,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.0003554/0.6536, allocations: 196.7 kB / 466.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.6539, allocations: 98.92 kB / 467 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.6542, allocations: 117.3 kB / 467.1 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6542, allocations: 12 kB / 467.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-06/0.6543, allocations: 0 / 467.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6543, allocations: 3.984 kB / 467.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.6598, allocations: 2.557 MB / 469.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.263e-06/0.6598, allocations: 3.984 kB / 469.7 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.6603, allocations: 75.84 kB / 469.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/0.661, allocations: 196.7 kB / 470 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.661, allocations: 19.95 kB / 470 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/0.6654, allocations: 2.732 MB / 472.7 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.864e-06/0.6654, allocations: 0 / 472.7 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.6688, allocations: 1.645 MB / 474.4 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/0.6694, allocations: 271.8 kB / 474.7 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.6696, allocations: 20 kB / 474.7 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/0.6703, allocations: 87.91 kB / 474.8 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.6707, allocations: 144.5 kB / 474.9 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.309e-05/0.6708, allocations: 27.98 kB / 474.9 MB, free: 192 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.672, allocations: 0.5929 MB / 475.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.6721, allocations: 4 kB / 475.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002034/0.6741, allocations: 0.5838 MB / 476.1 MB, free: 15 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,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.0003071/0.6744, allocations: 164.7 kB / 476.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.6782, allocations: 1.858 MB / 478.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.114e-06/0.6782, allocations: 4.562 kB / 478.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.6796, allocations: 0.6839 MB / 478.8 MB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6806, allocations: 191.8 kB / 479 MB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.6853, allocations: 1.983 MB / 481 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.6868, allocations: 1.413 MB / 482.4 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001622/0.6884, allocations: 427.1 kB / 482.8 MB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6887, allocations: 51.44 kB / 482.9 MB, free: 8.129 MB / 394.7 MB Notification: Performance of SimCode: time 2.022e-06/0.6887, allocations: 0 / 482.9 MB, free: 8.129 MB / 394.7 MB Notification: Performance of Templates: time 0.04327/0.732, allocations: 16.68 MB / 499.5 MB, free: 7.508 MB / 410.7 MB