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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.348e-05, allocations: 0 / 292.2 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.08938, allocations: 50.4 MB / 342.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.467, allocations: 94.72 MB / 437.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4674, allocations: 90 kB / 437.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1475/0.6149, allocations: 39.08 MB / 476.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.001e-06/0.615, allocations: 0 / 476.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001618/0.6152, allocations: 47.94 kB / 476.5 MB, free: 12.57 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.00516/0.6203, allocations: 2.051 MB / 478.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.6204, allocations: 12.03 kB / 478.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006322/0.621, allocations: 233.2 kB / 478.8 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007556/0.6286, allocations: 2.12 MB / 480.9 MB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.6288, allocations: 143.6 kB / 481.1 MB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005209/0.6294, allocations: 187.9 kB / 481.2 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005652/0.635, allocations: 2.424 MB / 483.7 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.6351, allocations: 0 / 483.7 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.6354, allocations: 80 kB / 483.7 MB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.6356, allocations: 75.59 kB / 483.8 MB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004708/0.6403, allocations: 1.959 MB / 485.8 MB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.6561, allocations: 7.068 MB / 492.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.6598, allocations: 1.716 MB / 494.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.6619, allocations: 1.012 MB / 495.6 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.662, allocations: 13 kB / 495.6 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/0.664, allocations: 0.9329 MB / 496.5 MB, free: 8.203 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 5.254e-06/0.664, allocations: 0 / 496.5 MB, free: 8.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.004188/0.6682, allocations: 1.731 MB / 498.2 MB, free: 6.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.6684, allocations: 183.5 kB / 498.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.6707, allocations: 1.056 MB / 499.5 MB, free: 5.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.6709, allocations: 73.69 kB / 499.6 MB, free: 5.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009809/0.6719, allocations: 0.7846 MB / 0.4886 GB, free: 4.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/0.6725, allocations: 398.6 kB / 0.489 GB, free: 3.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.6726, allocations: 24 kB / 0.489 GB, free: 3.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.6728, allocations: 365.9 kB / 0.4894 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.6743, allocations: 0.6755 MB / 0.49 GB, free: 2.836 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.6761, allocations: 0.9457 MB / 0.4909 GB, free: 1.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.6776, allocations: 0.727 MB / 0.4917 GB, free: 1.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.6776, allocations: 4 kB / 0.4917 GB, free: 1.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004414/0.6821, allocations: 2.008 MB / 0.4936 GB, free: 15.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001384/0.6835, allocations: 2.452 MB / 0.496 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.6835, allocations: 4 kB / 0.496 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.6852, allocations: 498.6 kB / 0.4965 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6863, allocations: 199.6 kB / 0.4967 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009837/0.6962, allocations: 5.214 MB / 0.5018 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.6977, allocations: 187 kB / 0.502 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.698, allocations: 51.98 kB / 0.502 GB, free: 6.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.698, allocations: 4 kB / 0.502 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004007/0.702, allocations: 1.855 MB / 0.5038 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.702, allocations: 8.812 kB / 0.5038 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.7036, allocations: 0.4886 MB / 0.5043 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/0.7046, allocations: 183.7 kB / 0.5045 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00967/0.7143, allocations: 5.22 MB / 0.5096 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.7157, allocations: 179.1 kB / 0.5097 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.7159, allocations: 44 kB / 0.5098 GB, free: 14.01 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.0005177/0.7164, allocations: 249.4 kB / 0.51 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.7168, allocations: 130.4 kB / 0.5102 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.7173, allocations: 173.8 kB / 0.5103 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.7174, allocations: 22.08 kB / 0.5103 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.7174, allocations: 3.984 kB / 0.5103 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.7174, allocations: 3.984 kB / 0.5103 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008075/0.7255, allocations: 3.762 MB / 0.514 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.437e-06/0.7255, allocations: 0 / 0.514 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.7264, allocations: 127.8 kB / 0.5141 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.7279, allocations: 472.7 kB / 0.5146 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.7281, allocations: 23.98 kB / 0.5146 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009618/0.7377, allocations: 5.155 MB / 0.5197 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7377, allocations: 0 / 0.5197 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/0.7435, allocations: 2.75 MB / 0.5223 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.7446, allocations: 391.1 kB / 0.5227 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.7449, allocations: 43.98 kB / 0.5228 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.7459, allocations: 127.8 kB / 0.5229 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006696/0.7466, allocations: 232.9 kB / 0.5231 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.7468, allocations: 35.98 kB / 0.5231 GB, free: 100 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.2472/0.994, allocations: 0.7965 MB / 0.5239 GB, free: 126.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.856e-06/0.994, allocations: 0 / 0.5239 GB, free: 126.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005434/0.9995, allocations: 0.8974 MB / 0.5248 GB, free: 126.7 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.0006898/1, allocations: 229.2 kB / 0.525 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.011, allocations: 3.116 MB / 0.528 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.764e-06/1.011, allocations: 1.125 kB / 0.528 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003498/1.014, allocations: 1.085 MB / 0.5291 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.017, allocations: 322.1 kB / 0.5294 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.031, allocations: 2.986 MB / 0.5323 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003768/1.034, allocations: 1.772 MB / 0.5341 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005306/1.04, allocations: 0.6503 MB / 0.5347 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006376/1.04, allocations: 71.81 kB / 0.5348 GB, free: 124.8 MB / 442.7 MB Notification: Performance of SimCode: time 3.523e-06/1.04, allocations: 0 / 0.5348 GB, free: 124.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1269/1.167, allocations: 29.59 MB / 0.5637 GB, free: 122.5 MB / 442.7 MB