Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.95e-05, allocations: 6.812 kB / 292.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09433, allocations: 50.41 MB / 342.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5432, allocations: 89.2 MB / 431.8 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004365/0.5437, allocations: 85.81 kB / 431.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06058/0.6043, allocations: 14 MB / 445.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.119e-06/0.6044, allocations: 0 / 445.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.198e-05/0.6045, allocations: 16 kB / 445.9 MB, free: 9.109 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001874/0.6063, allocations: 0.8788 MB / 446.8 MB, free: 8.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6064, allocations: 12.03 kB / 446.8 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.6066, allocations: 82.97 kB / 446.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009844/0.6076, allocations: 493 kB / 447.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.6077, allocations: 54.44 kB / 447.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.6078, allocations: 68 kB / 447.5 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.6093, allocations: 0.6469 MB / 448.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.6093, allocations: 4 kB / 448.1 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.6094, allocations: 22.56 kB / 448.1 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.6094, allocations: 19.94 kB / 448.1 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.6106, allocations: 467.8 kB / 448.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.6153, allocations: 2.417 MB / 451 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/0.6162, allocations: 422.1 kB / 451.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.6168, allocations: 263.4 kB / 451.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.6169, allocations: 8 kB / 451.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006421/0.6176, allocations: 312.4 kB / 452 MB, free: 4.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.609e-06/0.6176, allocations: 0 / 452 MB, free: 4.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001095/0.6187, allocations: 457.3 kB / 452.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.6188, allocations: 165.8 kB / 452.6 MB, free: 3.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/0.6195, allocations: 430.5 kB / 453 MB, free: 3.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.6196, allocations: 44.05 kB / 453.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.6199, allocations: 331.9 kB / 453.4 MB, free: 2.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.6201, allocations: 141.2 kB / 453.5 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.6202, allocations: 6.062 kB / 453.5 MB, free: 2.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.6204, allocations: 376.2 kB / 453.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.6208, allocations: 161 kB / 454.1 MB, free: 2.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.6214, allocations: 323.8 kB / 454.4 MB, free: 2.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.6218, allocations: 193.7 kB / 454.6 MB, free: 1.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.6218, allocations: 0 / 454.6 MB, free: 1.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001268/0.6231, allocations: 0.5661 MB / 455.1 MB, free: 1.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009238/0.624, allocations: 1.659 MB / 456.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.6241, allocations: 4 kB / 456.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.6245, allocations: 82.94 kB / 456.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.625, allocations: 103.2 kB / 457 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.6273, allocations: 1.725 MB / 458.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.6279, allocations: 91.48 kB / 458.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.628, allocations: 20.06 kB / 458.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.6281, allocations: 11.59 kB / 458.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001143/0.6292, allocations: 499.4 kB / 459.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6292, allocations: 4 kB / 459.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.6296, allocations: 85.09 kB / 459.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.63, allocations: 95.89 kB / 459.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.6323, allocations: 1.737 MB / 461.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.6329, allocations: 79.56 kB / 461.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.6329, allocations: 20 kB / 461.3 MB, free: 11.1 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 (64): * Single equations (assignments): 63 * 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.0002192/0.6332, allocations: 152 kB / 461.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6333, allocations: 59.3 kB / 461.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.6335, allocations: 61.36 kB / 461.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.6335, allocations: 8 kB / 461.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-06/0.6335, allocations: 4 kB / 461.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.802e-06/0.6335, allocations: 3.984 kB / 461.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.6362, allocations: 1.327 MB / 462.9 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.492e-06/0.6362, allocations: 0 / 462.9 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.6366, allocations: 59.94 kB / 463 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.6369, allocations: 72.86 kB / 463.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.637, allocations: 16 kB / 463.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.6392, allocations: 1.642 MB / 464.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-06/0.6392, allocations: 0 / 464.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.6409, allocations: 0.7909 MB / 465.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.6412, allocations: 180.2 kB / 465.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.6413, allocations: 15.98 kB / 465.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.6418, allocations: 51.91 kB / 465.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.642, allocations: 48.36 kB / 465.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.6421, allocations: 19.98 kB / 465.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005687/0.6426, allocations: 329.6 kB / 466.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.6427, allocations: 0 / 466.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001241/0.6439, allocations: 295.1 kB / 466.4 MB, free: 5.742 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 (42): * Single equations (assignments): 36 * 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.000246/0.6442, allocations: 146.1 kB / 466.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.6461, allocations: 0.9298 MB / 467.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.385e-06/0.6461, allocations: 0.6875 kB / 467.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.6468, allocations: 351.2 kB / 467.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.6474, allocations: 86.2 kB / 467.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.65, allocations: 0.9071 MB / 468.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.6511, allocations: 0.9424 MB / 469.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001304/0.6525, allocations: 124.6 kB / 469.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.6527, allocations: 35.44 kB / 469.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/0.6527, allocations: 0 / 469.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of Templates: time 0.02583/0.6786, allocations: 8.144 MB / 478.1 MB, free: 10.05 MB / 394.7 MB