Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.761e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08258/0.08263, allocations: 47.57 MB / 317 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3374/0.4201, allocations: 87.53 MB / 404.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4204, allocations: 82.58 kB / 404.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05444/0.4749, allocations: 13.56 MB / 418.1 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4749, allocations: 0 / 418.1 MB, free: 5.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.606e-05/0.475, allocations: 20 kB / 418.1 MB, free: 5.117 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001822/0.4768, allocations: 0.8659 MB / 419 MB, free: 4.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4769, allocations: 12.03 kB / 419 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.4771, allocations: 79.06 kB / 419.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.4781, allocations: 0.4937 MB / 419.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/0.4782, allocations: 52.5 kB / 419.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.4784, allocations: 67 kB / 419.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.4799, allocations: 0.6518 MB / 420.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.4799, allocations: 7.938 kB / 420.4 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.48, allocations: 26.94 kB / 420.4 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.48, allocations: 16 kB / 420.4 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4812, allocations: 474.3 kB / 420.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.4863, allocations: 2.611 MB / 423.5 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.4877, allocations: 0.5545 MB / 424 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007176/0.4885, allocations: 318.3 kB / 424.3 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.4885, allocations: 4.438 kB / 424.4 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007253/0.4893, allocations: 337 kB / 424.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 4.438e-06/0.4893, allocations: 4 kB / 424.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001273/0.4906, allocations: 0.5042 MB / 425.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.4907, allocations: 111.4 kB / 425.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.4914, allocations: 436.2 kB / 425.7 MB, free: 15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.4915, allocations: 43.2 kB / 425.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.4918, allocations: 314.5 kB / 426.1 MB, free: 14.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.492, allocations: 164.6 kB / 426.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.4921, allocations: 14.69 kB / 426.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.4923, allocations: 360.1 kB / 426.6 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.4927, allocations: 177.7 kB / 426.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.4933, allocations: 331.4 kB / 427.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.4938, allocations: 199.6 kB / 427.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.432e-06/0.4938, allocations: 0 / 427.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001451/0.4953, allocations: 0.6379 MB / 427.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008754/0.4962, allocations: 1.571 MB / 429.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4962, allocations: 4 kB / 429.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.4969, allocations: 160.5 kB / 429.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.4973, allocations: 87.45 kB / 429.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003764/0.5011, allocations: 2.354 MB / 432.1 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.5018, allocations: 90.16 kB / 432.2 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.5019, allocations: 27.31 kB / 432.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5019, allocations: 4 kB / 432.2 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001283/0.5032, allocations: 0.5573 MB / 432.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5032, allocations: 4 kB / 432.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.5038, allocations: 160.9 kB / 432.9 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.5042, allocations: 79.78 kB / 433 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/0.508, allocations: 2.335 MB / 435.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.5087, allocations: 69.92 kB / 435.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.5088, allocations: 23.12 kB / 435.4 MB, free: 6.594 MB / 346.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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.509, allocations: 155.3 kB / 435.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.5092, allocations: 59.33 kB / 435.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.5094, allocations: 65.73 kB / 435.7 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-06/0.5094, allocations: 4 kB / 435.7 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.845e-06/0.5094, allocations: 3.953 kB / 435.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.5094, allocations: 7.984 kB / 435.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.5122, allocations: 1.351 MB / 437.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.84e-06/0.5123, allocations: 4 kB / 437.1 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.5126, allocations: 39.86 kB / 437.1 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/0.5131, allocations: 148.5 kB / 437.3 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.5132, allocations: 14.55 kB / 437.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.5168, allocations: 2.245 MB / 439.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5168, allocations: 0 / 439.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.5188, allocations: 0.8859 MB / 440.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.5191, allocations: 186.8 kB / 440.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.5193, allocations: 14.25 kB / 440.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.5198, allocations: 48.39 kB / 440.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.52, allocations: 74.64 kB / 440.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.5201, allocations: 19.39 kB / 440.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005525/0.5206, allocations: 325.8 kB / 441.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.56e-07/0.5207, allocations: 0 / 441.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001389/0.5221, allocations: 332.1 kB / 441.4 MB, free: 1.746 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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002734/0.5223, allocations: 144.3 kB / 441.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.5247, allocations: 1.122 MB / 442.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.272e-06/0.5248, allocations: 0 / 442.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.5256, allocations: 429.7 kB / 443.1 MB, free: 392 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.5263, allocations: 98.03 kB / 443.2 MB, free: 296 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.5288, allocations: 0.886 MB / 444.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/0.5296, allocations: 0.9438 MB / 445 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006051/0.5302, allocations: 112.9 kB / 445.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5303, allocations: 31.44 kB / 445.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of SimCode: time 4.063e-06/0.5304, allocations: 0 / 445.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Templates: time 0.02808/0.5584, allocations: 10.67 MB / 455.8 MB, free: 3.637 MB / 362.7 MB