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.922/1.922, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.142e-05, allocations: 7.938 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2535, allocations: 44.49 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3807, allocations: 81.68 MB / 375.8 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.3811, allocations: 95.86 kB / 375.9 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05643/0.4375, allocations: 13.23 MB / 389.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.278e-06/0.4376, allocations: 0 / 389.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.172e-05/0.4377, allocations: 16 kB / 389.1 MB, free: 2.887 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002963/0.4407, allocations: 0.8765 MB / 390 MB, free: 1.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.4407, allocations: 8.031 kB / 390 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/0.4412, allocations: 90.92 kB / 390.1 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.443, allocations: 0.4923 MB / 390.6 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.4431, allocations: 24 kB / 390.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.4433, allocations: 43.89 kB / 390.7 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001931/0.4452, allocations: 462.5 kB / 391.1 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.4475, allocations: 0.5864 MB / 391.7 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/0.4475, allocations: 15.88 kB / 391.7 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.4477, allocations: 0 / 391.7 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.4477, allocations: 19.95 kB / 391.7 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008312/0.456, allocations: 2.51 MB / 394.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.4582, allocations: 0.5444 MB / 394.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.4595, allocations: 330.1 kB / 395.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.4596, allocations: 8.438 kB / 395.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.4608, allocations: 332.5 kB / 395.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 6.159e-06/0.4609, allocations: 0 / 395.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001487/0.4624, allocations: 0.4923 MB / 396 MB, free: 11.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.4625, allocations: 111.4 kB / 396.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.4633, allocations: 373.1 kB / 396.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-05/0.4634, allocations: 33.64 kB / 396.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.4637, allocations: 359.1 kB / 396.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.464, allocations: 173.5 kB / 397 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.464, allocations: 0 / 397 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4642, allocations: 338.8 kB / 397.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.4647, allocations: 185.5 kB / 397.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.4653, allocations: 325.1 kB / 397.8 MB, free: 9.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.4658, allocations: 202 kB / 398 MB, free: 9.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.457e-06/0.4658, allocations: 4 kB / 398 MB, free: 9.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001553/0.4674, allocations: 0.5905 MB / 398.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009519/0.4683, allocations: 1.574 MB / 400.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4684, allocations: 8 kB / 400.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/0.4691, allocations: 153.6 kB / 400.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.4697, allocations: 95.83 kB / 400.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.4749, allocations: 3.5 MB / 403.9 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.4756, allocations: 71.55 kB / 404 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.4757, allocations: 24.06 kB / 404 MB, free: 3.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4757, allocations: 6.031 kB / 404 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/0.4772, allocations: 0.5344 MB / 404.6 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4772, allocations: 4 kB / 404.6 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.4778, allocations: 149.8 kB / 404.7 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.4782, allocations: 95.77 kB / 404.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/0.4833, allocations: 3.484 MB / 408.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.4839, allocations: 51.66 kB / 408.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.484, allocations: 27.98 kB / 408.4 MB, free: 14.65 MB / 362.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.000272/0.4843, allocations: 142.1 kB / 408.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.4845, allocations: 51.34 kB / 408.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.4846, allocations: 61.58 kB / 408.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4847, allocations: 8 kB / 408.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-06/0.4847, allocations: 0 / 408.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.51e-06/0.4847, allocations: 0 / 408.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.4875, allocations: 1.254 MB / 409.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.94e-06/0.4875, allocations: 3.938 kB / 409.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.488, allocations: 51.97 kB / 409.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005874/0.4886, allocations: 153.6 kB / 410.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.4886, allocations: 3.984 kB / 410.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/0.4936, allocations: 3.395 MB / 413.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4936, allocations: 0 / 413.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.4957, allocations: 0.8711 MB / 414.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.4962, allocations: 184.3 kB / 414.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4963, allocations: 8 kB / 414.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.4968, allocations: 35.95 kB / 414.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.4971, allocations: 76.45 kB / 414.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.4972, allocations: 16 kB / 414.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000475/0.4977, allocations: 271 kB / 414.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.198e-06/0.4977, allocations: 0 / 414.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001718/0.4994, allocations: 299.1 kB / 415.2 MB, free: 7.461 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002861/0.4997, allocations: 137.1 kB / 415.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.5025, allocations: 1.281 MB / 416.6 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.5026, allocations: 0 / 416.6 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009634/0.5035, allocations: 0.4984 MB / 417.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.5043, allocations: 81.94 kB / 417.2 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.5069, allocations: 0.9435 MB / 418.2 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008068/0.5078, allocations: 0.9465 MB / 419.1 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.508, allocations: 39.44 kB / 419.1 MB, free: 3.418 MB / 362.7 MB Notification: Performance of SimCode: time 1.777e-06/0.508, allocations: 96 / 419.1 MB, free: 3.418 MB / 362.7 MB Notification: Performance of Templates: time 0.2279/0.736, allocations: 13.04 MB / 432.2 MB, free: 103.4 MB / 362.7 MB