Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.582e-05, allocations: 0 / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08906, allocations: 50.42 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4623, allocations: 93.61 MB / 436.7 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.4626, allocations: 90.3 kB / 436.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1452/0.6079, allocations: 38.73 MB / 475.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.483e-06/0.6079, allocations: 0 / 475.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001526/0.6081, allocations: 47.94 kB / 475.6 MB, free: 14.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.004986/0.6131, allocations: 2.082 MB / 477.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6131, allocations: 8.031 kB / 477.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/0.6138, allocations: 241.2 kB / 477.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006688/0.6205, allocations: 2.004 MB / 479.9 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.6207, allocations: 147.5 kB / 480.1 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/0.6212, allocations: 176 kB / 480.2 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.6267, allocations: 2.411 MB / 482.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/0.6267, allocations: 0 / 482.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/0.627, allocations: 79.98 kB / 482.7 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.6271, allocations: 79.56 kB / 482.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/0.6319, allocations: 2.018 MB / 484.8 MB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.6482, allocations: 7.525 MB / 492.3 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.6512, allocations: 1.516 MB / 493.9 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.6531, allocations: 0.9439 MB / 494.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.6532, allocations: 9 kB / 494.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.655, allocations: 0.8772 MB / 495.7 MB, free: 9.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.9e-06/0.655, allocations: 0 / 495.7 MB, free: 9.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.003531/0.6586, allocations: 1.552 MB / 497.2 MB, free: 7.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.6587, allocations: 157.5 kB / 497.4 MB, free: 7.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.6611, allocations: 1.149 MB / 498.5 MB, free: 6.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.6613, allocations: 69.69 kB / 498.6 MB, free: 6.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009726/0.6623, allocations: 0.8006 MB / 499.4 MB, free: 5.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.6628, allocations: 359.1 kB / 499.8 MB, free: 5.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6629, allocations: 20 kB / 499.8 MB, free: 5.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.6631, allocations: 357.9 kB / 0.4884 GB, free: 5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.6645, allocations: 0.6194 MB / 0.489 GB, free: 4.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.666, allocations: 0.8367 MB / 0.4898 GB, free: 3.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.6674, allocations: 0.6412 MB / 0.4905 GB, free: 2.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.694e-06/0.6674, allocations: 0 / 0.4905 GB, free: 2.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003955/0.6714, allocations: 1.801 MB / 0.4922 GB, free: 1.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001104/0.6725, allocations: 1.942 MB / 0.4941 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.6726, allocations: 7.984 kB / 0.4941 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.6739, allocations: 430.9 kB / 0.4945 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.675, allocations: 187.7 kB / 0.4947 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007917/0.6829, allocations: 4.402 MB / 0.499 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.6844, allocations: 183.1 kB / 0.4992 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.6846, allocations: 44 kB / 0.4992 GB, free: 9.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6846, allocations: 8 kB / 0.4992 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003549/0.6882, allocations: 1.636 MB / 0.5008 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.6882, allocations: 12.09 kB / 0.5008 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.6895, allocations: 424.1 kB / 0.5012 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009894/0.6905, allocations: 191.6 kB / 0.5014 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/0.6984, allocations: 4.4 MB / 0.5057 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6998, allocations: 159.4 kB / 0.5059 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.7, allocations: 47.98 kB / 0.5059 GB, free: 2.562 MB / 426.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_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,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 (128): * Single equations (assignments): 127 * 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.0004586/0.7005, allocations: 220.5 kB / 0.5061 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.7008, allocations: 146.3 kB / 0.5063 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.7013, allocations: 181.2 kB / 0.5064 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7013, allocations: 12 kB / 0.5065 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.7014, allocations: 3.938 kB / 0.5065 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.887e-05/0.7014, allocations: 7.969 kB / 0.5065 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008252/0.7096, allocations: 3.744 MB / 0.5101 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.122e-06/0.7097, allocations: 0 / 0.5101 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/0.7105, allocations: 131.8 kB / 0.5102 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.7117, allocations: 400.5 kB / 0.5106 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.7119, allocations: 23.98 kB / 0.5107 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00781/0.7197, allocations: 4.337 MB / 0.5149 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.994e-06/0.7197, allocations: 0 / 0.5149 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005396/0.7251, allocations: 2.599 MB / 0.5174 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.7262, allocations: 379.2 kB / 0.5178 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.7265, allocations: 31.98 kB / 0.5178 GB, free: 6.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/0.7275, allocations: 111.9 kB / 0.5179 GB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006437/0.7281, allocations: 236.6 kB / 0.5181 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7283, allocations: 31.98 kB / 0.5182 GB, free: 5.762 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001796/0.7301, allocations: 0.8773 MB / 0.519 GB, free: 4.875 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.81e-07/0.7301, allocations: 0 / 0.519 GB, free: 4.875 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002779/0.7329, allocations: 0.868 MB / 0.5199 GB, free: 4.004 MB / 442.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * 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.0003768/0.7333, allocations: 200.3 kB / 0.5201 GB, free: 3.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005922/0.7392, allocations: 2.835 MB / 0.5228 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.472e-06/0.7393, allocations: 4 kB / 0.5228 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2295/0.9688, allocations: 0.9944 MB / 0.5238 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.9707, allocations: 301.9 kB / 0.5241 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.9778, allocations: 2.973 MB / 0.527 GB, free: 127.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.9797, allocations: 1.793 MB / 0.5288 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002438/0.9822, allocations: 0.6544 MB / 0.5294 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.9825, allocations: 69.28 kB / 0.5295 GB, free: 127 MB / 442.7 MB Notification: Performance of SimCode: time 1.598e-06/0.9825, allocations: 0 / 0.5295 GB, free: 127 MB / 442.7 MB Notification: Performance of Templates: time 0.06276/1.045, allocations: 27.29 MB / 0.5561 GB, free: 125.8 MB / 442.7 MB