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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.448e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08447, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4335, allocations: 88.07 MB / 405 MB, free: 92 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4339, allocations: 85.06 kB / 405.1 MB, free: 44 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0685/0.5024, allocations: 14.16 MB / 419.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.666e-06/0.5025, allocations: 0 / 419.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.5026, allocations: 16 kB / 419.3 MB, free: 4.059 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004085/0.5067, allocations: 0.9062 MB / 420.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.501e-05/0.5068, allocations: 8.031 kB / 420.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000497/0.5073, allocations: 90.92 kB / 420.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.5097, allocations: 0.4989 MB / 420.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.5098, allocations: 57.05 kB / 420.8 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.5102, allocations: 71.31 kB / 420.9 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/0.5137, allocations: 0.7002 MB / 421.6 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.5138, allocations: 3.906 kB / 421.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.514, allocations: 27.06 kB / 421.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/0.5141, allocations: 19.94 kB / 421.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.517, allocations: 0.4949 MB / 422.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.5284, allocations: 2.706 MB / 424.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.5315, allocations: 0.5712 MB / 425.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.5339, allocations: 420.9 kB / 425.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.61e-05/0.534, allocations: 4.438 kB / 425.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/0.5357, allocations: 365.4 kB / 426.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 8.479e-06/0.5357, allocations: 0 / 426.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.003026/0.5388, allocations: 0.5273 MB / 426.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.539, allocations: 130.5 kB / 426.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.5407, allocations: 436.1 kB / 427.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.5409, allocations: 47.25 kB / 427.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006228/0.5415, allocations: 323.3 kB / 427.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.542, allocations: 175.3 kB / 427.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.582e-05/0.5421, allocations: 15.38 kB / 427.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00042/0.5426, allocations: 369 kB / 428.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.5436, allocations: 186.6 kB / 428.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.545, allocations: 350.9 kB / 428.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5462, allocations: 207.2 kB / 428.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.5463, allocations: 4 kB / 428.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0037/0.55, allocations: 0.6868 MB / 429.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001548/0.5516, allocations: 1.569 MB / 431.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.5516, allocations: 4 kB / 431.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.553, allocations: 157 kB / 431.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.5542, allocations: 99.77 kB / 431.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008125/0.5623, allocations: 3.601 MB / 435 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.5631, allocations: 86.66 kB / 435.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.5632, allocations: 31.36 kB / 435.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5632, allocations: 4 kB / 435.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.5647, allocations: 0.6023 MB / 435.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5648, allocations: 4 kB / 435.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.5654, allocations: 164.4 kB / 435.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.5659, allocations: 91.14 kB / 436 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.5709, allocations: 3.601 MB / 439.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.5717, allocations: 77.81 kB / 439.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.5718, allocations: 26.25 kB / 439.7 MB, free: 2.301 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 (66): * Single equations (assignments): 64 * 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.0002677/0.572, allocations: 153.4 kB / 439.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.5722, allocations: 59.25 kB / 439.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.5724, allocations: 77.61 kB / 440 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-06/0.5724, allocations: 4 kB / 440 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5724, allocations: 4 kB / 440 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5725, allocations: 3.984 kB / 440 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.5754, allocations: 1.413 MB / 441.4 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.69e-06/0.5755, allocations: 3.984 kB / 441.4 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.5758, allocations: 54.66 kB / 441.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005901/0.5764, allocations: 147.1 kB / 441.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.5765, allocations: 19.05 kB / 441.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/0.5814, allocations: 3.509 MB / 445.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.235e-06/0.5815, allocations: 4.031 kB / 445.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.5836, allocations: 0.9483 MB / 446.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.584, allocations: 188.5 kB / 446.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.5842, allocations: 15.12 kB / 446.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.5847, allocations: 43.05 kB / 446.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.585, allocations: 78.25 kB / 446.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.5851, allocations: 23.36 kB / 446.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005772/0.5857, allocations: 330 kB / 446.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.49e-07/0.5857, allocations: 0 / 446.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001666/0.5873, allocations: 346.2 kB / 447.1 MB, free: 11.93 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 (42): * Single equations (assignments): 35 * 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.0002657/0.5876, allocations: 133.2 kB / 447.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002772/0.5904, allocations: 1.334 MB / 448.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.883e-06/0.5905, allocations: 4.062 kB / 448.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5915, allocations: 0.5323 MB / 449.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.5923, allocations: 116 kB / 449.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.595, allocations: 0.9845 MB / 450.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008148/0.5959, allocations: 0.9593 MB / 451.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006547/0.5966, allocations: 112.9 kB / 451.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5967, allocations: 35.44 kB / 451.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of SimCode: time 1.794e-06/0.5967, allocations: 0 / 451.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of Templates: time 0.02961/0.6263, allocations: 10.93 MB / 462.2 MB, free: 12.72 MB / 378.7 MB