Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_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.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.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.818/1.818, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.943e-05, allocations: 5.25 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07571/0.07576, allocations: 44.49 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4089, allocations: 86.81 MB / 386.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4092, allocations: 92.09 kB / 386.8 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1448/0.554, allocations: 36.19 MB / 423 MB, free: 8.727 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.409e-06/0.5541, allocations: 0 / 423 MB, free: 8.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.5542, allocations: 46.34 kB / 423 MB, free: 8.719 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.004579/0.5588, allocations: 2.024 MB / 425.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5589, allocations: 11.5 kB / 425.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007082/0.5596, allocations: 226 kB / 425.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/0.5655, allocations: 1.967 MB / 427.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.5657, allocations: 140.5 kB / 427.4 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004796/0.5661, allocations: 174.1 kB / 427.6 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/0.5711, allocations: 2.346 MB / 429.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.5712, allocations: 15.38 kB / 429.9 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.5714, allocations: 69.25 kB / 430 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.985e-05/0.5715, allocations: 73.89 kB / 430.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.5758, allocations: 1.948 MB / 432 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.5889, allocations: 7.217 MB / 439.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/0.592, allocations: 1.532 MB / 440.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.5939, allocations: 0.921 MB / 441.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.594, allocations: 16.98 kB / 441.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/0.5959, allocations: 0.8544 MB / 442.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 4.836e-06/0.5959, allocations: 0 / 442.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.003605/0.5995, allocations: 1.513 MB / 444.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.5997, allocations: 123.8 kB / 444.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.602, allocations: 1.092 MB / 445.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.6022, allocations: 65.69 kB / 445.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000961/0.6032, allocations: 0.7694 MB / 446.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000471/0.6037, allocations: 355.1 kB / 446.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.6038, allocations: 24 kB / 446.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.604, allocations: 357.9 kB / 446.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.6053, allocations: 0.5999 MB / 447.4 MB, free: 8.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.6069, allocations: 0.7927 MB / 448.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.6082, allocations: 0.606 MB / 448.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.684e-06/0.6082, allocations: 0 / 448.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003926/0.6122, allocations: 1.731 MB / 450.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.6133, allocations: 1.931 MB / 452.5 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.6133, allocations: 4 kB / 452.5 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.6152, allocations: 434 kB / 452.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.6172, allocations: 187.7 kB / 453.1 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008647/0.6259, allocations: 4.4 MB / 457.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.6274, allocations: 163.2 kB / 457.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.6275, allocations: 44 kB / 457.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6275, allocations: 4 kB / 457.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003508/0.6311, allocations: 1.578 MB / 459.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6311, allocations: 7.953 kB / 459.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.6324, allocations: 425.5 kB / 459.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6334, allocations: 187.6 kB / 459.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008019/0.6415, allocations: 4.393 MB / 464.3 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.6429, allocations: 167.2 kB / 464.4 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.643, allocations: 44 kB / 464.5 MB, free: 6.809 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,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 (123): * Single equations (assignments): 122 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004517/0.6435, allocations: 224.7 kB / 464.7 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.6438, allocations: 134.4 kB / 464.8 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.6443, allocations: 169 kB / 465 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.6444, allocations: 12 kB / 465 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6444, allocations: 0 / 465 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.6444, allocations: 7.969 kB / 465 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0084/0.6528, allocations: 3.622 MB / 468.6 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.033e-06/0.6529, allocations: 0 / 468.6 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/0.6538, allocations: 139.8 kB / 468.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.6551, allocations: 400.5 kB / 469.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.6553, allocations: 23.98 kB / 469.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008023/0.6633, allocations: 4.315 MB / 473.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.801e-06/0.6634, allocations: 4 kB / 473.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/0.6688, allocations: 2.521 MB / 476 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.67, allocations: 363.2 kB / 476.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.6704, allocations: 35.98 kB / 476.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6714, allocations: 115.9 kB / 476.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006704/0.6721, allocations: 232.6 kB / 476.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.6723, allocations: 35.92 kB / 476.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001736/0.674, allocations: 0.8331 MB / 477.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.96e-07/0.674, allocations: 0 / 477.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002958/0.677, allocations: 0.8485 MB / 478.5 MB, free: 8.547 MB / 362.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 81 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003914/0.6774, allocations: 180.5 kB / 478.7 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006083/0.6835, allocations: 2.756 MB / 481.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.288e-06/0.6836, allocations: 4.062 kB / 481.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.6858, allocations: 0.9804 MB / 482.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.6876, allocations: 296.3 kB / 482.7 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0075/0.6951, allocations: 2.888 MB / 485.6 MB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/0.6974, allocations: 1.753 MB / 487.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002473/0.6999, allocations: 0.6109 MB / 487.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.7002, allocations: 71.42 kB / 488 MB, free: 14.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.927e-06/0.7003, allocations: 0 / 488 MB, free: 14.91 MB / 378.7 MB Notification: Performance of Templates: time 0.09625/0.7965, allocations: 26.76 MB / 0.5027 GB, free: 4.191 MB / 394.7 MB