Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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.1..u|rectifier.pre.2..u|rectifier.pre.3..u|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.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.373e-05, allocations: 0 / 269.4 MB, free: 6.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08207, allocations: 47.58 MB / 316.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4372, allocations: 92.5 MB / 409.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4375, allocations: 90.5 kB / 409.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.107/0.5445, allocations: 28.7 MB / 438.2 MB, free: 3.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5446, allocations: 4 kB / 438.2 MB, free: 3.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.5447, allocations: 43.94 kB / 438.3 MB, free: 3.438 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004398/0.5491, allocations: 1.87 MB / 440.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5492, allocations: 16.02 kB / 440.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.5497, allocations: 209.5 kB / 440.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006265/0.556, allocations: 2.019 MB / 442.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.5562, allocations: 123.8 kB / 442.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.5566, allocations: 168 kB / 442.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.5615, allocations: 2.169 MB / 444.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/0.5616, allocations: 3.938 kB / 444.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.5618, allocations: 72.3 kB / 444.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.5619, allocations: 67.17 kB / 445 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/0.5659, allocations: 1.769 MB / 446.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.5797, allocations: 6.512 MB / 453.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.5831, allocations: 1.54 MB / 454.8 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002399/0.5856, allocations: 1.108 MB / 455.9 MB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.5857, allocations: 16.94 kB / 455.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.5873, allocations: 0.8079 MB / 456.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=114): time 5.432e-06/0.5873, allocations: 0 / 456.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.003713/0.591, allocations: 1.605 MB / 458.3 MB, free: 1.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5912, allocations: 157.5 kB / 458.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.5932, allocations: 1.014 MB / 459.5 MB, free: 448 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.5934, allocations: 65.69 kB / 459.6 MB, free: 376 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/0.5942, allocations: 0.7102 MB / 460.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.5947, allocations: 343.3 kB / 460.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.5948, allocations: 24 kB / 460.6 MB, free: 15.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.595, allocations: 353.9 kB / 461 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.5963, allocations: 0.5882 MB / 461.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.5978, allocations: 0.8342 MB / 462.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.5991, allocations: 0.6333 MB / 463 MB, free: 12.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.5992, allocations: 0 / 463 MB, free: 12.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003784/0.6029, allocations: 1.79 MB / 464.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001333/0.6043, allocations: 2.433 MB / 467.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.6043, allocations: 11.95 kB / 467.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.606, allocations: 0.5042 MB / 467.8 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.6068, allocations: 163.7 kB / 467.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.6169, allocations: 5.39 MB / 473.3 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.6182, allocations: 187 kB / 473.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.6183, allocations: 47.95 kB / 473.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6183, allocations: 4 kB / 473.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003498/0.6219, allocations: 1.653 MB / 475.2 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.6219, allocations: 7.984 kB / 475.2 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.6235, allocations: 0.5089 MB / 475.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.6242, allocations: 155.7 kB / 475.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.6348, allocations: 5.38 MB / 481.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.6361, allocations: 171.2 kB / 481.4 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.6363, allocations: 44 kB / 481.5 MB, free: 9.844 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: 57 ($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,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[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 (117): * Single equations (assignments): 116 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004384/0.6367, allocations: 220.8 kB / 481.7 MB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.637, allocations: 122.5 kB / 481.8 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.6375, allocations: 156.2 kB / 482 MB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.6375, allocations: 16 kB / 482 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.654e-06/0.6375, allocations: 0 / 482 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.6375, allocations: 15.86 kB / 482 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007823/0.6454, allocations: 3.523 MB / 485.5 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.138e-06/0.6454, allocations: 0 / 485.5 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.646, allocations: 83.89 kB / 485.6 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.6475, allocations: 488.2 kB / 486.1 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/0.6476, allocations: 19.98 kB / 486.1 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009954/0.6576, allocations: 5.324 MB / 491.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6577, allocations: 0 / 491.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/0.6627, allocations: 2.439 MB / 493.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008811/0.6636, allocations: 347.3 kB / 494.2 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.6639, allocations: 35.92 kB / 494.2 MB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009147/0.6648, allocations: 115.8 kB / 494.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005203/0.6653, allocations: 172.9 kB / 494.5 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.6655, allocations: 35.98 kB / 494.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001559/0.667, allocations: 0.7643 MB / 495.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.6671, allocations: 0 / 495.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002657/0.6697, allocations: 0.8216 MB / 496.1 MB, free: 10.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (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.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,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 (77): * Single equations (assignments): 67 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003617/0.6701, allocations: 172.4 kB / 496.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005942/0.6761, allocations: 2.82 MB / 499.1 MB, free: 7.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.295e-06/0.6761, allocations: 0 / 499.1 MB, free: 7.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.6782, allocations: 0.9897 MB / 0.4884 GB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.6799, allocations: 300.1 kB / 0.4887 GB, free: 6.602 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.6862, allocations: 2.65 MB / 0.4913 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/0.6882, allocations: 1.676 MB / 0.4929 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001963/0.6902, allocations: 0.5448 MB / 0.4934 GB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.6905, allocations: 63.42 kB / 0.4935 GB, free: 1.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.899e-06/0.6905, allocations: 0 / 0.4935 GB, free: 1.59 MB / 410.7 MB Notification: Performance of Templates: time 0.3212/1.012, allocations: 28.6 MB / 0.5214 GB, free: 128.2 MB / 426.7 MB