Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.091/2.091, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.948e-05, allocations: 0 / 292.2 MB, free: 8.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 50.41 MB / 342.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.5957, allocations: 89.42 MB / 432 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.596, allocations: 90.69 kB / 432.1 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05481/0.6509, allocations: 14.13 MB / 446.2 MB, free: 8.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.981e-06/0.6509, allocations: 3.938 kB / 446.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-05/0.651, allocations: 16 kB / 446.2 MB, free: 8.777 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001945/0.6529, allocations: 0.8961 MB / 447.1 MB, free: 7.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.653, allocations: 15.97 kB / 447.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.6532, allocations: 86.97 kB / 447.2 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009799/0.6542, allocations: 490.8 kB / 447.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.6543, allocations: 50.75 kB / 447.8 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.6544, allocations: 66.12 kB / 447.8 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.6559, allocations: 0.661 MB / 448.5 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.6559, allocations: 0 / 448.5 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.656, allocations: 30 kB / 448.5 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.6561, allocations: 12 kB / 448.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.6572, allocations: 469.3 kB / 449 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.6619, allocations: 2.406 MB / 451.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6633, allocations: 0.5419 MB / 451.9 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.664, allocations: 266 kB / 452.2 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.979e-05/0.664, allocations: 4.438 kB / 452.2 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000699/0.6647, allocations: 341.4 kB / 452.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.493e-06/0.6648, allocations: 0 / 452.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001168/0.6659, allocations: 470 kB / 453 MB, free: 3.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.6661, allocations: 174.4 kB / 453.2 MB, free: 3.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.6667, allocations: 407.6 kB / 453.6 MB, free: 2.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.6668, allocations: 39.77 kB / 453.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.6671, allocations: 322.1 kB / 453.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.6673, allocations: 161.7 kB / 454.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.6674, allocations: 11.38 kB / 454.1 MB, free: 2.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.6676, allocations: 365.9 kB / 454.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.668, allocations: 169.5 kB / 454.6 MB, free: 1.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.6686, allocations: 331.2 kB / 454.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.6691, allocations: 185.9 kB / 455.1 MB, free: 1.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.847e-06/0.6691, allocations: 4 kB / 455.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001313/0.6704, allocations: 0.5703 MB / 455.7 MB, free: 1.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000914/0.6713, allocations: 1.658 MB / 457.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.6714, allocations: 4 kB / 457.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.6718, allocations: 81.62 kB / 457.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.6723, allocations: 111.3 kB / 457.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.6747, allocations: 1.735 MB / 459.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.6753, allocations: 91.55 kB / 459.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.6754, allocations: 20 kB / 459.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.881e-06/0.6754, allocations: 4 kB / 459.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/0.6766, allocations: 0.4953 MB / 459.9 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6766, allocations: 4 kB / 459.9 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.677, allocations: 80.88 kB / 460 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.6775, allocations: 99.83 kB / 460.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.6798, allocations: 1.737 MB / 461.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.6803, allocations: 75.66 kB / 461.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.6804, allocations: 24 kB / 461.9 MB, free: 10.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.6807, allocations: 160.7 kB / 462 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6808, allocations: 51.34 kB / 462.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.681, allocations: 73.23 kB / 462.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.681, allocations: 4 kB / 462.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-06/0.681, allocations: 0 / 462.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.681, allocations: 4 kB / 462.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.6838, allocations: 1.358 MB / 463.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.951e-06/0.6838, allocations: 0 / 463.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/0.6843, allocations: 75.95 kB / 463.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.6846, allocations: 72.83 kB / 463.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.6847, allocations: 16.02 kB / 463.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.687, allocations: 1.639 MB / 465.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.581e-06/0.687, allocations: 0 / 465.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.6887, allocations: 0.8264 MB / 466.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.6891, allocations: 180.3 kB / 466.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6892, allocations: 15.94 kB / 466.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.6897, allocations: 56.02 kB / 466.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.6899, allocations: 56.34 kB / 466.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.69, allocations: 12 kB / 466.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005306/0.6906, allocations: 317.2 kB / 466.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.6906, allocations: 0 / 466.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001268/0.6918, allocations: 307 kB / 467.1 MB, free: 5.125 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002505/0.6921, allocations: 151.9 kB / 467.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.6941, allocations: 0.9564 MB / 468.2 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.791e-06/0.6941, allocations: 0 / 468.2 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007058/0.6949, allocations: 367.1 kB / 468.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.6955, allocations: 95 kB / 468.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.6979, allocations: 0.9246 MB / 469.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/0.6987, allocations: 0.9465 MB / 470.5 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006414/0.6993, allocations: 124.5 kB / 470.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.6995, allocations: 39.42 kB / 470.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of SimCode: time 4.012e-06/0.6995, allocations: 0 / 470.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of Templates: time 0.02344/0.723, allocations: 8.33 MB / 479 MB, free: 9.203 MB / 394.7 MB