Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.763/1.763, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.501e-05, allocations: 4 kB / 255.4 MB, free: 2.676 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07838, allocations: 44.49 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4222, allocations: 87.89 MB / 387.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4225, allocations: 90.36 kB / 387.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1572/0.5797, allocations: 36.58 MB / 424.5 MB, free: 7.887 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.487e-06/0.5798, allocations: 0 / 424.5 MB, free: 7.887 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001325/0.5799, allocations: 46.44 kB / 424.5 MB, free: 7.879 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.004027/0.584, allocations: 1.984 MB / 426.5 MB, free: 6.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.584, allocations: 7.875 kB / 426.5 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.5845, allocations: 225.3 kB / 426.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/0.5902, allocations: 2.069 MB / 428.8 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.5904, allocations: 142 kB / 428.9 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.5907, allocations: 184.5 kB / 429.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.5951, allocations: 2.337 MB / 431.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.5952, allocations: 3.906 kB / 431.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.5954, allocations: 77.64 kB / 431.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.307e-05/0.5955, allocations: 81.7 kB / 431.6 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003622/0.5991, allocations: 1.888 MB / 433.5 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/0.6161, allocations: 6.862 MB / 440.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/0.6213, allocations: 1.597 MB / 441.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/0.6244, allocations: 0.9701 MB / 442.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.6246, allocations: 16.94 kB / 442.9 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00289/0.6275, allocations: 0.882 MB / 443.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 7.584e-06/0.6275, allocations: 3.938 kB / 443.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.006128/0.6337, allocations: 1.649 MB / 445.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.6339, allocations: 153.5 kB / 445.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.6372, allocations: 1.023 MB / 446.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003839/0.6376, allocations: 81.67 kB / 446.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.6388, allocations: 0.7495 MB / 447.5 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.6393, allocations: 374.8 kB / 447.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.6395, allocations: 28 kB / 447.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.6397, allocations: 361.9 kB / 448.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.6412, allocations: 0.652 MB / 448.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.6429, allocations: 0.9136 MB / 449.8 MB, free: 5.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.6444, allocations: 0.6958 MB / 450.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.6444, allocations: 0 / 450.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00521/0.6496, allocations: 1.93 MB / 452.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.651, allocations: 2.446 MB / 454.9 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.6511, allocations: 8 kB / 454.9 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.6527, allocations: 493.9 kB / 455.3 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.6538, allocations: 195.7 kB / 455.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009819/0.6636, allocations: 5.217 MB / 460.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.6651, allocations: 191 kB / 460.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.6652, allocations: 48 kB / 461 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6653, allocations: 4 kB / 461 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003931/0.6692, allocations: 1.788 MB / 462.8 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6693, allocations: 4.812 kB / 462.8 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.6708, allocations: 0.4927 MB / 463.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/0.6718, allocations: 175.7 kB / 463.4 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009705/0.6815, allocations: 5.217 MB / 468.7 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.6829, allocations: 175.2 kB / 468.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.6831, allocations: 51.98 kB / 468.9 MB, free: 2.352 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (138): * Single equations (assignments): 137 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005211/0.6836, allocations: 240.2 kB / 469.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.684, allocations: 126.4 kB / 469.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.6844, allocations: 177.3 kB / 469.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.6845, allocations: 16 kB / 469.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.146e-06/0.6845, allocations: 3.938 kB / 469.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.6845, allocations: 11.97 kB / 469.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007764/0.6923, allocations: 3.583 MB / 473 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.002e-06/0.6923, allocations: 0 / 473 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.6931, allocations: 119.8 kB / 473.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.6946, allocations: 468.7 kB / 473.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.6947, allocations: 23.98 kB / 473.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009495/0.7042, allocations: 5.147 MB / 478.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-06/0.7043, allocations: 0 / 478.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005499/0.7098, allocations: 2.628 MB / 481.4 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/0.7108, allocations: 375.2 kB / 481.8 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/0.7111, allocations: 47.98 kB / 481.8 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.7121, allocations: 119.9 kB / 481.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006369/0.7128, allocations: 228.6 kB / 482.2 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.7129, allocations: 35.98 kB / 482.2 MB, free: 4.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001616/0.7145, allocations: 0.7729 MB / 483 MB, free: 4 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.04e-07/0.7145, allocations: 3.938 kB / 483 MB, free: 3.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002809/0.7174, allocations: 0.8722 MB / 483.8 MB, free: 3.121 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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].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_n.idealThyristor[1].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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004397/0.7178, allocations: 221.3 kB / 484.1 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006485/0.7243, allocations: 3.014 MB / 487.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.225e-06/0.7244, allocations: 0 / 487.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.7266, allocations: 1.046 MB / 488.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.7285, allocations: 316.2 kB / 488.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006921/0.7354, allocations: 2.864 MB / 491.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.7375, allocations: 1.736 MB / 493 MB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002217/0.7397, allocations: 0.6037 MB / 493.6 MB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.74, allocations: 67.42 kB / 493.7 MB, free: 9.148 MB / 378.7 MB Notification: Performance of SimCode: time 1.882e-06/0.7401, allocations: 8 kB / 493.7 MB, free: 9.141 MB / 378.7 MB Notification: Performance of Templates: time 0.2822/1.022, allocations: 28.86 MB / 0.5103 GB, free: 108.6 MB / 394.7 MB