Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.893e-05, allocations: 4 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09837/0.09844, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4392, allocations: 82.34 MB / 382.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4395, allocations: 84.8 kB / 382.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04674/0.4863, allocations: 13.39 MB / 395.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.252e-06/0.4863, allocations: 0 / 395.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-05/0.4864, allocations: 15.66 kB / 395.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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001721/0.4881, allocations: 0.8801 MB / 396.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4882, allocations: 7.875 kB / 396.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.4884, allocations: 90.02 kB / 396.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/0.4893, allocations: 0.4957 MB / 397.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.4894, allocations: 51.27 kB / 397.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.4895, allocations: 73.38 kB / 397.3 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.4908, allocations: 0.6681 MB / 398 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.4909, allocations: 0 / 398 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.491, allocations: 34.62 kB / 398 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.491, allocations: 15.69 kB / 398 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.4921, allocations: 494 kB / 398.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.4966, allocations: 2.646 MB / 401.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4978, allocations: 0.5598 MB / 401.7 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009064/0.4988, allocations: 389.2 kB / 402.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.4988, allocations: 9.422 kB / 402.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006245/0.4995, allocations: 343.8 kB / 402.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.909e-06/0.4995, allocations: 0 / 402.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001211/0.5007, allocations: 0.5433 MB / 403 MB, free: 17.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.5008, allocations: 115.2 kB / 403.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.5014, allocations: 425.7 kB / 403.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.5015, allocations: 43.66 kB / 403.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5017, allocations: 350.3 kB / 403.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.5018, allocations: 176.2 kB / 404 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.5019, allocations: 15 kB / 404.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.502, allocations: 339.3 kB / 404.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.5024, allocations: 185.4 kB / 404.6 MB, free: 16.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.5029, allocations: 336.1 kB / 404.9 MB, free: 16.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.5034, allocations: 214 kB / 405.1 MB, free: 16.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-06/0.5034, allocations: 0 / 405.1 MB, free: 16.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001391/0.5048, allocations: 0.6457 MB / 405.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/0.5051, allocations: 1.576 MB / 407.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5052, allocations: 7.938 kB / 407.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006193/0.5058, allocations: 159.1 kB / 407.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.5063, allocations: 101.5 kB / 407.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/0.5107, allocations: 3.587 MB / 411.2 MB, free: 27.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.5113, allocations: 91.8 kB / 411.3 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5114, allocations: 19.06 kB / 411.3 MB, free: 27.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.32e-06/0.5114, allocations: 3.812 kB / 411.3 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/0.5128, allocations: 0.5932 MB / 411.9 MB, free: 27.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.58e-06/0.5128, allocations: 7.859 kB / 411.9 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.5134, allocations: 156 kB / 412 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.5138, allocations: 100.7 kB / 412.1 MB, free: 27.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/0.5182, allocations: 3.574 MB / 415.7 MB, free: 24.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.5186, allocations: 72.42 kB / 415.8 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.5187, allocations: 18.88 kB / 415.8 MB, free: 24.62 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 (65): * Single equations (assignments): 63 * 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.0002402/0.5189, allocations: 161.3 kB / 416 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.5191, allocations: 54.91 kB / 416 MB, free: 24.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.5193, allocations: 67.25 kB / 416.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.5193, allocations: 11.81 kB / 416.1 MB, free: 24.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.738e-06/0.5193, allocations: 7.953 kB / 416.1 MB, free: 24.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.5194, allocations: 3.328 kB / 416.1 MB, free: 24.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.522, allocations: 1.395 MB / 417.5 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.522, allocations: 4.031 kB / 417.5 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.5224, allocations: 53.75 kB / 417.6 MB, free: 23.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/0.523, allocations: 157.1 kB / 417.7 MB, free: 23.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.523, allocations: 10.97 kB / 417.7 MB, free: 23.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004259/0.5273, allocations: 3.509 MB / 421.2 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.5273, allocations: 4.031 kB / 421.2 MB, free: 21.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.5292, allocations: 0.9365 MB / 422.2 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.5295, allocations: 180.2 kB / 422.4 MB, free: 20.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5296, allocations: 34.34 kB / 422.4 MB, free: 20.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.5302, allocations: 38.84 kB / 422.4 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.5304, allocations: 69.95 kB / 422.5 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.5304, allocations: 23.48 kB / 422.5 MB, free: 20.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000486/0.5309, allocations: 325.6 kB / 422.8 MB, free: 20.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.5309, allocations: 0 / 422.8 MB, free: 20.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001517/0.5325, allocations: 330.3 kB / 423.2 MB, free: 20.46 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 (41): * 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: 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.0002398/0.5327, allocations: 136.5 kB / 423.3 MB, free: 20.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.535, allocations: 1.317 MB / 424.6 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.762e-06/0.535, allocations: 4.062 kB / 424.6 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.5359, allocations: 0.5235 MB / 425.1 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.5365, allocations: 101.7 kB / 425.2 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.5387, allocations: 0.9839 MB / 426.2 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.5394, allocations: 0.9462 MB / 427.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5396, allocations: 38.66 kB / 427.2 MB, free: 18.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.641e-06/0.5396, allocations: 0 / 427.2 MB, free: 18.22 MB / 330.7 MB Notification: Performance of Templates: time 0.01749/0.5571, allocations: 13.33 MB / 440.5 MB, free: 11.52 MB / 330.7 MB