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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.607e-05, allocations: 4 kB / 292.7 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08901, allocations: 50.41 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4652, allocations: 92.43 MB / 435.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4655, allocations: 83.64 kB / 435.6 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1179/0.5835, allocations: 31.03 MB / 466.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.684e-06/0.5835, allocations: 0 / 466.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.5837, allocations: 36 kB / 466.7 MB, free: 7.105 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.004396/0.5881, allocations: 1.631 MB / 468.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5881, allocations: 8.031 kB / 468.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.5887, allocations: 170 kB / 468.5 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/0.5947, allocations: 1.683 MB / 470.2 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.5949, allocations: 106.7 kB / 470.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/0.5953, allocations: 132.3 kB / 470.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.5995, allocations: 1.761 MB / 472.2 MB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/0.5996, allocations: 3.938 kB / 472.2 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.5998, allocations: 60 kB / 472.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.569e-05/0.5999, allocations: 54.69 kB / 472.3 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.6033, allocations: 1.399 MB / 473.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.6151, allocations: 5.222 MB / 478.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.6178, allocations: 1.166 MB / 480.1 MB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.6191, allocations: 0.6083 MB / 480.7 MB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/0.6192, allocations: 16.77 kB / 480.7 MB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/0.6206, allocations: 0.6448 MB / 481.3 MB, free: 8.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.839e-06/0.6206, allocations: 0 / 481.3 MB, free: 8.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.002487/0.6231, allocations: 1.046 MB / 482.4 MB, free: 7.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.6233, allocations: 179 kB / 482.5 MB, free: 6.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.6249, allocations: 0.7891 MB / 483.3 MB, free: 6.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.6251, allocations: 61.69 kB / 483.4 MB, free: 5.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/0.6259, allocations: 0.6086 MB / 484 MB, free: 5.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.6263, allocations: 272.3 kB / 484.3 MB, free: 5.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.6264, allocations: 20 kB / 484.3 MB, free: 5.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.6266, allocations: 345.9 kB / 484.6 MB, free: 4.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009578/0.6276, allocations: 445.8 kB / 485.1 MB, free: 4.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.6288, allocations: 0.6641 MB / 485.7 MB, free: 3.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.6298, allocations: 473.7 kB / 486.2 MB, free: 3.039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.6298, allocations: 11.94 kB / 486.2 MB, free: 3.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002868/0.6327, allocations: 1.281 MB / 487.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001448/0.6342, allocations: 2.534 MB / 490 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6342, allocations: 8 kB / 490 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/0.635, allocations: 220.9 kB / 490.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009132/0.6359, allocations: 175.7 kB / 490.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/0.6404, allocations: 2.757 MB / 493.2 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6416, allocations: 155.1 kB / 493.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.6418, allocations: 39.98 kB / 493.4 MB, free: 11.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6418, allocations: 8 kB / 493.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002581/0.6444, allocations: 1.159 MB / 494.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.6445, allocations: 11.98 kB / 494.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/0.6452, allocations: 221 kB / 494.8 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.646, allocations: 172 kB / 494.9 MB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.6504, allocations: 2.764 MB / 497.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6515, allocations: 135.4 kB / 497.8 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6516, allocations: 36 kB / 497.9 MB, free: 6.891 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.0003971/0.6521, allocations: 216.9 kB / 498.1 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.6523, allocations: 98.78 kB / 498.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.6527, allocations: 125.8 kB / 498.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6527, allocations: 12 kB / 498.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.539e-06/0.6527, allocations: 0 / 498.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.6527, allocations: 3.984 kB / 498.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/0.6586, allocations: 2.732 MB / 0.4893 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.777e-06/0.6587, allocations: 0 / 0.4893 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.6594, allocations: 111.8 kB / 0.4894 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006294/0.66, allocations: 208.8 kB / 0.4896 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.6601, allocations: 24.05 kB / 0.4896 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/0.6645, allocations: 2.714 MB / 0.4923 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.019e-06/0.6645, allocations: 4 kB / 0.4923 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/0.6682, allocations: 1.805 MB / 0.494 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.6689, allocations: 283.7 kB / 0.4943 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.6691, allocations: 31.92 kB / 0.4943 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.67, allocations: 99.91 kB / 0.4944 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/0.6704, allocations: 144.5 kB / 0.4946 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.6706, allocations: 31.98 kB / 0.4946 GB, free: 14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.6717, allocations: 0.5967 MB / 0.4952 GB, free: 13.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.6718, allocations: 0 / 0.4952 GB, free: 13.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002212/0.674, allocations: 0.6227 MB / 0.4958 GB, free: 12.78 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.0003432/0.6743, allocations: 172.5 kB / 0.496 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.6785, allocations: 1.983 MB / 0.4979 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.414e-06/0.6785, allocations: 4 kB / 0.4979 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.68, allocations: 0.7268 MB / 0.4986 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6813, allocations: 204.9 kB / 0.4988 GB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.6866, allocations: 2.116 MB / 0.5009 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.6882, allocations: 1.454 MB / 0.5023 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001843/0.69, allocations: 471.4 kB / 0.5027 GB, free: 5.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.6903, allocations: 55.44 kB / 0.5028 GB, free: 5.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6903, allocations: 0 / 0.5028 GB, free: 5.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04584/0.7362, allocations: 17.51 MB / 0.5199 GB, free: 4.188 MB / 442.7 MB