Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R,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_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.91e-05, allocations: 8 kB / 269.4 MB, free: 6.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08244, allocations: 47.58 MB / 317 MB, free: 6.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5095, allocations: 92.34 MB / 409.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5098, allocations: 84.31 kB / 409.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1306/0.6405, allocations: 35.88 MB / 445.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.6405, allocations: 0 / 445.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001464/0.6407, allocations: 55.92 kB / 445.3 MB, free: 13.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 437 * Number of variables: 437 Notification: Performance of Generate backend data structure: time 0.004455/0.6452, allocations: 1.923 MB / 447.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6452, allocations: 11.97 kB / 447.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005055/0.6457, allocations: 221.4 kB / 447.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006091/0.6518, allocations: 2.05 MB / 449.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.652, allocations: 130.7 kB / 449.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.6524, allocations: 173.5 kB / 449.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004725/0.6571, allocations: 2.302 MB / 452.1 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.6572, allocations: 4 kB / 452.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.6574, allocations: 75.11 kB / 452.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.6575, allocations: 75.36 kB / 452.3 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/0.6618, allocations: 1.857 MB / 454.1 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.6755, allocations: 6.757 MB / 460.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.6792, allocations: 1.667 MB / 462.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/0.6816, allocations: 1.134 MB / 463.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-05/0.6817, allocations: 9 kB / 463.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.6835, allocations: 0.8508 MB / 464.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 4.955e-06/0.6835, allocations: 0 / 464.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=120): time 0.003722/0.6872, allocations: 1.633 MB / 466.2 MB, free: 9.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.6874, allocations: 157.5 kB / 466.3 MB, free: 9.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.6894, allocations: 1.042 MB / 467.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.6896, allocations: 81.67 kB / 467.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009506/0.6906, allocations: 0.7337 MB / 468.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.6911, allocations: 359.1 kB / 468.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.6912, allocations: 24 kB / 468.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.6914, allocations: 361.9 kB / 468.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.6928, allocations: 0.6312 MB / 469.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.6944, allocations: 0.885 MB / 470.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.6958, allocations: 0.6763 MB / 471.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.212e-06/0.6958, allocations: 0 / 471.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004071/0.6999, allocations: 1.898 MB / 473 MB, free: 2.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001399/0.7013, allocations: 2.451 MB / 475.5 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.7013, allocations: 7.938 kB / 475.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.7031, allocations: 0.5126 MB / 476 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.7039, allocations: 167.6 kB / 476.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.7143, allocations: 5.5 MB / 481.6 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.7157, allocations: 195 kB / 481.8 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.7158, allocations: 44 kB / 481.9 MB, free: 9.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7159, allocations: 4 kB / 481.9 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00377/0.7196, allocations: 1.769 MB / 483.7 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.7197, allocations: 7.953 kB / 483.7 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.7213, allocations: 0.5093 MB / 484.2 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.7221, allocations: 159.7 kB / 484.3 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.7322, allocations: 5.489 MB / 489.8 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.7335, allocations: 167.2 kB / 490 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.7336, allocations: 51.95 kB / 490 MB, free: 1.258 MB / 394.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (129): * Single equations (assignments): 128 * 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.0004514/0.7341, allocations: 239.2 kB / 490.3 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.7344, allocations: 126.4 kB / 490.4 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.7349, allocations: 172.5 kB / 490.6 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.7349, allocations: 12 kB / 490.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.128e-06/0.7349, allocations: 0 / 490.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.7349, allocations: 7.969 kB / 490.6 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007864/0.7428, allocations: 3.65 MB / 494.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.238e-06/0.7429, allocations: 7.938 kB / 494.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.7434, allocations: 87.81 kB / 494.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.7449, allocations: 488.3 kB / 494.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.7451, allocations: 23.98 kB / 494.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009988/0.7551, allocations: 5.418 MB / 0.4885 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7551, allocations: 7.953 kB / 0.4885 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.76, allocations: 2.509 MB / 0.491 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007875/0.7609, allocations: 367.2 kB / 0.4913 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.7611, allocations: 39.98 kB / 0.4914 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.7621, allocations: 116 kB / 0.4915 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006118/0.7627, allocations: 224.6 kB / 0.4917 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.7628, allocations: 35.94 kB / 0.4917 GB, free: 3.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.7644, allocations: 0.7845 MB / 0.4925 GB, free: 2.711 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.98e-07/0.7644, allocations: 3.938 kB / 0.4925 GB, free: 2.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002643/0.767, allocations: 0.845 MB / 0.4933 GB, free: 1.859 MB / 410.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: 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.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.000371/0.7674, allocations: 197.4 kB / 0.4935 GB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00601/0.7734, allocations: 2.959 MB / 0.4964 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.501e-06/0.7735, allocations: 7.984 kB / 0.4964 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.7756, allocations: 1.017 MB / 0.4974 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.7772, allocations: 312.2 kB / 0.4977 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.7838, allocations: 2.757 MB / 0.5004 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/0.7859, allocations: 1.717 MB / 0.5021 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00211/0.788, allocations: 0.5802 MB / 0.5026 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.7883, allocations: 71.44 kB / 0.5027 GB, free: 8.145 MB / 426.7 MB Notification: Performance of SimCode: time 4.306e-06/0.7883, allocations: 0 / 0.5027 GB, free: 8.145 MB / 426.7 MB Notification: Performance of Templates: time 0.2821/1.07, allocations: 29.59 MB / 0.5316 GB, free: 126.2 MB / 426.7 MB