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.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.674e-05, allocations: 4 kB / 255.4 MB, free: 2.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07514/0.07518, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.4568, allocations: 82.34 MB / 382.2 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4571, allocations: 86.41 kB / 382.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04756/0.5047, allocations: 13.38 MB / 395.7 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.5047, allocations: 4 kB / 395.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.214e-05/0.5048, allocations: 15.62 kB / 395.7 MB, free: 19.32 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001621/0.5064, allocations: 0.871 MB / 396.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5065, allocations: 11.62 kB / 396.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.5067, allocations: 95.56 kB / 396.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.5075, allocations: 0.4942 MB / 397.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.5076, allocations: 48 kB / 397.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5077, allocations: 68.19 kB / 397.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5091, allocations: 0.6773 MB / 398 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.5092, allocations: 3.516 kB / 398 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.5092, allocations: 26.41 kB / 398 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.5093, allocations: 15.59 kB / 398 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.5104, allocations: 491.3 kB / 398.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.515, allocations: 2.65 MB / 401.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.5162, allocations: 0.5736 MB / 401.7 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008649/0.5171, allocations: 385.4 kB / 402.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.5172, allocations: 12.19 kB / 402.1 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.5178, allocations: 340.9 kB / 402.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.995e-06/0.5178, allocations: 0 / 402.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001277/0.5191, allocations: 0.5453 MB / 403 MB, free: 16.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5192, allocations: 114.2 kB / 403.1 MB, free: 16.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.5198, allocations: 422.1 kB / 403.5 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.5199, allocations: 44.2 kB / 403.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.5201, allocations: 314.6 kB / 403.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.5203, allocations: 176.8 kB / 404 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.5203, allocations: 15.03 kB / 404.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5204, allocations: 366.1 kB / 404.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.5209, allocations: 191.4 kB / 404.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.5214, allocations: 340.5 kB / 404.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.5219, allocations: 204.9 kB / 405.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.518e-06/0.5219, allocations: 0 / 405.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001473/0.5234, allocations: 0.6755 MB / 405.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.5237, allocations: 1.572 MB / 407.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5238, allocations: 3.906 kB / 407.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.5244, allocations: 167.8 kB / 407.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.5248, allocations: 99.34 kB / 407.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.5291, allocations: 3.594 MB / 411.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.5298, allocations: 87.06 kB / 411.3 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.5299, allocations: 26.16 kB / 411.4 MB, free: 27.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.333e-06/0.5299, allocations: 3.906 kB / 411.4 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/0.5312, allocations: 0.5911 MB / 411.9 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.123e-06/0.5312, allocations: 7.859 kB / 412 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.5318, allocations: 166.5 kB / 412.1 MB, free: 27.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.5322, allocations: 87.95 kB / 412.2 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.5365, allocations: 3.592 MB / 415.8 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.5371, allocations: 77.38 kB / 415.9 MB, free: 24.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.5372, allocations: 27.03 kB / 415.9 MB, free: 24.46 MB / 330.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.0002386/0.5374, allocations: 153.2 kB / 416 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5376, allocations: 58.77 kB / 416.1 MB, free: 24.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.5378, allocations: 69.2 kB / 416.2 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-06/0.5378, allocations: 3.906 kB / 416.2 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.103e-06/0.5378, allocations: 3.953 kB / 416.2 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.578e-06/0.5378, allocations: 3.984 kB / 416.2 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.5404, allocations: 1.405 MB / 417.6 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.047e-06/0.5404, allocations: 0 / 417.6 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.5408, allocations: 46.33 kB / 417.6 MB, free: 23.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.5414, allocations: 155.1 kB / 417.8 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.5414, allocations: 19.2 kB / 417.8 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004303/0.5458, allocations: 3.516 MB / 421.3 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.928e-06/0.5458, allocations: 0 / 421.3 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.5477, allocations: 0.9374 MB / 422.3 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.548, allocations: 184.4 kB / 422.4 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5481, allocations: 14.03 kB / 422.4 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.5486, allocations: 41.95 kB / 422.5 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.5489, allocations: 81.02 kB / 422.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.5489, allocations: 19.3 kB / 422.6 MB, free: 20.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004951/0.5494, allocations: 316.3 kB / 422.9 MB, free: 20.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.23e-07/0.5495, allocations: 3.906 kB / 422.9 MB, free: 20.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001451/0.5509, allocations: 336.5 kB / 423.2 MB, free: 20.18 MB / 330.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.0002208/0.5512, allocations: 141.1 kB / 423.4 MB, free: 20.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002206/0.5534, allocations: 1.342 MB / 424.7 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.25e-06/0.5534, allocations: 0 / 424.7 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.5543, allocations: 0.5141 MB / 425.2 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.5549, allocations: 103.4 kB / 425.3 MB, free: 19.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.5572, allocations: 0.9709 MB / 426.3 MB, free: 18.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.558, allocations: 0.9506 MB / 427.2 MB, free: 17.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005984/0.5586, allocations: 107.3 kB / 427.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.5587, allocations: 34.69 kB / 427.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.725e-06/0.5587, allocations: 0 / 427.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of Templates: time 0.02826/0.587, allocations: 10.7 MB / 438.1 MB, free: 12.66 MB / 330.7 MB