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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.461e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 50.41 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.6102, allocations: 94.2 MB / 437.3 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6106, allocations: 88.38 kB / 437.4 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1469/0.7575, allocations: 38.57 MB / 476 MB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7576, allocations: 0 / 476 MB, free: 13.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001594/0.7577, allocations: 51.94 kB / 476 MB, free: 13.68 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.004995/0.7628, allocations: 2.027 MB / 478 MB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7628, allocations: 8.031 kB / 478 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006551/0.7635, allocations: 229.3 kB / 478.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/0.7704, allocations: 2.121 MB / 480.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.7706, allocations: 143.5 kB / 480.5 MB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/0.771, allocations: 179.9 kB / 480.7 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005305/0.7763, allocations: 2.42 MB / 483.1 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.7764, allocations: 0 / 483.1 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.7767, allocations: 72 kB / 483.2 MB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.7768, allocations: 79.58 kB / 483.3 MB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.7813, allocations: 1.959 MB / 485.2 MB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.7958, allocations: 7.048 MB / 492.3 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.7989, allocations: 1.577 MB / 493.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.8009, allocations: 0.9967 MB / 494.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.801, allocations: 13 kB / 494.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/0.8028, allocations: 0.9016 MB / 495.8 MB, free: 9.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.943e-06/0.8028, allocations: 0 / 495.8 MB, free: 9.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.003825/0.8066, allocations: 1.696 MB / 497.5 MB, free: 7.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.8068, allocations: 179.5 kB / 497.6 MB, free: 7.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.8089, allocations: 1.087 MB / 498.7 MB, free: 6.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.8091, allocations: 81.67 kB / 498.8 MB, free: 6.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000885/0.81, allocations: 0.773 MB / 499.6 MB, free: 5.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/0.8105, allocations: 390.7 kB / 500 MB, free: 5.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.8106, allocations: 24 kB / 500 MB, free: 5.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.8109, allocations: 361.9 kB / 0.4886 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.8123, allocations: 0.6755 MB / 0.4893 GB, free: 4.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.814, allocations: 0.9458 MB / 0.4902 GB, free: 3.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.8155, allocations: 0.7271 MB / 0.4909 GB, free: 2.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.977e-06/0.8156, allocations: 0 / 0.4909 GB, free: 2.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004232/0.8198, allocations: 2.004 MB / 0.4929 GB, free: 440 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001354/0.8212, allocations: 2.448 MB / 0.4952 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.8212, allocations: 8 kB / 0.4953 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.8228, allocations: 494.6 kB / 0.4957 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/0.8237, allocations: 191.6 kB / 0.4959 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00961/0.8334, allocations: 5.217 MB / 0.501 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.8355, allocations: 199 kB / 0.5012 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.8356, allocations: 44 kB / 0.5012 GB, free: 7.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.8357, allocations: 4 kB / 0.5012 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004244/0.8399, allocations: 1.851 MB / 0.503 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.84, allocations: 8 kB / 0.5031 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.8415, allocations: 0.4934 MB / 0.5035 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.8424, allocations: 179.6 kB / 0.5037 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009549/0.852, allocations: 5.22 MB / 0.5088 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.8534, allocations: 179.1 kB / 0.509 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.8536, allocations: 47.98 kB / 0.509 GB, free: 15.41 MB / 442.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_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,$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 (143): * Single equations (assignments): 142 * 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.0004868/0.8541, allocations: 245.4 kB / 0.5093 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.8544, allocations: 130.4 kB / 0.5094 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.8549, allocations: 173.8 kB / 0.5095 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.8549, allocations: 19.92 kB / 0.5096 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.209e-06/0.855, allocations: 0 / 0.5096 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.855, allocations: 7.938 kB / 0.5096 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007828/0.8628, allocations: 3.737 MB / 0.5132 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.795e-06/0.8629, allocations: 3.984 kB / 0.5132 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.8636, allocations: 119.8 kB / 0.5133 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.865, allocations: 460.7 kB / 0.5138 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.8652, allocations: 24 kB / 0.5138 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009503/0.8747, allocations: 5.155 MB / 0.5188 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.952e-06/0.8747, allocations: 0 / 0.5188 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/0.8802, allocations: 2.715 MB / 0.5215 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/0.8811, allocations: 379.2 kB / 0.5219 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.8814, allocations: 43.97 kB / 0.5219 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/0.8824, allocations: 111.9 kB / 0.522 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006302/0.883, allocations: 229 kB / 0.5222 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.8832, allocations: 32 kB / 0.5222 GB, free: 1.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001619/0.8848, allocations: 0.8131 MB / 0.523 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.98e-07/0.8848, allocations: 7.938 kB / 0.5231 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.2375/1.122, allocations: 0.8797 MB / 0.5239 GB, free: 127.7 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: 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_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: 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_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 86 * 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.0005209/1.123, allocations: 203.4 kB / 0.5241 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006553/1.129, allocations: 3.098 MB / 0.5271 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.405e-06/1.129, allocations: 0 / 0.5271 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/1.132, allocations: 1.07 MB / 0.5282 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.134, allocations: 323.3 kB / 0.5285 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.145, allocations: 2.965 MB / 0.5314 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003105/1.148, allocations: 1.763 MB / 0.5331 GB, free: 125.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00453/1.153, allocations: 0.6513 MB / 0.5337 GB, free: 125.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/1.153, allocations: 71.69 kB / 0.5338 GB, free: 125.8 MB / 442.7 MB Notification: Performance of SimCode: time 3.17e-06/1.153, allocations: 0 / 0.5338 GB, free: 125.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1004/1.254, allocations: 29.23 MB / 0.5624 GB, free: 123.3 MB / 442.7 MB