Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.69e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09185, allocations: 50.41 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3712/0.4631, allocations: 91.92 MB / 435 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.4635, allocations: 90.06 kB / 435.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1168/0.5802, allocations: 30.59 MB / 465.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.5803, allocations: 0 / 465.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001143/0.5804, allocations: 40 kB / 465.7 MB, free: 8.039 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003741/0.5842, allocations: 1.587 MB / 467.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5842, allocations: 8.031 kB / 467.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.5847, allocations: 166 kB / 467.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006005/0.5907, allocations: 1.668 MB / 469.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.5909, allocations: 122.5 kB / 469.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.5912, allocations: 128 kB / 469.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/0.5952, allocations: 1.733 MB / 471.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.5953, allocations: 0 / 471.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.5955, allocations: 60 kB / 471.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.402e-05/0.5956, allocations: 58.62 kB / 471.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.5989, allocations: 1.38 MB / 472.6 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.6102, allocations: 5.171 MB / 477.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.6126, allocations: 1.038 MB / 478.8 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.6139, allocations: 0.5927 MB / 479.4 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.614, allocations: 8.781 kB / 479.4 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.6153, allocations: 0.6253 MB / 480.1 MB, free: 9.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 4.364e-06/0.6153, allocations: 0 / 480.1 MB, free: 9.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.002494/0.6178, allocations: 1.015 MB / 481.1 MB, free: 8.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.618, allocations: 182.9 kB / 481.3 MB, free: 8.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.6196, allocations: 0.7968 MB / 482.1 MB, free: 7.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.6198, allocations: 61.69 kB / 482.1 MB, free: 7.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007166/0.6205, allocations: 0.6007 MB / 482.7 MB, free: 6.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.6209, allocations: 264.5 kB / 483 MB, free: 6.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.621, allocations: 20 kB / 483 MB, free: 6.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.6212, allocations: 341.9 kB / 483.3 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009196/0.6221, allocations: 437.8 kB / 483.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.6233, allocations: 0.6601 MB / 484.4 MB, free: 4.805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/0.6243, allocations: 473.8 kB / 484.9 MB, free: 4.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.576e-06/0.6243, allocations: 4 kB / 484.9 MB, free: 4.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002825/0.6272, allocations: 1.269 MB / 486.2 MB, free: 3.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001415/0.6286, allocations: 2.525 MB / 488.7 MB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.6286, allocations: 11.94 kB / 488.7 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.6294, allocations: 216.7 kB / 488.9 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000848/0.6303, allocations: 159.7 kB / 489.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.6348, allocations: 2.776 MB / 491.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.636, allocations: 155.2 kB / 492 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.6361, allocations: 36.09 kB / 492 MB, free: 12.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6362, allocations: 7.938 kB / 492 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002567/0.6387, allocations: 1.147 MB / 493.2 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.6388, allocations: 8.844 kB / 493.2 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.6399, allocations: 220.8 kB / 493.4 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/0.6408, allocations: 155.7 kB / 493.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.6452, allocations: 2.764 MB / 496.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6464, allocations: 139.3 kB / 496.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6466, allocations: 40 kB / 496.5 MB, free: 8.242 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003908/0.647, allocations: 200.8 kB / 496.7 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.6472, allocations: 98.83 kB / 496.8 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.6476, allocations: 121.7 kB / 496.9 MB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.6476, allocations: 11.94 kB / 496.9 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.559e-06/0.6476, allocations: 4 kB / 496.9 MB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.6476, allocations: 7.984 kB / 496.9 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005823/0.6535, allocations: 2.689 MB / 499.6 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.98e-06/0.6535, allocations: 0 / 499.6 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.6541, allocations: 95.78 kB / 499.7 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.6548, allocations: 192.8 kB / 499.9 MB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.6549, allocations: 19.98 kB / 499.9 MB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/0.6596, allocations: 2.737 MB / 0.4909 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.6596, allocations: 0 / 0.4909 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/0.6633, allocations: 1.762 MB / 0.4926 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/0.664, allocations: 283.8 kB / 0.4929 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.6642, allocations: 19.95 kB / 0.4929 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/0.665, allocations: 99.91 kB / 0.493 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003978/0.6654, allocations: 140.6 kB / 0.4931 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/0.6655, allocations: 27.98 kB / 0.4931 GB, free: 15.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.6668, allocations: 0.6045 MB / 0.4937 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.37e-07/0.6668, allocations: 0 / 0.4937 GB, free: 14.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00224/0.669, allocations: 0.6071 MB / 0.4943 GB, free: 14.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 65 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003309/0.6694, allocations: 180.7 kB / 0.4945 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004047/0.6734, allocations: 1.954 MB / 0.4964 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.858e-06/0.6735, allocations: 0 / 0.4964 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.6751, allocations: 0.7208 MB / 0.4971 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6764, allocations: 191.5 kB / 0.4973 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.6815, allocations: 2.068 MB / 0.4993 GB, free: 9.086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.6831, allocations: 1.441 MB / 0.5007 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001781/0.6849, allocations: 467.2 kB / 0.5012 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6852, allocations: 55.44 kB / 0.5012 GB, free: 7.098 MB / 426.7 MB Notification: Performance of SimCode: time 1.905e-06/0.6852, allocations: 0 / 0.5012 GB, free: 7.098 MB / 426.7 MB Notification: Performance of Templates: time 0.04471/0.7299, allocations: 17.19 MB / 0.518 GB, free: 6.062 MB / 442.7 MB