Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.749e-05, allocations: 0 / 292.2 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.08966, allocations: 50.42 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5303, allocations: 92.41 MB / 435 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005988/0.531, allocations: 84.64 kB / 435.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1258/0.6568, allocations: 31.03 MB / 466.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.717e-06/0.6569, allocations: 4 kB / 466.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.657, allocations: 36 kB / 466.1 MB, free: 7.078 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003921/0.6609, allocations: 1.631 MB / 467.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.661, allocations: 8.031 kB / 467.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004956/0.6615, allocations: 170 kB / 468 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00588/0.6674, allocations: 1.675 MB / 469.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.6676, allocations: 102.7 kB / 469.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.6679, allocations: 136.3 kB / 469.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/0.6719, allocations: 1.765 MB / 471.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.6719, allocations: 4 kB / 471.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.6721, allocations: 55.94 kB / 471.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/0.6722, allocations: 62.69 kB / 471.7 MB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003244/0.6755, allocations: 1.395 MB / 473.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.6865, allocations: 5.226 MB / 478.4 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.6891, allocations: 1.154 MB / 479.5 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.6904, allocations: 0.6083 MB / 480.1 MB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.6905, allocations: 12.78 kB / 480.1 MB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.6918, allocations: 0.6448 MB / 480.8 MB, free: 8.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.691e-06/0.6918, allocations: 4 kB / 480.8 MB, free: 8.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.002413/0.6943, allocations: 1.05 MB / 481.8 MB, free: 7.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.6944, allocations: 178.9 kB / 482 MB, free: 6.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.6959, allocations: 0.7852 MB / 482.8 MB, free: 6.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.6961, allocations: 61.69 kB / 482.9 MB, free: 5.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/0.6968, allocations: 0.6086 MB / 483.5 MB, free: 5.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.6971, allocations: 268.3 kB / 483.7 MB, free: 5.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.6972, allocations: 20 kB / 483.8 MB, free: 5.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.6974, allocations: 350 kB / 484.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/0.6984, allocations: 441.8 kB / 484.5 MB, free: 4.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.6996, allocations: 0.6679 MB / 485.2 MB, free: 3.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/0.7006, allocations: 477.8 kB / 485.7 MB, free: 3.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.606e-06/0.7006, allocations: 3.938 kB / 485.7 MB, free: 3.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002782/0.7034, allocations: 1.281 MB / 486.9 MB, free: 1.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001401/0.7048, allocations: 2.542 MB / 489.5 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.7049, allocations: 7.984 kB / 489.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007463/0.7056, allocations: 220.7 kB / 489.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008924/0.7065, allocations: 175.7 kB / 489.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004405/0.711, allocations: 2.764 MB / 492.6 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.7122, allocations: 155.1 kB / 492.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.7123, allocations: 43.98 kB / 492.8 MB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7123, allocations: 4 kB / 492.8 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002551/0.7149, allocations: 1.163 MB / 494 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.7149, allocations: 7.984 kB / 494 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/0.7156, allocations: 221.9 kB / 494.2 MB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.7164, allocations: 171.7 kB / 494.4 MB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.7208, allocations: 2.761 MB / 497.2 MB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.7219, allocations: 139.4 kB / 497.3 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.722, allocations: 36 kB / 497.3 MB, free: 6.863 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 (114): * Single equations (assignments): 113 * 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.0003915/0.7224, allocations: 212.7 kB / 497.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.7227, allocations: 98.78 kB / 497.6 MB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.723, allocations: 125.8 kB / 497.8 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.723, allocations: 8 kB / 497.8 MB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.419e-06/0.7231, allocations: 0 / 497.8 MB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.7231, allocations: 11.98 kB / 497.8 MB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/0.7289, allocations: 2.728 MB / 0.4888 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.7289, allocations: 4 kB / 0.4888 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/0.7296, allocations: 119.9 kB / 0.4889 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006397/0.7303, allocations: 200.8 kB / 0.4891 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.7304, allocations: 15.98 kB / 0.4891 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.7347, allocations: 2.725 MB / 0.4918 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7348, allocations: 4 kB / 0.4918 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.7385, allocations: 1.801 MB / 0.4935 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/0.7392, allocations: 279.7 kB / 0.4938 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.7394, allocations: 31.98 kB / 0.4938 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.7403, allocations: 99.91 kB / 0.4939 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/0.7407, allocations: 148.5 kB / 0.4941 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.7408, allocations: 23.98 kB / 0.4941 GB, free: 13.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.742, allocations: 0.6006 MB / 0.4947 GB, free: 13.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.742, allocations: 0 / 0.4947 GB, free: 13.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002134/0.7441, allocations: 0.6227 MB / 0.4953 GB, free: 12.76 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 (79): * Single equations (assignments): 69 * 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.0003268/0.7445, allocations: 173.2 kB / 0.4954 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004064/0.7485, allocations: 1.986 MB / 0.4974 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.514e-06/0.7486, allocations: 0 / 0.4974 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.7501, allocations: 0.7401 MB / 0.4981 GB, free: 9.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.7513, allocations: 199.8 kB / 0.4983 GB, free: 9.625 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.7564, allocations: 2.12 MB / 0.5004 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.758, allocations: 1.446 MB / 0.5018 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001815/0.7599, allocations: 475.3 kB / 0.5022 GB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.7601, allocations: 55.44 kB / 0.5023 GB, free: 5.469 MB / 426.7 MB Notification: Performance of SimCode: time 1.891e-06/0.7601, allocations: 0 / 0.5023 GB, free: 5.469 MB / 426.7 MB Notification: Performance of Templates: time 0.04492/0.8051, allocations: 17.5 MB / 0.5194 GB, free: 4.168 MB / 442.7 MB