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.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.821e-05, allocations: 7.938 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2562, allocations: 44.49 MB / 294.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.4235, allocations: 80.9 MB / 375 MB, free: 1.078 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4238, allocations: 87.94 kB / 375.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04712/0.4709, allocations: 11.9 MB / 387 MB, free: 5.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.471, allocations: 7.938 kB / 387 MB, free: 5.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.238e-05/0.471, allocations: 12 kB / 387 MB, free: 5.016 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001695/0.4727, allocations: 0.8132 MB / 387.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4728, allocations: 12.02 kB / 387.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.473, allocations: 79.11 kB / 387.9 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009397/0.4739, allocations: 460.5 kB / 388.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.474, allocations: 20 kB / 388.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.4741, allocations: 36 kB / 388.4 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001016/0.4752, allocations: 382.5 kB / 388.8 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.4764, allocations: 0.5066 MB / 389.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.4764, allocations: 7.891 kB / 389.3 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.4765, allocations: 8 kB / 389.3 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4766, allocations: 19.89 kB / 389.4 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/0.4811, allocations: 2.072 MB / 391.4 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4822, allocations: 427.8 kB / 391.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.4828, allocations: 221.4 kB / 392.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.4829, allocations: 8.328 kB / 392.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/0.4835, allocations: 278 kB / 392.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.654e-06/0.4835, allocations: 4 kB / 392.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.001015/0.4845, allocations: 377.8 kB / 392.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.4846, allocations: 148.5 kB / 392.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.4853, allocations: 349.1 kB / 393.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.4853, allocations: 29.7 kB / 393.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.4857, allocations: 350.7 kB / 393.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.4858, allocations: 122.2 kB / 393.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.4859, allocations: 0 / 393.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4861, allocations: 330.9 kB / 394 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.4864, allocations: 141.1 kB / 394.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.4869, allocations: 288.2 kB / 394.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.4873, allocations: 156.2 kB / 394.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.158e-06/0.4874, allocations: 3.953 kB / 394.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001132/0.4885, allocations: 461.8 kB / 395 MB, free: 12.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009683/0.4895, allocations: 1.659 MB / 396.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.4895, allocations: 7.984 kB / 396.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.49, allocations: 80.83 kB / 396.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.4905, allocations: 87.83 kB / 396.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.4932, allocations: 1.795 MB / 398.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/0.4938, allocations: 75.61 kB / 398.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.4939, allocations: 23.94 kB / 398.8 MB, free: 8.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.494, allocations: 6.031 kB / 398.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001009/0.495, allocations: 416.7 kB / 399.2 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.495, allocations: 4.047 kB / 399.2 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.4954, allocations: 85 kB / 399.3 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.4957, allocations: 80.23 kB / 399.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.4983, allocations: 1.787 MB / 401.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.4988, allocations: 59.61 kB / 401.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.4988, allocations: 20 kB / 401.2 MB, free: 6.074 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.0002427/0.4991, allocations: 139.8 kB / 401.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.4993, allocations: 47.44 kB / 401.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.4994, allocations: 52.89 kB / 401.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.74e-06/0.4995, allocations: 4 kB / 401.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.452e-06/0.4995, allocations: 0 / 401.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4995, allocations: 3.953 kB / 401.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.5017, allocations: 1.097 MB / 402.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.897e-06/0.5018, allocations: 0 / 402.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.5021, allocations: 31.98 kB / 402.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/0.5025, allocations: 96.72 kB / 402.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.5025, allocations: 7.984 kB / 402.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.505, allocations: 1.687 MB / 404.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.505, allocations: 0 / 404.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5065, allocations: 0.6989 MB / 405.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.5069, allocations: 160.5 kB / 405.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.507, allocations: 4 kB / 405.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.5074, allocations: 39.95 kB / 405.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.5076, allocations: 55.92 kB / 405.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.5077, allocations: 12 kB / 405.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004406/0.5081, allocations: 259 kB / 405.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.83e-06/0.5081, allocations: 4 kB / 405.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001267/0.5094, allocations: 255.1 kB / 405.8 MB, free: 1.215 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.0002315/0.5097, allocations: 125.4 kB / 406 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.5115, allocations: 0.8416 MB / 406.8 MB, free: 232 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.424e-06/0.5115, allocations: 0.8125 kB / 406.8 MB, free: 232 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.5122, allocations: 345.9 kB / 407.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.5128, allocations: 62.06 kB / 407.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.5147, allocations: 0.742 MB / 407.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.5155, allocations: 0.9098 MB / 408.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.5157, allocations: 35.44 kB / 408.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.695e-06/0.5157, allocations: 0 / 408.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01684/0.5326, allocations: 8.993 MB / 417.9 MB, free: 5.09 MB / 362.7 MB