Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.087e-05, allocations: 5.562 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.08991, allocations: 50.42 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4162/0.5062, allocations: 88.57 MB / 431.7 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5065, allocations: 87.34 kB / 431.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05854/0.5651, allocations: 13.36 MB / 445.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.108e-06/0.5651, allocations: 0 / 445.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.268e-05/0.5652, allocations: 23.94 kB / 445.1 MB, free: 10.33 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00306/0.5683, allocations: 0.8404 MB / 446 MB, free: 9.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.5684, allocations: 16.02 kB / 446 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.5687, allocations: 79.06 kB / 446.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.5704, allocations: 475.6 kB / 446.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.5705, allocations: 48 kB / 446.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.5708, allocations: 62.45 kB / 446.6 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.5732, allocations: 0.6261 MB / 447.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.5733, allocations: 3.906 kB / 447.3 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.5734, allocations: 23.44 kB / 447.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.5735, allocations: 16 kB / 447.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5754, allocations: 439.3 kB / 447.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008181/0.5836, allocations: 2.284 MB / 450 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.585, allocations: 405.6 kB / 450.4 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.5856, allocations: 244.2 kB / 450.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.5857, allocations: 11.94 kB / 450.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/0.5864, allocations: 306.3 kB / 451 MB, free: 5.562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.382e-06/0.5864, allocations: 4 kB / 451 MB, free: 5.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001188/0.5876, allocations: 438.7 kB / 451.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.5878, allocations: 165.9 kB / 451.6 MB, free: 5.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/0.5885, allocations: 418.1 kB / 452 MB, free: 4.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.157e-05/0.5886, allocations: 41.25 kB / 452 MB, free: 4.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.589, allocations: 304.3 kB / 452.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5892, allocations: 139.2 kB / 452.5 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.5892, allocations: 10.56 kB / 452.5 MB, free: 4.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.5895, allocations: 369.6 kB / 452.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.5899, allocations: 159.5 kB / 453 MB, free: 3.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.5904, allocations: 311.2 kB / 453.3 MB, free: 3.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.5908, allocations: 177 kB / 453.5 MB, free: 3.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.633e-06/0.5909, allocations: 4 kB / 453.5 MB, free: 3.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001303/0.5922, allocations: 0.5434 MB / 454 MB, free: 3.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009337/0.5931, allocations: 1.672 MB / 455.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.5932, allocations: 4 kB / 455.7 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.5936, allocations: 92.38 kB / 455.8 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.5941, allocations: 87.02 kB / 455.9 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.5969, allocations: 1.85 MB / 457.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.5976, allocations: 93.11 kB / 457.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.5977, allocations: 19.56 kB / 457.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5977, allocations: 4 kB / 457.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001142/0.5989, allocations: 484.1 kB / 458.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5989, allocations: 4 kB / 458.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.5993, allocations: 93.34 kB / 458.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.5998, allocations: 79.84 kB / 458.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.6025, allocations: 1.835 MB / 460.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/0.6032, allocations: 79.58 kB / 460.4 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.6032, allocations: 20 kB / 460.4 MB, free: 12.63 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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.6035, allocations: 152.1 kB / 460.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6037, allocations: 47.44 kB / 460.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.6038, allocations: 60.89 kB / 460.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.6039, allocations: 7.938 kB / 460.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6039, allocations: 4 kB / 460.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6039, allocations: 4.359 kB / 460.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.6066, allocations: 1.28 MB / 461.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6066, allocations: 0 / 461.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.6069, allocations: 51.89 kB / 462 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/0.6073, allocations: 84.75 kB / 462.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.6074, allocations: 12 kB / 462.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.61, allocations: 1.751 MB / 463.8 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-06/0.61, allocations: 4 kB / 463.8 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.6117, allocations: 0.7654 MB / 464.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.612, allocations: 172.4 kB / 464.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.6122, allocations: 15.98 kB / 464.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.6127, allocations: 43.97 kB / 464.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.6129, allocations: 55.86 kB / 464.9 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.613, allocations: 15.98 kB / 464.9 MB, free: 7.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005592/0.6135, allocations: 313.2 kB / 465.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.99e-07/0.6136, allocations: 0 / 465.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001281/0.6148, allocations: 287.1 kB / 465.5 MB, free: 7.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.6151, allocations: 153.5 kB / 465.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.6172, allocations: 0.9274 MB / 466.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.589e-06/0.6172, allocations: 4 kB / 466.6 MB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007034/0.618, allocations: 341.5 kB / 466.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.6186, allocations: 99.92 kB / 467 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.6207, allocations: 0.7891 MB / 467.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.6215, allocations: 0.9309 MB / 468.7 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006332/0.6222, allocations: 120.6 kB / 468.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6223, allocations: 31.44 kB / 468.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.742e-06/0.6223, allocations: 0 / 468.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of Templates: time 0.0222/0.6445, allocations: 8.212 MB / 477.1 MB, free: 11.63 MB / 394.7 MB