Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|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_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|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.ThyristorBridge2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.615e-05, allocations: 4 kB / 292.7 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 50.41 MB / 343.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4838, allocations: 94.72 MB / 437.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4841, allocations: 93.67 kB / 437.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1489/0.633, allocations: 39.07 MB / 477 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.047e-06/0.633, allocations: 0 / 477 MB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.6332, allocations: 48 kB / 477 MB, free: 12.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005555/0.6388, allocations: 2.055 MB / 479.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6389, allocations: 8.031 kB / 479.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.6396, allocations: 241.1 kB / 479.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007662/0.6473, allocations: 2.109 MB / 481.4 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.6475, allocations: 143.6 kB / 481.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.6479, allocations: 183.9 kB / 481.8 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005636/0.6536, allocations: 2.424 MB / 484.2 MB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-05/0.6537, allocations: 8 kB / 484.2 MB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/0.654, allocations: 75.98 kB / 484.3 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.6541, allocations: 79.53 kB / 484.3 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.6588, allocations: 1.959 MB / 486.3 MB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.6747, allocations: 7.076 MB / 493.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/0.6785, allocations: 1.716 MB / 495.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.6807, allocations: 1.003 MB / 496.1 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.378e-05/0.6808, allocations: 13 kB / 496.1 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002007/0.6828, allocations: 0.9251 MB / 497 MB, free: 8.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 8.925e-06/0.6829, allocations: 0 / 497 MB, free: 8.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.004223/0.6871, allocations: 1.734 MB / 498.8 MB, free: 6.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.6873, allocations: 183.5 kB / 498.9 MB, free: 6.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.6896, allocations: 1.06 MB / 0.4883 GB, free: 5.281 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002514/0.6898, allocations: 77.67 kB / 0.4884 GB, free: 5.199 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.6909, allocations: 0.7808 MB / 0.4891 GB, free: 4.406 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005668/0.6915, allocations: 390.6 kB / 0.4895 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.6916, allocations: 32 kB / 0.4895 GB, free: 3.988 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.6919, allocations: 361.9 kB / 0.4899 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.6942, allocations: 0.6793 MB / 0.4905 GB, free: 2.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.696, allocations: 0.9418 MB / 0.4915 GB, free: 1.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.6977, allocations: 0.727 MB / 0.4922 GB, free: 1.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.6977, allocations: 4 kB / 0.4922 GB, free: 1.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004661/0.7024, allocations: 2.001 MB / 0.4941 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001391/0.7038, allocations: 2.46 MB / 0.4965 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.7038, allocations: 8 kB / 0.4965 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.7055, allocations: 0.4909 MB / 0.497 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.7067, allocations: 199.6 kB / 0.4972 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.7168, allocations: 5.209 MB / 0.5023 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.7184, allocations: 183 kB / 0.5025 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.7186, allocations: 48 kB / 0.5025 GB, free: 6.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7187, allocations: 4 kB / 0.5025 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004204/0.7229, allocations: 1.862 MB / 0.5043 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.7229, allocations: 4.812 kB / 0.5043 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.7245, allocations: 0.4928 MB / 0.5048 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7255, allocations: 199.5 kB / 0.505 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009977/0.7355, allocations: 5.207 MB / 0.5101 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.737, allocations: 179.1 kB / 0.5103 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.7372, allocations: 48 kB / 0.5103 GB, free: 14.11 MB / 442.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: 69 ($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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (144): * Single equations (assignments): 143 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005016/0.7377, allocations: 242.2 kB / 0.5105 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.7381, allocations: 130.4 kB / 0.5107 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.7386, allocations: 185.8 kB / 0.5108 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.7387, allocations: 12 kB / 0.5109 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.201e-06/0.7387, allocations: 4 kB / 0.5109 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.7387, allocations: 7.969 kB / 0.5109 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/0.7469, allocations: 3.762 MB / 0.5145 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.267e-06/0.7469, allocations: 0 / 0.5145 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.7477, allocations: 131.8 kB / 0.5147 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.7493, allocations: 464.7 kB / 0.5151 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.7494, allocations: 27.98 kB / 0.5151 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009818/0.7592, allocations: 5.151 MB / 0.5202 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-06/0.7593, allocations: 0 / 0.5202 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00594/0.7652, allocations: 2.754 MB / 0.5229 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.7663, allocations: 391.1 kB / 0.5232 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.7667, allocations: 51.88 kB / 0.5233 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7678, allocations: 115.9 kB / 0.5234 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000671/0.7685, allocations: 236.9 kB / 0.5236 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.7686, allocations: 39.92 kB / 0.5237 GB, free: 204 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.2405/1.009, allocations: 0.7917 MB / 0.5244 GB, free: 126.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.148e-06/1.009, allocations: 0 / 0.5244 GB, free: 126.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003269/1.012, allocations: 0.8972 MB / 0.5253 GB, free: 126.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 48 (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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 89 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004466/1.013, allocations: 222.7 kB / 0.5255 GB, free: 126.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00625/1.019, allocations: 3.116 MB / 0.5286 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.019, allocations: 0 / 0.5286 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/1.021, allocations: 1.086 MB / 0.5296 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.023, allocations: 321.5 kB / 0.5299 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/1.03, allocations: 2.988 MB / 0.5328 GB, free: 125.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/1.032, allocations: 1.773 MB / 0.5346 GB, free: 124.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002679/1.035, allocations: 0.6548 MB / 0.5352 GB, free: 124.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.035, allocations: 76.12 kB / 0.5353 GB, free: 124.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.75e-06/1.035, allocations: 0 / 0.5353 GB, free: 124.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06593/1.101, allocations: 29.58 MB / 0.5642 GB, free: 122.2 MB / 442.7 MB