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_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 194.9 MB / 208 MB, free: 3.227 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.874e-05, allocations: 0 / 255.4 MB, free: 2.676 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07662/0.07667, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3326/0.4093, allocations: 85.08 MB / 385 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.4096, allocations: 83.75 kB / 385.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09845/0.5081, allocations: 28.17 MB / 413.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.998e-06/0.5082, allocations: 0 / 413.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.5083, allocations: 39.28 kB / 413.3 MB, free: 13.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002893/0.5112, allocations: 1.52 MB / 414.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5112, allocations: 11.69 kB / 414.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.5116, allocations: 160.4 kB / 415 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/0.5164, allocations: 1.627 MB / 416.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.5165, allocations: 104.2 kB / 416.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.5167, allocations: 134.5 kB / 416.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.52, allocations: 1.651 MB / 418.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.52, allocations: 3.984 kB / 418.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.5202, allocations: 59.75 kB / 418.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.519e-05/0.5203, allocations: 56.94 kB / 418.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.523, allocations: 1.3 MB / 419.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008903/0.532, allocations: 4.949 MB / 424.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.5339, allocations: 1.045 MB / 425.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.535, allocations: 0.5579 MB / 426.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.5351, allocations: 12.34 kB / 426.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5362, allocations: 0.5781 MB / 427 MB, free: 7.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 4.433e-06/0.5362, allocations: 4 kB / 427 MB, free: 7.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.002062/0.5383, allocations: 0.9872 MB / 428 MB, free: 7.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.5384, allocations: 148.2 kB / 428.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.5397, allocations: 0.7642 MB / 428.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.5399, allocations: 56.28 kB / 429 MB, free: 7.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/0.5404, allocations: 0.5739 MB / 429.6 MB, free: 6.883 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.5406, allocations: 248.2 kB / 429.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.5407, allocations: 18.5 kB / 429.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.5408, allocations: 344.3 kB / 430.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.5416, allocations: 405.7 kB / 430.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.5425, allocations: 0.625 MB / 431.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008077/0.5433, allocations: 431.5 kB / 431.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.03e-06/0.5434, allocations: 3.906 kB / 431.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002295/0.5457, allocations: 1.19 MB / 432.8 MB, free: 5.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004958/0.5462, allocations: 2.526 MB / 435.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5462, allocations: 6.375 kB / 435.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/0.5469, allocations: 226.1 kB / 435.5 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.5476, allocations: 146.8 kB / 435.7 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.5514, allocations: 2.775 MB / 438.5 MB, free: 16.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.5525, allocations: 145.6 kB / 438.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.22e-05/0.5526, allocations: 35.34 kB / 438.6 MB, free: 16.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5527, allocations: 3.906 kB / 438.6 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001932/0.5546, allocations: 1.088 MB / 439.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5546, allocations: 8 kB / 439.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.5552, allocations: 221.8 kB / 440 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.5558, allocations: 143.7 kB / 440.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.5601, allocations: 2.768 MB / 442.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.5611, allocations: 139.3 kB / 443 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.5613, allocations: 40 kB / 443 MB, free: 12.29 MB / 330.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (106): * Single equations (assignments): 105 * 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.0003705/0.5616, allocations: 196.8 kB / 443.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.5619, allocations: 94.86 kB / 443.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.5622, allocations: 113 kB / 443.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5622, allocations: 8 kB / 443.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.932e-06/0.5622, allocations: 4 kB / 443.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5623, allocations: 3.984 kB / 443.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/0.5677, allocations: 2.537 MB / 446 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.924e-06/0.5677, allocations: 0 / 446 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.5682, allocations: 75.89 kB / 446.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006244/0.5689, allocations: 208.7 kB / 446.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.569, allocations: 16 kB / 446.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.5733, allocations: 2.717 MB / 449 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.011e-06/0.5733, allocations: 0 / 449 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.5766, allocations: 1.633 MB / 450.6 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.5773, allocations: 271.8 kB / 450.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.5775, allocations: 23.98 kB / 450.9 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.5783, allocations: 95.84 kB / 451 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/0.5787, allocations: 148.5 kB / 451.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-05/0.5788, allocations: 23.98 kB / 451.2 MB, free: 3.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00115/0.5799, allocations: 0.5772 MB / 451.8 MB, free: 3.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.029e-06/0.58, allocations: 4 kB / 451.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002156/0.5821, allocations: 0.5721 MB / 452.3 MB, free: 2.723 MB / 330.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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[3].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.000325/0.5825, allocations: 160.7 kB / 452.5 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003869/0.5864, allocations: 1.857 MB / 454.3 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.313e-06/0.5864, allocations: 0 / 454.3 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.5878, allocations: 0.6762 MB / 455 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.589, allocations: 188.6 kB / 455.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.5937, allocations: 1.956 MB / 457.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.5952, allocations: 1.405 MB / 458.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001598/0.5969, allocations: 430.9 kB / 459 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.5971, allocations: 51.44 kB / 459 MB, free: 11.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.684e-06/0.5971, allocations: 0 / 459 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Templates: time 0.0419/0.639, allocations: 16.47 MB / 475.5 MB, free: 11.49 MB / 362.7 MB