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_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.994e-05, allocations: 4 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08072/0.08078, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/0.4289, allocations: 82.11 MB / 382 MB, free: 21.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4292, allocations: 87 kB / 382.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0449/0.4741, allocations: 12.65 MB / 394.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.761e-06/0.4741, allocations: 0 / 394.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.416e-05/0.4742, allocations: 11.81 kB / 394.7 MB, free: 19.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001472/0.4757, allocations: 0.8411 MB / 395.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4757, allocations: 15.66 kB / 395.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.4759, allocations: 82.06 kB / 395.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.4767, allocations: 481.3 kB / 396.2 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.4768, allocations: 51.94 kB / 396.2 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4769, allocations: 61.56 kB / 396.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.4781, allocations: 0.6125 MB / 396.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.4782, allocations: 8.281 kB / 396.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.4783, allocations: 31.14 kB / 396.9 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.4783, allocations: 11.69 kB / 396.9 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009954/0.4793, allocations: 432.4 kB / 397.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.4833, allocations: 2.332 MB / 399.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4843, allocations: 460.8 kB / 400.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.4849, allocations: 251.7 kB / 400.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.4849, allocations: 3.812 kB / 400.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.4855, allocations: 301.1 kB / 400.7 MB, free: 17.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.681e-06/0.4855, allocations: 0 / 400.7 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009884/0.4865, allocations: 430.2 kB / 401.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4866, allocations: 143.1 kB / 401.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.4872, allocations: 405.8 kB / 401.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.4873, allocations: 47.19 kB / 401.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.4875, allocations: 316.2 kB / 402 MB, free: 16.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4876, allocations: 149.8 kB / 402.1 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.4877, allocations: 10.38 kB / 402.1 MB, free: 16.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4878, allocations: 366.1 kB / 402.5 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.4881, allocations: 153.1 kB / 402.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.4886, allocations: 303.9 kB / 402.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.489, allocations: 179.8 kB / 403.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.242e-06/0.489, allocations: 0 / 403.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001134/0.4901, allocations: 0.5418 MB / 403.7 MB, free: 16.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003325/0.4905, allocations: 1.661 MB / 405.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4905, allocations: 3.906 kB / 405.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.4909, allocations: 84.23 kB / 405.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.4914, allocations: 91.67 kB / 405.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.4933, allocations: 1.723 MB / 407.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.494, allocations: 90.84 kB / 407.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.494, allocations: 23.31 kB / 407.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.4941, allocations: 3.906 kB / 407.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009813/0.495, allocations: 474.8 kB / 407.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.324e-06/0.4951, allocations: 7.719 kB / 407.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.4954, allocations: 77.45 kB / 407.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.4958, allocations: 92.73 kB / 408 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.4981, allocations: 1.746 MB / 409.7 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.4987, allocations: 65.41 kB / 409.8 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.4988, allocations: 22.5 kB / 409.8 MB, free: 27.55 MB / 330.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 (62): * Single equations (assignments): 61 * 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.0002311/0.499, allocations: 157.8 kB / 410 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4991, allocations: 58.28 kB / 410 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.4993, allocations: 52.33 kB / 410.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.19e-06/0.4993, allocations: 11.52 kB / 410.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.866e-06/0.4993, allocations: 0 / 410.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.472e-06/0.4994, allocations: 0 / 410.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.5015, allocations: 1.261 MB / 411.3 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5016, allocations: 0 / 411.3 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.5019, allocations: 46.69 kB / 411.4 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.5022, allocations: 72.73 kB / 411.5 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.5022, allocations: 14.67 kB / 411.5 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.5042, allocations: 1.66 MB / 413.1 MB, free: 25.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.95e-06/0.5043, allocations: 0 / 413.1 MB, free: 25.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.5057, allocations: 0.7473 MB / 413.9 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.506, allocations: 181.2 kB / 414.1 MB, free: 25.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5061, allocations: 11.03 kB / 414.1 MB, free: 25.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.5066, allocations: 36.14 kB / 414.1 MB, free: 25.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.5068, allocations: 54.28 kB / 414.2 MB, free: 25.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.5068, allocations: 14.45 kB / 414.2 MB, free: 25.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000483/0.5073, allocations: 315.9 kB / 414.5 MB, free: 25.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.5074, allocations: 0 / 414.5 MB, free: 25.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001228/0.5086, allocations: 289.1 kB / 414.8 MB, free: 25.16 MB / 330.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,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 (40): * Single equations (assignments): 34 * 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.0002343/0.5088, allocations: 131.2 kB / 414.9 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.5106, allocations: 0.9005 MB / 415.8 MB, free: 24.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5106, allocations: 0 / 415.8 MB, free: 24.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.5112, allocations: 338.8 kB / 416.1 MB, free: 24.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.5118, allocations: 91.34 kB / 416.2 MB, free: 24.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.5145, allocations: 0.858 MB / 417.1 MB, free: 24.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.5156, allocations: 0.9261 MB / 418 MB, free: 23.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001135/0.5168, allocations: 115.2 kB / 418.1 MB, free: 23.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.517, allocations: 34.78 kB / 418.1 MB, free: 23.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.92e-06/0.517, allocations: 0 / 418.1 MB, free: 23.39 MB / 330.7 MB Notification: Performance of Templates: time 0.03137/0.5484, allocations: 7.744 MB / 425.9 MB, free: 19.65 MB / 330.7 MB