Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.461e-05/4.501e-05, allocations: 4 kB / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 44.5 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.5022, allocations: 82.64 MB / 382.5 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5025, allocations: 84.22 kB / 382.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03694/0.5395, allocations: 10.55 MB / 393.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.5396, allocations: 0 / 393.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.2e-05/0.5396, allocations: 23.47 kB / 393.2 MB, free: 19.28 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001566/0.5412, allocations: 0.8551 MB / 394.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5413, allocations: 11.81 kB / 394.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.5414, allocations: 93.17 kB / 394.2 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.5423, allocations: 482.3 kB / 394.6 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.5424, allocations: 61.8 kB / 394.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5425, allocations: 64.31 kB / 394.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.5439, allocations: 0.6428 MB / 395.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.5439, allocations: 7.922 kB / 395.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.5441, allocations: 23.25 kB / 395.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.5441, allocations: 15.66 kB / 395.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.5452, allocations: 475.6 kB / 395.9 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.5495, allocations: 2.58 MB / 398.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.5509, allocations: 0.5589 MB / 399 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.5516, allocations: 303.2 kB / 399.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.5516, allocations: 8.344 kB / 399.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/0.5523, allocations: 326.9 kB / 399.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 5.807e-06/0.5523, allocations: 0 / 399.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001174/0.5535, allocations: 0.5056 MB / 400.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.5535, allocations: 119 kB / 400.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.5542, allocations: 419.2 kB / 400.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.5543, allocations: 48.22 kB / 400.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.5545, allocations: 307.5 kB / 401 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.5546, allocations: 163.5 kB / 401.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.5547, allocations: 19.41 kB / 401.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5548, allocations: 364.8 kB / 401.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.5552, allocations: 170.9 kB / 401.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.5557, allocations: 334.2 kB / 402.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.5561, allocations: 193.5 kB / 402.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.314e-06/0.5561, allocations: 3.875 kB / 402.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00136/0.5575, allocations: 0.6139 MB / 402.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.5578, allocations: 1.576 MB / 404.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5579, allocations: 3.938 kB / 404.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006514/0.5585, allocations: 152.3 kB / 404.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.559, allocations: 85.34 kB / 404.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/0.5625, allocations: 2.318 MB / 407 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.5632, allocations: 85.91 kB / 407.1 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.5633, allocations: 23.19 kB / 407.1 MB, free: 28.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5633, allocations: 3.812 kB / 407.1 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/0.5645, allocations: 0.5427 MB / 407.7 MB, free: 28.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.33e-06/0.5645, allocations: 7.844 kB / 407.7 MB, free: 28.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.5651, allocations: 147.9 kB / 407.8 MB, free: 28.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.5655, allocations: 77.02 kB / 407.9 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.5688, allocations: 2.33 MB / 410.2 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.5694, allocations: 73.14 kB / 410.3 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.5694, allocations: 22.94 kB / 410.3 MB, free: 27.19 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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.0002395/0.5697, allocations: 149.8 kB / 410.5 MB, free: 27.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5698, allocations: 58.59 kB / 410.5 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.57, allocations: 69.2 kB / 410.6 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-06/0.57, allocations: 3.906 kB / 410.6 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.838e-06/0.57, allocations: 0 / 410.6 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.63e-06/0.57, allocations: 7.797 kB / 410.6 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.5725, allocations: 1.309 MB / 411.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.5725, allocations: 0 / 411.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.5728, allocations: 47.16 kB / 411.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.5733, allocations: 142.5 kB / 412.1 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.5734, allocations: 10.97 kB / 412.1 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.5767, allocations: 2.326 MB / 414.4 MB, free: 25.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5767, allocations: 3.906 kB / 414.4 MB, free: 25.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.5785, allocations: 0.861 MB / 415.3 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.5788, allocations: 191.8 kB / 415.5 MB, free: 24.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5789, allocations: 18.84 kB / 415.5 MB, free: 24.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.5794, allocations: 36.97 kB / 415.5 MB, free: 24.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.5796, allocations: 62.02 kB / 415.6 MB, free: 24.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.5796, allocations: 18.86 kB / 415.6 MB, free: 24.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005154/0.5802, allocations: 326.3 kB / 415.9 MB, free: 24.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.5802, allocations: 3.938 kB / 415.9 MB, free: 24.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001291/0.5815, allocations: 320.5 kB / 416.2 MB, free: 24.75 MB / 330.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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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.0002329/0.5817, allocations: 134.8 kB / 416.4 MB, free: 24.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.5839, allocations: 1.104 MB / 417.5 MB, free: 24.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.662e-06/0.5839, allocations: 256 / 417.5 MB, free: 24.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.5847, allocations: 432.3 kB / 417.9 MB, free: 24.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/0.5854, allocations: 96.45 kB / 418 MB, free: 24.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.5875, allocations: 0.868 MB / 418.9 MB, free: 23.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.5882, allocations: 0.9398 MB / 419.8 MB, free: 23.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005498/0.5888, allocations: 106.3 kB / 419.9 MB, free: 23.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5889, allocations: 34.72 kB / 419.9 MB, free: 23.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.648e-06/0.5889, allocations: 4 kB / 419.9 MB, free: 23.17 MB / 330.7 MB Notification: Performance of Templates: time 0.0253/0.6142, allocations: 10.36 MB / 430.3 MB, free: 18.29 MB / 330.7 MB