Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.157e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.07653, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.4643, allocations: 83.03 MB / 382.9 MB, free: 21.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4646, allocations: 87.89 kB / 383 MB, free: 21.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04951/0.5142, allocations: 13.89 MB / 396.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.797e-06/0.5142, allocations: 0 / 396.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.094e-05/0.5143, allocations: 19.66 kB / 396.9 MB, free: 19.03 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001677/0.516, allocations: 0.9215 MB / 397.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.516, allocations: 7.719 kB / 397.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.5162, allocations: 93.52 kB / 397.9 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.5171, allocations: 0.4921 MB / 398.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.5171, allocations: 54.31 kB / 398.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5173, allocations: 78.75 kB / 398.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5187, allocations: 0.7014 MB / 399.3 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.5188, allocations: 3.938 kB / 399.3 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.5189, allocations: 32.73 kB / 399.3 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.5189, allocations: 23.52 kB / 399.3 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.5201, allocations: 0.496 MB / 399.8 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.5246, allocations: 2.677 MB / 402.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.5262, allocations: 0.6197 MB / 403.1 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009957/0.5272, allocations: 438.6 kB / 403.5 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.5272, allocations: 8.375 kB / 403.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006894/0.5279, allocations: 367 kB / 403.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.91e-06/0.528, allocations: 0 / 403.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.00133/0.5293, allocations: 0.5706 MB / 404.5 MB, free: 16.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5294, allocations: 118.6 kB / 404.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.53, allocations: 413.4 kB / 405 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.5301, allocations: 47.19 kB / 405 MB, free: 16.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.5303, allocations: 318 kB / 405.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.5305, allocations: 183.3 kB / 405.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.5306, allocations: 14.56 kB / 405.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5307, allocations: 368.5 kB / 405.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.5312, allocations: 196.1 kB / 406.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.5317, allocations: 350.9 kB / 406.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.5322, allocations: 204.8 kB / 406.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.115e-06/0.5322, allocations: 4 kB / 406.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001584/0.5338, allocations: 0.6981 MB / 407.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.5342, allocations: 1.568 MB / 408.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5342, allocations: 3.938 kB / 408.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000653/0.5348, allocations: 165 kB / 409.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.5354, allocations: 103.2 kB / 409.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004539/0.5399, allocations: 3.593 MB / 412.8 MB, free: 26.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.5407, allocations: 85.95 kB / 412.9 MB, free: 26.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.5408, allocations: 23.42 kB / 412.9 MB, free: 26.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.751e-06/0.5408, allocations: 11.94 kB / 412.9 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/0.5421, allocations: 0.611 MB / 413.5 MB, free: 26.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5422, allocations: 7.906 kB / 413.5 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.5427, allocations: 160.5 kB / 413.7 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.5432, allocations: 97.78 kB / 413.8 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.5476, allocations: 3.593 MB / 417.4 MB, free: 23.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.5483, allocations: 80.92 kB / 417.4 MB, free: 23.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.5484, allocations: 23.41 kB / 417.5 MB, free: 23.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002604/0.5487, allocations: 162.5 kB / 417.6 MB, free: 23.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.5488, allocations: 62.45 kB / 417.7 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.549, allocations: 72.55 kB / 417.7 MB, free: 23.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-06/0.549, allocations: 7.812 kB / 417.8 MB, free: 23.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.718e-06/0.5491, allocations: 384 / 417.8 MB, free: 23.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5491, allocations: 3.984 kB / 417.8 MB, free: 23.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.5517, allocations: 1.434 MB / 419.2 MB, free: 23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.749e-06/0.5517, allocations: 0 / 419.2 MB, free: 23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.5522, allocations: 74.42 kB / 419.3 MB, free: 22.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.5528, allocations: 158.4 kB / 419.4 MB, free: 22.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.5528, allocations: 11.16 kB / 419.4 MB, free: 22.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004435/0.5573, allocations: 3.504 MB / 422.9 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5573, allocations: 4.016 kB / 422.9 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.5593, allocations: 0.9635 MB / 423.9 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.5597, allocations: 191.1 kB / 424.1 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.5598, allocations: 14.03 kB / 424.1 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.5604, allocations: 61.94 kB / 424.2 MB, free: 19.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.5606, allocations: 81.88 kB / 424.2 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.5607, allocations: 15.44 kB / 424.3 MB, free: 19.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005109/0.5612, allocations: 315.5 kB / 424.6 MB, free: 19.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5613, allocations: 0 / 424.6 MB, free: 19.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001598/0.5629, allocations: 350.4 kB / 424.9 MB, free: 19.5 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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/0.5632, allocations: 149 kB / 425.1 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.5657, allocations: 1.358 MB / 426.4 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.394e-06/0.5658, allocations: 0 / 426.4 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.5667, allocations: 0.5386 MB / 427 MB, free: 18.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.5674, allocations: 93.17 kB / 427 MB, free: 18.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.5699, allocations: 1.027 MB / 428.1 MB, free: 18.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.5707, allocations: 0.966 MB / 429 MB, free: 17.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006019/0.5713, allocations: 111.1 kB / 429.1 MB, free: 17.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.5714, allocations: 34.81 kB / 429.2 MB, free: 17.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.731e-06/0.5714, allocations: 0 / 429.2 MB, free: 17.21 MB / 330.7 MB Notification: Performance of Templates: time 0.02528/0.5967, allocations: 11.01 MB / 440.2 MB, free: 11.82 MB / 330.7 MB