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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.136e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08769, allocations: 47.57 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.4989, allocations: 87.07 MB / 404 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4993, allocations: 86.19 kB / 404.1 MB, free: 1.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04824/0.5475, allocations: 12.61 MB / 416.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5476, allocations: 0 / 416.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.431e-05/0.5476, allocations: 12 kB / 416.7 MB, free: 6.371 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001683/0.5493, allocations: 0.8107 MB / 417.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5494, allocations: 16.03 kB / 417.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.5496, allocations: 79.06 kB / 417.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/0.5505, allocations: 473 kB / 418.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.5506, allocations: 46 kB / 418.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.5507, allocations: 60.5 kB / 418.2 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.552, allocations: 0.5765 MB / 418.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.552, allocations: 4 kB / 418.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/0.5521, allocations: 24 kB / 418.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.5522, allocations: 16 kB / 418.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5532, allocations: 409.5 kB / 419.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004383/0.5576, allocations: 2.216 MB / 421.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.5587, allocations: 440.6 kB / 421.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.5593, allocations: 223.8 kB / 422.1 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.5594, allocations: 4.328 kB / 422.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006105/0.56, allocations: 296.5 kB / 422.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.906e-06/0.56, allocations: 0 / 422.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001024/0.5611, allocations: 421.7 kB / 422.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5612, allocations: 135.4 kB / 422.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.5619, allocations: 408 kB / 423.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.5619, allocations: 43.94 kB / 423.4 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.5622, allocations: 291.7 kB / 423.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.5624, allocations: 130.4 kB / 423.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.5624, allocations: 14.19 kB / 423.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.5627, allocations: 361.3 kB / 424.1 MB, free: 224 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.563, allocations: 149.7 kB / 424.3 MB, free: 128 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.5635, allocations: 297.9 kB / 424.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.5639, allocations: 154.7 kB / 424.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.564, allocations: 4 kB / 424.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001178/0.5651, allocations: 0.5388 MB / 425.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008914/0.5661, allocations: 1.654 MB / 426.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5661, allocations: 4 kB / 426.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004286/0.5665, allocations: 95.94 kB / 427 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.567, allocations: 86.95 kB / 427.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.5696, allocations: 1.842 MB / 428.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/0.5702, allocations: 93.55 kB / 429 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.5703, allocations: 19.44 kB / 429.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5703, allocations: 4 kB / 429.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001025/0.5713, allocations: 466.6 kB / 429.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.864e-06/0.5713, allocations: 4 kB / 429.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.5717, allocations: 83.86 kB / 429.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.5721, allocations: 83.64 kB / 429.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.5746, allocations: 1.848 MB / 431.5 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.5751, allocations: 66.53 kB / 431.6 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.5752, allocations: 22.19 kB / 431.6 MB, free: 9.293 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (56): * Single equations (assignments): 55 * 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.0002046/0.5754, allocations: 144.2 kB / 431.8 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.5755, allocations: 51.34 kB / 431.8 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.5757, allocations: 58.38 kB / 431.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.482e-06/0.5757, allocations: 4 kB / 431.9 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.579e-06/0.5757, allocations: 11.95 kB / 431.9 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.673e-06/0.5758, allocations: 7.984 kB / 431.9 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.5781, allocations: 1.217 MB / 433.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-06/0.5781, allocations: 0 / 433.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.5784, allocations: 43.3 kB / 433.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/0.5787, allocations: 86.84 kB / 433.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.5788, allocations: 15.17 kB / 433.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/0.5812, allocations: 1.743 MB / 435 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.57e-06/0.5812, allocations: 0 / 435 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.5827, allocations: 0.7292 MB / 435.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.583, allocations: 169 kB / 435.9 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.5831, allocations: 11.31 kB / 435.9 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.5836, allocations: 43.27 kB / 435.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.5837, allocations: 49.8 kB / 436 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.5838, allocations: 19.14 kB / 436 MB, free: 5.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005057/0.5843, allocations: 314.8 kB / 436.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5843, allocations: 0 / 436.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001211/0.5856, allocations: 278.4 kB / 436.6 MB, free: 5.023 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (35): * Single equations (assignments): 29 * 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.0002418/0.5858, allocations: 135 kB / 436.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.5877, allocations: 0.8965 MB / 437.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5877, allocations: 4.062 kB / 437.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.5884, allocations: 338.4 kB / 437.9 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.5889, allocations: 72.86 kB / 438 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.5908, allocations: 0.7582 MB / 438.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.5915, allocations: 0.9175 MB / 439.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005623/0.5921, allocations: 112.3 kB / 439.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.5922, allocations: 31.44 kB / 439.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of SimCode: time 1.515e-06/0.5923, allocations: 0 / 439.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of Templates: time 0.02197/0.6142, allocations: 7.939 MB / 447.8 MB, free: 10.22 MB / 362.7 MB