Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,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_RL") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.932e-05, allocations: 6.5 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08925, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.5075, allocations: 93.33 MB / 436.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00046/0.508, allocations: 88.31 kB / 436.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1602/0.6683, allocations: 38.44 MB / 475 MB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.948e-06/0.6683, allocations: 0 / 475 MB, free: 14.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001484/0.6685, allocations: 47.94 kB / 475 MB, free: 14.66 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: 456 * Number of variables: 456 Notification: Performance of Generate backend data structure: time 0.004946/0.6734, allocations: 2.062 MB / 477.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6735, allocations: 8.031 kB / 477.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.6741, allocations: 233.6 kB / 477.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006796/0.6809, allocations: 2.012 MB / 479.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.6811, allocations: 139.5 kB / 479.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004053/0.6815, allocations: 180 kB / 479.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005316/0.6868, allocations: 2.395 MB / 482 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.6869, allocations: 0 / 482 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.6872, allocations: 75.98 kB / 482.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.6873, allocations: 79.47 kB / 482.2 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/0.692, allocations: 2.01 MB / 484.2 MB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.7076, allocations: 7.466 MB / 491.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.7105, allocations: 1.512 MB / 493.2 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.7124, allocations: 0.9433 MB / 494.1 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.7125, allocations: 13 kB / 494.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/0.7143, allocations: 0.8771 MB / 495 MB, free: 10.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 4.841e-06/0.7143, allocations: 4 kB / 495 MB, free: 10.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.003423/0.7177, allocations: 1.544 MB / 496.5 MB, free: 8.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.7179, allocations: 157.5 kB / 496.7 MB, free: 8.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.7201, allocations: 1.144 MB / 497.8 MB, free: 7.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.7203, allocations: 65.69 kB / 497.9 MB, free: 7.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008996/0.7212, allocations: 0.7888 MB / 498.7 MB, free: 6.465 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/0.7216, allocations: 359.1 kB / 499 MB, free: 6.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7217, allocations: 24 kB / 499.1 MB, free: 6.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.722, allocations: 357.9 kB / 499.4 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.7233, allocations: 0.6156 MB / 0.4883 GB, free: 5.113 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.7248, allocations: 0.8331 MB / 0.4891 GB, free: 4.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.7262, allocations: 0.6412 MB / 0.4898 GB, free: 3.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.119e-06/0.7262, allocations: 0 / 0.4898 GB, free: 3.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003831/0.73, allocations: 1.789 MB / 0.4915 GB, free: 1.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.7312, allocations: 1.94 MB / 0.4934 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.7312, allocations: 4 kB / 0.4934 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.7325, allocations: 427.4 kB / 0.4938 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.7336, allocations: 191.7 kB / 0.494 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.7414, allocations: 4.404 MB / 0.4983 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.7428, allocations: 183.2 kB / 0.4985 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.743, allocations: 43.98 kB / 0.4985 GB, free: 10.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.743, allocations: 4 kB / 0.4985 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003508/0.7465, allocations: 1.644 MB / 0.5001 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7465, allocations: 4 kB / 0.5001 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.7478, allocations: 412.6 kB / 0.5005 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.7488, allocations: 192 kB / 0.5007 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.7565, allocations: 4.403 MB / 0.505 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.7578, allocations: 167.2 kB / 0.5052 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.758, allocations: 40 kB / 0.5052 GB, free: 3.328 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 (127): * Single equations (assignments): 126 * 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.0004254/0.7584, allocations: 220.8 kB / 0.5054 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.7587, allocations: 134.4 kB / 0.5055 GB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.7592, allocations: 173.1 kB / 0.5057 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.7592, allocations: 12 kB / 0.5057 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.786e-06/0.7593, allocations: 0 / 0.5057 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.7593, allocations: 11.98 kB / 0.5057 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007981/0.7673, allocations: 3.732 MB / 0.5094 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.7673, allocations: 4 kB / 0.5094 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.7681, allocations: 123.8 kB / 0.5095 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.7694, allocations: 408.3 kB / 0.5099 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.7695, allocations: 23.94 kB / 0.5099 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007685/0.7772, allocations: 4.337 MB / 0.5141 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.837e-06/0.7772, allocations: 3.938 kB / 0.5141 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/0.7825, allocations: 2.591 MB / 0.5167 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009068/0.7834, allocations: 383.2 kB / 0.517 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.7837, allocations: 36.11 kB / 0.5171 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.7847, allocations: 115.9 kB / 0.5172 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006361/0.7854, allocations: 224.6 kB / 0.5174 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.7855, allocations: 31.98 kB / 0.5174 GB, free: 6.562 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001721/0.7872, allocations: 0.869 MB / 0.5183 GB, free: 5.684 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.7872, allocations: 0 / 0.5183 GB, free: 5.684 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002646/0.7899, allocations: 0.8641 MB / 0.5191 GB, free: 4.816 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[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 (93): * Single equations (assignments): 83 * 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.0003881/0.7903, allocations: 188.4 kB / 0.5193 GB, free: 4.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0057/0.796, allocations: 2.827 MB / 0.5221 GB, free: 1.777 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.469e-06/0.796, allocations: 4 kB / 0.5221 GB, free: 1.773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.798, allocations: 1.005 MB / 0.523 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.7997, allocations: 296.4 kB / 0.5233 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2434/1.043, allocations: 2.946 MB / 0.5262 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/1.045, allocations: 1.786 MB / 0.5279 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002412/1.047, allocations: 0.6463 MB / 0.5286 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/1.048, allocations: 72.61 kB / 0.5286 GB, free: 127.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.72e-06/1.048, allocations: 0 / 0.5286 GB, free: 127.3 MB / 442.7 MB Notification: Performance of Templates: time 0.06014/1.108, allocations: 27.18 MB / 0.5552 GB, free: 126.3 MB / 442.7 MB