Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.012e-05, allocations: 7.984 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08215/0.0822, allocations: 47.56 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3408/0.423, allocations: 92.89 MB / 409.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.4233, allocations: 88.88 kB / 409.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.5559, allocations: 36.5 MB / 446.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.556, allocations: 0 / 446.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.5561, allocations: 51.94 kB / 446.5 MB, free: 12.43 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004599/0.5607, allocations: 1.958 MB / 448.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.5608, allocations: 16.03 kB / 448.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005272/0.5614, allocations: 221.7 kB / 448.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006207/0.5676, allocations: 2.069 MB / 450.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.5678, allocations: 138 kB / 450.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.5681, allocations: 176.8 kB / 451 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/0.5729, allocations: 2.335 MB / 453.4 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.573, allocations: 11.94 kB / 453.4 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.5733, allocations: 71.98 kB / 453.5 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.5734, allocations: 75.45 kB / 453.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.5777, allocations: 1.881 MB / 455.4 MB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.5917, allocations: 6.867 MB / 462.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.5954, allocations: 1.68 MB / 464 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.5973, allocations: 0.9481 MB / 464.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.5974, allocations: 13 kB / 464.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/0.5992, allocations: 0.8664 MB / 465.8 MB, free: 10.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 5e-06/0.5993, allocations: 0 / 465.8 MB, free: 10.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.003956/0.6032, allocations: 1.653 MB / 467.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.6034, allocations: 157.5 kB / 467.6 MB, free: 8.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.6055, allocations: 1.047 MB / 468.6 MB, free: 7.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.6056, allocations: 77.67 kB / 468.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008688/0.6065, allocations: 0.7493 MB / 469.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.607, allocations: 371 kB / 469.8 MB, free: 6.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.6071, allocations: 24 kB / 469.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.6073, allocations: 369.9 kB / 470.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.6087, allocations: 0.6403 MB / 470.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.6104, allocations: 0.9019 MB / 471.7 MB, free: 4.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.6118, allocations: 0.6958 MB / 472.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.091e-06/0.6118, allocations: 0 / 472.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004105/0.616, allocations: 1.926 MB / 474.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001404/0.6174, allocations: 2.446 MB / 476.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.6174, allocations: 8 kB / 476.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.619, allocations: 493.3 kB / 477.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/0.62, allocations: 183.7 kB / 477.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/0.6294, allocations: 5.205 MB / 482.7 MB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.6307, allocations: 187 kB / 482.9 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.6309, allocations: 51.92 kB / 482.9 MB, free: 8.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.202e-06/0.6309, allocations: 4 kB / 482.9 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003761/0.6347, allocations: 1.781 MB / 484.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6347, allocations: 12.12 kB / 484.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.6362, allocations: 0.4888 MB / 485.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/0.637, allocations: 167.7 kB / 485.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00944/0.6465, allocations: 5.193 MB / 490.6 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.6477, allocations: 171.2 kB / 490.7 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.6479, allocations: 44 kB / 490.8 MB, free: 0.5391 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004621/0.6484, allocations: 239.2 kB / 491 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.6487, allocations: 134.4 kB / 491.1 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.6492, allocations: 168.8 kB / 491.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.6492, allocations: 15.94 kB / 491.3 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.312e-06/0.6492, allocations: 0 / 491.3 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.6493, allocations: 7.969 kB / 491.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007444/0.6567, allocations: 3.568 MB / 494.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.86e-06/0.6567, allocations: 0 / 494.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.6574, allocations: 99.81 kB / 495 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.6589, allocations: 468.7 kB / 495.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.659, allocations: 31.94 kB / 495.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009424/0.6684, allocations: 5.151 MB / 0.4889 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.827e-06/0.6685, allocations: 0 / 0.4889 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.6737, allocations: 2.581 MB / 0.4914 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008599/0.6746, allocations: 371.2 kB / 0.4918 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.6749, allocations: 48.11 kB / 0.4918 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.6758, allocations: 111.9 kB / 0.4919 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006127/0.6764, allocations: 224.6 kB / 0.4921 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6766, allocations: 31.98 kB / 0.4922 GB, free: 3.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001588/0.6782, allocations: 0.7927 MB / 0.4929 GB, free: 2.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.194e-06/0.6782, allocations: 0 / 0.4929 GB, free: 2.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002698/0.6809, allocations: 0.8643 MB / 0.4938 GB, free: 1.406 MB / 410.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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003811/0.6813, allocations: 197.4 kB / 0.494 GB, free: 1.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.6875, allocations: 2.986 MB / 0.4969 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.081e-06/0.6875, allocations: 0 / 0.4969 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.6896, allocations: 1.034 MB / 0.4979 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.6913, allocations: 316.2 kB / 0.4982 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006599/0.6979, allocations: 2.844 MB / 0.501 GB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/0.7, allocations: 1.736 MB / 0.5027 GB, free: 8.191 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002208/0.7022, allocations: 0.6037 MB / 0.5033 GB, free: 7.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.7025, allocations: 75.42 kB / 0.5033 GB, free: 7.512 MB / 426.7 MB Notification: Performance of SimCode: time 1.816e-06/0.7026, allocations: 0 / 0.5033 GB, free: 7.512 MB / 426.7 MB Notification: Performance of Templates: time 0.3284/1.031, allocations: 28.53 MB / 0.5312 GB, free: 126.1 MB / 426.7 MB