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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.49e-05, allocations: 0 / 269.4 MB, free: 6.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 47.57 MB / 316.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4962, allocations: 93.44 MB / 410.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.4966, allocations: 87.88 kB / 410.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1374/0.634, allocations: 36.96 MB / 447.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.149e-06/0.634, allocations: 0 / 447.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001525/0.6342, allocations: 51.88 kB / 447.5 MB, free: 11.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.004767/0.639, allocations: 1.989 MB / 449.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.639, allocations: 8.031 kB / 449.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.6396, allocations: 229.3 kB / 449.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006479/0.6461, allocations: 2.069 MB / 451.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.6463, allocations: 143.5 kB / 451.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003631/0.6466, allocations: 175.2 kB / 452.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005011/0.6517, allocations: 2.351 MB / 454.4 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.6518, allocations: 3.906 kB / 454.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.652, allocations: 72 kB / 454.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.6521, allocations: 75.47 kB / 454.6 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.6566, allocations: 1.889 MB / 456.5 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.6709, allocations: 6.883 MB / 463.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.6743, allocations: 1.597 MB / 465 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.6763, allocations: 0.9695 MB / 465.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.6764, allocations: 16.98 kB / 465.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/0.6782, allocations: 0.8859 MB / 466.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 5.223e-06/0.6782, allocations: 0 / 466.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.003808/0.6821, allocations: 1.649 MB / 468.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.6822, allocations: 153.5 kB / 468.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.6842, allocations: 1.023 MB / 469.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.6844, allocations: 77.67 kB / 469.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008631/0.6853, allocations: 0.7611 MB / 470.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.6857, allocations: 374.9 kB / 470.8 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6859, allocations: 24 kB / 470.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.6861, allocations: 361.9 kB / 471.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.6875, allocations: 0.6481 MB / 471.9 MB, free: 3.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.6892, allocations: 0.9097 MB / 472.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.6907, allocations: 0.6958 MB / 473.5 MB, free: 2.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.6907, allocations: 0 / 473.5 MB, free: 2.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004091/0.6948, allocations: 1.933 MB / 475.4 MB, free: 356 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.6962, allocations: 2.447 MB / 477.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.6962, allocations: 8 kB / 477.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.6978, allocations: 0.4902 MB / 478.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.6987, allocations: 183.6 kB / 478.5 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009553/0.7083, allocations: 5.224 MB / 483.8 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.7096, allocations: 183 kB / 483.9 MB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.7098, allocations: 48 kB / 484 MB, free: 7.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.7098, allocations: 8 kB / 484 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003852/0.7137, allocations: 1.793 MB / 485.8 MB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.7137, allocations: 8 kB / 485.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.7152, allocations: 0.4893 MB / 486.3 MB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.7161, allocations: 183.8 kB / 486.5 MB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009817/0.7259, allocations: 5.221 MB / 491.7 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.7272, allocations: 163.2 kB / 491.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.7274, allocations: 51.98 kB / 491.9 MB, free: 15.38 MB / 410.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.0004826/0.7279, allocations: 237.3 kB / 492.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/0.7282, allocations: 134.3 kB / 492.3 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.7287, allocations: 169.3 kB / 492.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.7287, allocations: 12 kB / 492.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.7287, allocations: 3.953 kB / 492.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.7288, allocations: 7.969 kB / 492.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008903/0.7377, allocations: 3.58 MB / 496 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.7377, allocations: 3.953 kB / 496 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.7391, allocations: 123.8 kB / 496.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002476/0.7416, allocations: 472.6 kB / 496.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.7418, allocations: 27.98 kB / 496.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/0.758, allocations: 5.158 MB / 0.49 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.722e-06/0.7581, allocations: 0 / 0.49 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009324/0.7674, allocations: 2.628 MB / 0.4926 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.769, allocations: 371.2 kB / 0.493 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004888/0.7695, allocations: 43.98 kB / 0.493 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/0.7713, allocations: 119.9 kB / 0.4931 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/0.7725, allocations: 224.8 kB / 0.4933 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/0.7727, allocations: 39.98 kB / 0.4934 GB, free: 1.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002611/0.7753, allocations: 0.7769 MB / 0.4941 GB, free: 1.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.107e-06/0.7753, allocations: 0 / 0.4941 GB, free: 1.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004849/0.7802, allocations: 0.8761 MB / 0.495 GB, free: 152 kB / 410.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.0006822/0.7809, allocations: 213.3 kB / 0.4952 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01054/0.7915, allocations: 3.011 MB / 0.4981 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.836e-06/0.7915, allocations: 0 / 0.4981 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00371/0.7953, allocations: 1.045 MB / 0.4991 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.7982, allocations: 332.1 kB / 0.4995 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009537/0.8078, allocations: 2.871 MB / 0.5023 GB, free: 8.609 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/0.8105, allocations: 1.736 MB / 0.504 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002336/0.8128, allocations: 0.6037 MB / 0.5045 GB, free: 6.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.8131, allocations: 71.44 kB / 0.5046 GB, free: 6.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.742e-06/0.8132, allocations: 0 / 0.5046 GB, free: 6.16 MB / 426.7 MB Notification: Performance of Templates: time 0.2823/1.095, allocations: 28.97 MB / 0.5329 GB, free: 124.8 MB / 426.7 MB