Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.518e-05, allocations: 2.812 kB / 292.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09063, allocations: 50.42 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4681, allocations: 91.57 MB / 434.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4684, allocations: 86.88 kB / 434.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1136/0.582, allocations: 30.27 MB / 464.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.23e-06/0.5821, allocations: 3.938 kB / 464.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001022/0.5822, allocations: 31.98 kB / 464.5 MB, free: 8.633 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.003579/0.5858, allocations: 1.566 MB / 466.1 MB, free: 6.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5858, allocations: 12.03 kB / 466.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003857/0.5862, allocations: 158.1 kB / 466.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.5916, allocations: 1.663 MB / 467.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.5918, allocations: 102.6 kB / 468 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.5921, allocations: 135.9 kB / 468.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.5959, allocations: 1.713 MB / 469.9 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/0.5959, allocations: 4 kB / 469.9 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.5962, allocations: 52 kB / 469.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.29e-05/0.5962, allocations: 58.52 kB / 470 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.5994, allocations: 1.364 MB / 471.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.6101, allocations: 5.094 MB / 476.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.6123, allocations: 1.004 MB / 477.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.6135, allocations: 0.5782 MB / 478 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.913e-05/0.6136, allocations: 10.67 kB / 478 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.6149, allocations: 0.6136 MB / 478.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 4.75e-06/0.6149, allocations: 4 kB / 478.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002307/0.6172, allocations: 1.011 MB / 479.7 MB, free: 9.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.6174, allocations: 179 kB / 479.8 MB, free: 8.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.619, allocations: 0.7969 MB / 480.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.6192, allocations: 61.69 kB / 480.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007227/0.6199, allocations: 0.6006 MB / 481.3 MB, free: 7.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.6203, allocations: 244.7 kB / 481.5 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.6204, allocations: 20 kB / 481.6 MB, free: 7.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6206, allocations: 345.9 kB / 481.9 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.6215, allocations: 429.8 kB / 482.3 MB, free: 6.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.6227, allocations: 0.664 MB / 483 MB, free: 5.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.6237, allocations: 465.7 kB / 483.4 MB, free: 5.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.983e-06/0.6237, allocations: 8 kB / 483.4 MB, free: 5.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002741/0.6265, allocations: 1.246 MB / 484.7 MB, free: 3.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001416/0.6279, allocations: 2.533 MB / 487.2 MB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.6279, allocations: 11.94 kB / 487.2 MB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007756/0.6287, allocations: 220.7 kB / 487.5 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/0.6295, allocations: 163.6 kB / 487.6 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.634, allocations: 2.791 MB / 490.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.6353, allocations: 155.2 kB / 490.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6354, allocations: 40 kB / 490.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6354, allocations: 4 kB / 490.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002542/0.638, allocations: 1.14 MB / 491.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.638, allocations: 4 kB / 491.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.6387, allocations: 232.9 kB / 492 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.6394, allocations: 148.1 kB / 492.1 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.6438, allocations: 2.78 MB / 494.9 MB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.6449, allocations: 143.3 kB / 495 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.645, allocations: 36 kB / 495.1 MB, free: 9.078 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 (108): * Single equations (assignments): 107 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003699/0.6454, allocations: 208.7 kB / 495.3 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.6456, allocations: 98.78 kB / 495.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.6459, allocations: 121.2 kB / 495.5 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.646, allocations: 8 kB / 495.5 MB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.557e-06/0.646, allocations: 4 kB / 495.5 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.646, allocations: 3.984 kB / 495.5 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.6516, allocations: 2.658 MB / 498.2 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6516, allocations: 0 / 498.2 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.6521, allocations: 87.81 kB / 498.2 MB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006356/0.6528, allocations: 200.8 kB / 498.4 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.727e-05/0.6529, allocations: 15.98 kB / 498.5 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/0.657, allocations: 2.656 MB / 0.4894 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.613e-06/0.657, allocations: 0 / 0.4894 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.6605, allocations: 1.732 MB / 0.4911 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005819/0.6611, allocations: 275.8 kB / 0.4913 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.6613, allocations: 19.98 kB / 0.4913 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/0.662, allocations: 95.91 kB / 0.4914 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/0.6624, allocations: 140.5 kB / 0.4916 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.829e-05/0.6625, allocations: 28 kB / 0.4916 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001176/0.6637, allocations: 0.6084 MB / 0.4922 GB, free: 15.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.69e-07/0.6637, allocations: 0 / 0.4922 GB, free: 15.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002033/0.6658, allocations: 0.5993 MB / 0.4928 GB, free: 15.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (72): * Single equations (assignments): 62 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003089/0.6661, allocations: 176.3 kB / 0.4929 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.6701, allocations: 1.939 MB / 0.4948 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.6701, allocations: 0 / 0.4948 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.6715, allocations: 0.6956 MB / 0.4955 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6726, allocations: 199.2 kB / 0.4957 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.6772, allocations: 1.978 MB / 0.4976 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.6788, allocations: 1.437 MB / 0.499 GB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001658/0.6805, allocations: 463.2 kB / 0.4995 GB, free: 8.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.6807, allocations: 51.44 kB / 0.4995 GB, free: 8.262 MB / 426.7 MB Notification: Performance of SimCode: time 1.688e-06/0.6807, allocations: 0 / 0.4995 GB, free: 8.262 MB / 426.7 MB Notification: Performance of Templates: time 0.04526/0.726, allocations: 17.33 MB / 0.5165 GB, free: 7.086 MB / 442.7 MB