Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.649e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09187, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.4969, allocations: 89.06 MB / 431.6 MB, free: 5.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004614/0.4974, allocations: 89.38 kB / 431.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09197/0.5894, allocations: 14.34 MB / 446.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.862e-06/0.5895, allocations: 0 / 446.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.441e-05/0.5895, allocations: 19.94 kB / 446.1 MB, free: 9.055 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001914/0.5915, allocations: 0.8728 MB / 447 MB, free: 8.176 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5915, allocations: 16.03 kB / 447 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.5917, allocations: 82.97 kB / 447.1 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5928, allocations: 0.497 MB / 447.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.5928, allocations: 57.92 kB / 447.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.593, allocations: 66.19 kB / 447.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.5946, allocations: 0.6984 MB / 448.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.5946, allocations: 11.31 kB / 448.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/0.5947, allocations: 26.05 kB / 448.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.5948, allocations: 16 kB / 448.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.596, allocations: 0.4955 MB / 448.9 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005222/0.6012, allocations: 2.683 MB / 451.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.6024, allocations: 0.5162 MB / 452.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007688/0.6032, allocations: 324.2 kB / 452.4 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.6033, allocations: 5 kB / 452.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007443/0.6041, allocations: 353.2 kB / 452.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.95e-06/0.6041, allocations: 0 / 452.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001321/0.6054, allocations: 0.5329 MB / 453.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6055, allocations: 140.6 kB / 453.5 MB, free: 3.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/0.6063, allocations: 432.8 kB / 453.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/0.6064, allocations: 39.52 kB / 453.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.6067, allocations: 323.9 kB / 454.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.6069, allocations: 178.4 kB / 454.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.607, allocations: 13.5 kB / 454.4 MB, free: 2.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.6072, allocations: 364.8 kB / 454.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.6077, allocations: 186.4 kB / 455 MB, free: 1.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.6083, allocations: 357 kB / 455.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.6089, allocations: 211.3 kB / 455.5 MB, free: 1.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.6089, allocations: 4 kB / 455.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001614/0.6105, allocations: 0.6517 MB / 456.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009052/0.6115, allocations: 1.574 MB / 457.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6115, allocations: 4 kB / 457.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006958/0.6122, allocations: 160.9 kB / 457.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.6127, allocations: 91.83 kB / 458 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.6167, allocations: 2.346 MB / 460.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.6175, allocations: 87.59 kB / 460.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.6176, allocations: 27.95 kB / 460.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.6176, allocations: 4 kB / 460.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/0.6191, allocations: 0.5799 MB / 461 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6191, allocations: 4 kB / 461 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.6197, allocations: 157.3 kB / 461.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.6201, allocations: 83.83 kB / 461.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.6242, allocations: 2.343 MB / 463.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.6249, allocations: 79.55 kB / 463.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.625, allocations: 20 kB / 463.7 MB, free: 8.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002757/0.6252, allocations: 164.7 kB / 463.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.6254, allocations: 59.34 kB / 463.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.6256, allocations: 69.58 kB / 464 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.6256, allocations: 8 kB / 464 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-06/0.6256, allocations: 0 / 464 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6257, allocations: 3.984 kB / 464 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.629, allocations: 1.394 MB / 465.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.263e-06/0.6291, allocations: 4 kB / 465.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.6294, allocations: 43.92 kB / 465.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005789/0.63, allocations: 148.8 kB / 465.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.6301, allocations: 11.98 kB / 465.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/0.6339, allocations: 2.246 MB / 467.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.302e-06/0.6339, allocations: 0 / 467.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.636, allocations: 0.9184 MB / 468.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.6364, allocations: 200.1 kB / 469 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.6365, allocations: 15.94 kB / 469 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.637, allocations: 39.97 kB / 469 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.6373, allocations: 80.44 kB / 469.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.6373, allocations: 16 kB / 469.1 MB, free: 3.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000602/0.6379, allocations: 333.6 kB / 469.5 MB, free: 2.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.44e-07/0.638, allocations: 0 / 469.5 MB, free: 2.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001409/0.6394, allocations: 335.1 kB / 469.8 MB, free: 2.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002634/0.6397, allocations: 149.6 kB / 469.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.6422, allocations: 1.158 MB / 471.1 MB, free: 1.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.547e-06/0.6423, allocations: 0 / 471.1 MB, free: 1.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009095/0.6432, allocations: 436.7 kB / 471.5 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.644, allocations: 118.6 kB / 471.6 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.6465, allocations: 0.9327 MB / 472.6 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.6474, allocations: 0.9634 MB / 473.5 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006503/0.648, allocations: 112.8 kB / 473.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.6482, allocations: 35.42 kB / 473.7 MB, free: 14.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.255e-06/0.6482, allocations: 4 kB / 473.7 MB, free: 14.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02866/0.6769, allocations: 10.92 MB / 484.6 MB, free: 3.676 MB / 394.7 MB