Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RLV") Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.692e-05, allocations: 4 kB / 292.2 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09046, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5508, allocations: 89.69 MB / 432.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5511, allocations: 84.38 kB / 432.4 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07708/0.6282, allocations: 14.97 MB / 447.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.6283, allocations: 0 / 447.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.6285, allocations: 16 kB / 447.3 MB, free: 7.867 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.004111/0.6326, allocations: 0.9252 MB / 448.3 MB, free: 6.938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/0.6327, allocations: 8.031 kB / 448.3 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.6332, allocations: 90.95 kB / 448.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.6355, allocations: 0.5168 MB / 448.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.6357, allocations: 55.19 kB / 448.9 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.636, allocations: 69.19 kB / 449 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/0.6397, allocations: 0.7423 MB / 449.7 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/0.6398, allocations: 0 / 449.7 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.6401, allocations: 30.31 kB / 449.8 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.6402, allocations: 16 kB / 449.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/0.6432, allocations: 0.5216 MB / 450.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.6548, allocations: 2.785 MB / 453.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.6573, allocations: 0.5327 MB / 453.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/0.6597, allocations: 432.8 kB / 454.1 MB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.6598, allocations: 4.562 kB / 454.1 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/0.6616, allocations: 361 kB / 454.4 MB, free: 2.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 7.801e-06/0.6616, allocations: 7.938 kB / 454.4 MB, free: 2.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.003169/0.6648, allocations: 0.5674 MB / 455 MB, free: 1.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.665, allocations: 141.1 kB / 455.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.6667, allocations: 452.7 kB / 455.6 MB, free: 1.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.6669, allocations: 50.95 kB / 455.6 MB, free: 1.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/0.6676, allocations: 331.5 kB / 455.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.6681, allocations: 178.9 kB / 456.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.6682, allocations: 13.06 kB / 456.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004081/0.6686, allocations: 371.4 kB / 456.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.6698, allocations: 199.8 kB / 456.7 MB, free: 340 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.6713, allocations: 361.4 kB / 457 MB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6724, allocations: 219.2 kB / 457.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.008e-06/0.6724, allocations: 7.938 kB / 457.3 MB, free: 15.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001803/0.6742, allocations: 0.7071 MB / 458 MB, free: 14.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009063/0.6751, allocations: 1.578 MB / 459.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6752, allocations: 4 kB / 459.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/0.6758, allocations: 161.6 kB / 459.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.6764, allocations: 103.8 kB / 459.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/0.6816, allocations: 3.595 MB / 463.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.6824, allocations: 87.48 kB / 463.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.6825, allocations: 28 kB / 463.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6825, allocations: 4 kB / 463.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001593/0.6842, allocations: 0.6243 MB / 464.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6842, allocations: 8 kB / 464.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.6848, allocations: 165.6 kB / 464.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.6853, allocations: 91.83 kB / 464.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/0.6905, allocations: 3.598 MB / 468 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.6912, allocations: 75.5 kB / 468.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.6913, allocations: 27.94 kB / 468.1 MB, free: 4.152 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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002882/0.6916, allocations: 161 kB / 468.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.6918, allocations: 67.23 kB / 468.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.692, allocations: 77.7 kB / 468.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.692, allocations: 8 kB / 468.4 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-06/0.6921, allocations: 3.953 kB / 468.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.434e-06/0.6921, allocations: 0 / 468.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.6953, allocations: 1.469 MB / 469.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.199e-06/0.6954, allocations: 4 kB / 469.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.6958, allocations: 55.91 kB / 469.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/0.6964, allocations: 157.6 kB / 470.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.6965, allocations: 15.98 kB / 470.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.7016, allocations: 3.518 MB / 473.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-06/0.7017, allocations: 4.031 kB / 473.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.7041, allocations: 0.999 MB / 474.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.7045, allocations: 192.3 kB / 474.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.7046, allocations: 20 kB / 474.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.7052, allocations: 47.95 kB / 474.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.7054, allocations: 76.41 kB / 475 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.7055, allocations: 19.98 kB / 475 MB, free: 12.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006067/0.7061, allocations: 337.6 kB / 475.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.7061, allocations: 0 / 475.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00165/0.7078, allocations: 359.1 kB / 475.7 MB, free: 12.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002822/0.7081, allocations: 151.7 kB / 475.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.7109, allocations: 1.377 MB / 477.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.7109, allocations: 0 / 477.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.712, allocations: 0.5365 MB / 477.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.7128, allocations: 104.1 kB / 477.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.7156, allocations: 1.028 MB / 478.8 MB, free: 8.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/0.7164, allocations: 0.9711 MB / 479.8 MB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006951/0.7172, allocations: 132.9 kB / 479.9 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.7173, allocations: 35.53 kB / 480 MB, free: 7.742 MB / 394.7 MB Notification: Performance of SimCode: time 1.724e-06/0.7173, allocations: 3.938 kB / 480 MB, free: 7.738 MB / 394.7 MB Notification: Performance of Templates: time 0.02922/0.7466, allocations: 11.19 MB / 491.2 MB, free: 12.63 MB / 410.7 MB