Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.057e-05, allocations: 2.812 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09152, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.5041, allocations: 93.7 MB / 436.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5044, allocations: 93.61 kB / 436.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1185/0.6229, allocations: 29.95 MB / 466.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.623, allocations: 0 / 466.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.6232, allocations: 51.94 kB / 466.9 MB, free: 6.805 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005285/0.6285, allocations: 1.93 MB / 468.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.6285, allocations: 8.031 kB / 468.8 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.6294, allocations: 217.5 kB / 469 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007495/0.6369, allocations: 2.061 MB / 471.1 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.6371, allocations: 131.3 kB / 471.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/0.6376, allocations: 175.9 kB / 471.4 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.6428, allocations: 2.267 MB / 473.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/0.6429, allocations: 0 / 473.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.6432, allocations: 68 kB / 473.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.6433, allocations: 75.22 kB / 473.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.6477, allocations: 1.838 MB / 475.6 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.663, allocations: 6.694 MB / 482.3 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.6662, allocations: 1.552 MB / 483.9 MB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.6688, allocations: 1.135 MB / 485 MB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.752e-05/0.6689, allocations: 20.92 kB / 485.1 MB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.6706, allocations: 0.8547 MB / 485.9 MB, free: 3.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 4.94e-06/0.6706, allocations: 0 / 485.9 MB, free: 3.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.003858/0.6745, allocations: 1.644 MB / 487.6 MB, free: 1.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.6747, allocations: 179.2 kB / 487.7 MB, free: 1.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.6769, allocations: 1.039 MB / 488.8 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.6771, allocations: 69.69 kB / 488.8 MB, free: 444 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009125/0.678, allocations: 0.7337 MB / 489.6 MB, free: 15.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.6785, allocations: 363 kB / 489.9 MB, free: 15.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.6786, allocations: 24 kB / 489.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.6788, allocations: 365.9 kB / 490.3 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.6801, allocations: 0.6116 MB / 490.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.6817, allocations: 0.8661 MB / 491.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.6832, allocations: 0.6763 MB / 492.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.6832, allocations: 4 kB / 492.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004026/0.6872, allocations: 1.858 MB / 494.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001382/0.6886, allocations: 2.459 MB / 496.8 MB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.6886, allocations: 4 kB / 496.8 MB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.6903, allocations: 0.5003 MB / 497.3 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009125/0.6913, allocations: 175.6 kB / 497.5 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.7016, allocations: 5.387 MB / 0.4911 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.7031, allocations: 191 kB / 0.4912 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.7033, allocations: 44 kB / 0.4913 GB, free: 1.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7033, allocations: 4 kB / 0.4913 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00377/0.7071, allocations: 1.726 MB / 0.493 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.7071, allocations: 4.812 kB / 0.493 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.7087, allocations: 0.4929 MB / 0.4935 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/0.7096, allocations: 179.7 kB / 0.4936 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.7198, allocations: 5.38 MB / 0.4989 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7212, allocations: 163.2 kB / 0.499 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.7214, allocations: 44 kB / 0.4991 GB, free: 9.598 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {6 32} Notification: Performance of prepare postOptimizeDAE: time 0.000463/0.7219, allocations: 228.8 kB / 0.4993 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.7222, allocations: 130.5 kB / 0.4994 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.7227, allocations: 160.5 kB / 0.4996 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.7227, allocations: 12 kB / 0.4996 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.761e-06/0.7227, allocations: 0 / 0.4996 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.7227, allocations: 7.922 kB / 0.4996 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008376/0.7311, allocations: 3.7 MB / 0.5032 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.7312, allocations: 3.984 kB / 0.5032 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.7318, allocations: 91.89 kB / 0.5033 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.7334, allocations: 489.1 kB / 0.5038 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.7335, allocations: 27.94 kB / 0.5038 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.7436, allocations: 5.329 MB / 0.509 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.853e-06/0.7436, allocations: 0 / 0.509 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.7489, allocations: 2.56 MB / 0.5115 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009983/0.75, allocations: 367.2 kB / 0.5118 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/0.7503, allocations: 35.98 kB / 0.5119 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.7513, allocations: 111.8 kB / 0.512 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/0.7519, allocations: 180.7 kB / 0.5122 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.752, allocations: 32 kB / 0.5122 GB, free: 11.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00165/0.7537, allocations: 0.7886 MB / 0.513 GB, free: 11.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.85e-07/0.7537, allocations: 0 / 0.513 GB, free: 11.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002868/0.7566, allocations: 0.841 MB / 0.5138 GB, free: 10.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003943/0.757, allocations: 192.5 kB / 0.514 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006456/0.7635, allocations: 2.927 MB / 0.5168 GB, free: 7.125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.927e-06/0.7635, allocations: 0 / 0.5168 GB, free: 7.125 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.7658, allocations: 1.022 MB / 0.5178 GB, free: 6.098 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.7677, allocations: 320.2 kB / 0.5181 GB, free: 5.785 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006737/0.7745, allocations: 2.765 MB / 0.5208 GB, free: 2.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.7766, allocations: 1.721 MB / 0.5225 GB, free: 1.227 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002253/0.7789, allocations: 0.5763 MB / 0.5231 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.7792, allocations: 63.44 kB / 0.5231 GB, free: 0.582 MB / 442.7 MB Notification: Performance of SimCode: time 1.718e-06/0.7792, allocations: 4 kB / 0.5231 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of Templates: time 0.3431/1.122, allocations: 29.21 MB / 0.5517 GB, free: 126.3 MB / 442.7 MB