Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.212e-05/5.191e-05, allocations: 8 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09425, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.4696, allocations: 87.84 MB / 404.8 MB, free: 336 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004422/0.4701, allocations: 82.33 kB / 404.9 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07023/0.5404, allocations: 13.89 MB / 418.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.28e-06/0.5404, allocations: 4 kB / 418.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.219e-05/0.5405, allocations: 15.98 kB / 418.8 MB, free: 4.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001881/0.5424, allocations: 0.8853 MB / 419.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5424, allocations: 12.03 kB / 419.7 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.5427, allocations: 90.97 kB / 419.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.5437, allocations: 0.4926 MB / 420.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.5438, allocations: 56.3 kB / 420.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.5439, allocations: 67.56 kB / 420.4 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5454, allocations: 0.6759 MB / 421 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.5455, allocations: 0 / 421 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.5456, allocations: 27 kB / 421.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5456, allocations: 19.94 kB / 421.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.5468, allocations: 493.4 kB / 421.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.552, allocations: 2.657 MB / 424.2 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.5534, allocations: 0.5723 MB / 424.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009662/0.5544, allocations: 389.2 kB / 425.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.5545, allocations: 4.438 kB / 425.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007242/0.5552, allocations: 348 kB / 425.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.93e-06/0.5553, allocations: 0 / 425.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001343/0.5566, allocations: 0.5335 MB / 426.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.5567, allocations: 114.2 kB / 426.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.5575, allocations: 433.3 kB / 426.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.5576, allocations: 44.39 kB / 426.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.5579, allocations: 315.8 kB / 426.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.5581, allocations: 174.8 kB / 427.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.5581, allocations: 18.06 kB / 427.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.5584, allocations: 367.3 kB / 427.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.5588, allocations: 193 kB / 427.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.5595, allocations: 341.8 kB / 428 MB, free: 13.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.56, allocations: 207.5 kB / 428.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.676e-06/0.56, allocations: 3.938 kB / 428.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001608/0.5616, allocations: 0.6756 MB / 428.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008773/0.5625, allocations: 1.575 MB / 430.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5625, allocations: 4 kB / 430.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.5632, allocations: 161.1 kB / 430.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.5637, allocations: 99.38 kB / 430.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/0.5686, allocations: 3.589 MB / 434.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.5694, allocations: 95.98 kB / 434.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.5695, allocations: 19.38 kB / 434.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5695, allocations: 4 kB / 434.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/0.5709, allocations: 0.5974 MB / 435 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.571, allocations: 4 kB / 435 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.5716, allocations: 163.9 kB / 435.2 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.572, allocations: 83.59 kB / 435.3 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004938/0.577, allocations: 3.609 MB / 438.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.5777, allocations: 70.19 kB / 439 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.5777, allocations: 31.02 kB / 439 MB, free: 2.926 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (65): * Single equations (assignments): 63 * 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.0002712/0.578, allocations: 161 kB / 439.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.5782, allocations: 55.34 kB / 439.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.5784, allocations: 69.58 kB / 439.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.5784, allocations: 8 kB / 439.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.181e-06/0.5784, allocations: 0 / 439.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5784, allocations: 4.109 kB / 439.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.5813, allocations: 1.407 MB / 440.7 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.655e-06/0.5814, allocations: 0 / 440.7 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.5817, allocations: 54.3 kB / 440.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/0.5823, allocations: 151 kB / 440.9 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.5824, allocations: 14.8 kB / 440.9 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/0.5872, allocations: 3.511 MB / 444.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-06/0.5872, allocations: 0 / 444.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.5893, allocations: 0.9371 MB / 445.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.5897, allocations: 189.3 kB / 445.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5898, allocations: 15.2 kB / 445.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.5903, allocations: 46.95 kB / 445.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.5906, allocations: 75.02 kB / 445.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.5906, allocations: 23.67 kB / 445.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005621/0.5912, allocations: 328.5 kB / 446 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.5912, allocations: 0 / 446 MB, free: 12.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001572/0.5928, allocations: 335.2 kB / 446.3 MB, free: 12.59 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (41): * 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: 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.0002617/0.5931, allocations: 139.9 kB / 446.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.5957, allocations: 1.326 MB / 447.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.5958, allocations: 0 / 447.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.5967, allocations: 0.514 MB / 448.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.5974, allocations: 106.2 kB / 448.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.6, allocations: 0.9763 MB / 449.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.6011, allocations: 0.9475 MB / 450.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000864/0.602, allocations: 112.8 kB / 450.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6022, allocations: 35.53 kB / 450.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of SimCode: time 1.639e-06/0.6022, allocations: 3.938 kB / 450.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of Templates: time 0.03217/0.6344, allocations: 10.81 MB / 461.3 MB, free: 13.65 MB / 378.7 MB