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.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.067e-05, allocations: 3.781 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08092, allocations: 44.51 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.4776, allocations: 82.02 MB / 381.9 MB, free: 21.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.4779, allocations: 87.66 kB / 382 MB, free: 21.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.046/0.524, allocations: 13.04 MB / 395 MB, free: 19.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.524, allocations: 0 / 395 MB, free: 19.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.745e-05/0.5241, allocations: 15.66 kB / 395 MB, free: 19.46 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001554/0.5256, allocations: 0.8616 MB / 395.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5257, allocations: 7.719 kB / 395.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.5259, allocations: 86.08 kB / 396 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.5268, allocations: 497.8 kB / 396.5 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.5269, allocations: 49.78 kB / 396.5 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.527, allocations: 71.72 kB / 396.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.5286, allocations: 0.6596 MB / 397.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.5287, allocations: 3.906 kB / 397.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.5288, allocations: 26.34 kB / 397.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5288, allocations: 15.66 kB / 397.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.53, allocations: 485.6 kB / 397.8 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.5348, allocations: 2.601 MB / 400.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.5361, allocations: 0.5597 MB / 400.9 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.5367, allocations: 310.5 kB / 401.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.5368, allocations: 7.75 kB / 401.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/0.5374, allocations: 335 kB / 401.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.847e-06/0.5375, allocations: 3.938 kB / 401.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.00116/0.5386, allocations: 0.5153 MB / 402.1 MB, free: 17.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.5387, allocations: 117.7 kB / 402.2 MB, free: 16.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/0.5394, allocations: 416 kB / 402.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.5395, allocations: 45.23 kB / 402.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.5397, allocations: 337.4 kB / 403 MB, free: 16.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.5399, allocations: 167.9 kB / 403.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.5399, allocations: 18.06 kB / 403.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.209e-05/0.54, allocations: 332.9 kB / 403.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.5404, allocations: 179.1 kB / 403.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.5409, allocations: 339.5 kB / 404 MB, free: 16.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.5413, allocations: 196 kB / 404.2 MB, free: 16.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5414, allocations: 4 kB / 404.2 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001235/0.5426, allocations: 0.6123 MB / 404.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.5429, allocations: 1.575 MB / 406.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.543, allocations: 3.906 kB / 406.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.5436, allocations: 153 kB / 406.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.544, allocations: 89.33 kB / 406.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.5471, allocations: 2.345 MB / 409 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.5479, allocations: 89.45 kB / 409 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.5479, allocations: 23.12 kB / 409.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.548, allocations: 5.469 kB / 409.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00115/0.5491, allocations: 0.5679 MB / 409.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-06/0.5491, allocations: 7.812 kB / 409.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.5496, allocations: 147.4 kB / 409.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.55, allocations: 83.5 kB / 409.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.5537, allocations: 2.323 MB / 412.2 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.5542, allocations: 73.34 kB / 412.3 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.5543, allocations: 19.41 kB / 412.3 MB, free: 27.31 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 (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.0002526/0.5545, allocations: 165.7 kB / 412.4 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.5547, allocations: 58.73 kB / 412.5 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.5549, allocations: 67.66 kB / 412.6 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-06/0.5549, allocations: 3.906 kB / 412.6 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5549, allocations: 0 / 412.6 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.034e-06/0.5549, allocations: 3.938 kB / 412.6 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.5574, allocations: 1.349 MB / 413.9 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-06/0.5574, allocations: 0 / 413.9 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.5577, allocations: 42.08 kB / 414 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.5583, allocations: 153.7 kB / 414.1 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.5583, allocations: 11.41 kB / 414.1 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.5617, allocations: 2.241 MB / 416.4 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.147e-06/0.5617, allocations: 0 / 416.4 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.5635, allocations: 0.8874 MB / 417.3 MB, free: 25.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.5638, allocations: 181 kB / 417.4 MB, free: 25.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.564, allocations: 15.12 kB / 417.4 MB, free: 25.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.5644, allocations: 42.77 kB / 417.5 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.5647, allocations: 81.84 kB / 417.6 MB, free: 24.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.5647, allocations: 15.38 kB / 417.6 MB, free: 24.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005018/0.5652, allocations: 319 kB / 417.9 MB, free: 24.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.087e-06/0.5653, allocations: 0 / 417.9 MB, free: 24.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001357/0.5666, allocations: 324.8 kB / 418.2 MB, free: 24.83 MB / 330.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.0002424/0.5669, allocations: 136.1 kB / 418.3 MB, free: 24.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.5692, allocations: 1.144 MB / 419.5 MB, free: 24.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.541e-06/0.5693, allocations: 0 / 419.5 MB, free: 24.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.5702, allocations: 445.6 kB / 419.9 MB, free: 24.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.571, allocations: 101.4 kB / 420 MB, free: 24.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.5734, allocations: 0.9095 MB / 420.9 MB, free: 23.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.5741, allocations: 0.9342 MB / 421.9 MB, free: 22.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.5743, allocations: 42.59 kB / 421.9 MB, free: 22.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.78e-06/0.5743, allocations: 0 / 421.9 MB, free: 22.91 MB / 330.7 MB Notification: Performance of Templates: time 0.01527/0.5896, allocations: 10.41 MB / 432.3 MB, free: 17.74 MB / 330.7 MB