Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.875/1.875, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.068e-05, allocations: 9.141 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07664/0.0767, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4184, allocations: 82.64 MB / 382.5 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4187, allocations: 82 kB / 382.6 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0382/0.457, allocations: 10.55 MB / 393.2 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.019e-06/0.457, allocations: 0 / 393.2 MB, free: 19.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.126e-05/0.4571, allocations: 23.56 kB / 393.2 MB, free: 19.81 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001539/0.4586, allocations: 0.8588 MB / 394 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4587, allocations: 7.812 kB / 394 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.4589, allocations: 94.02 kB / 394.1 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.4597, allocations: 488.9 kB / 394.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.4598, allocations: 54.22 kB / 394.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4599, allocations: 57.31 kB / 394.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4613, allocations: 0.6503 MB / 395.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.4613, allocations: 0 / 395.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.4614, allocations: 29 kB / 395.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.4614, allocations: 15.62 kB / 395.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.4625, allocations: 466.7 kB / 395.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/0.4669, allocations: 2.582 MB / 398.4 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.4682, allocations: 0.5582 MB / 399 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.4688, allocations: 306.7 kB / 399.3 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.4689, allocations: 16.06 kB / 399.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006192/0.4695, allocations: 316.9 kB / 399.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.953e-06/0.4696, allocations: 3.906 kB / 399.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001165/0.4707, allocations: 0.504 MB / 400.1 MB, free: 17.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.4708, allocations: 122 kB / 400.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.4715, allocations: 420.3 kB / 400.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/0.4716, allocations: 40.11 kB / 400.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4719, allocations: 347.9 kB / 401 MB, free: 16.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.472, allocations: 165.5 kB / 401.2 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.4721, allocations: 10.91 kB / 401.2 MB, free: 16.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.4722, allocations: 332.8 kB / 401.5 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.4726, allocations: 174.1 kB / 401.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.4731, allocations: 328.2 kB / 402 MB, free: 16.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.4736, allocations: 200.2 kB / 402.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.797e-06/0.4736, allocations: 3.844 kB / 402.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001288/0.4749, allocations: 0.5858 MB / 402.8 MB, free: 16.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003067/0.4752, allocations: 1.575 MB / 404.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4753, allocations: 7.844 kB / 404.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/0.4759, allocations: 146.5 kB / 404.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.4764, allocations: 88.19 kB / 404.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.4796, allocations: 2.322 MB / 407 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.4803, allocations: 90.84 kB / 407 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.4804, allocations: 23.28 kB / 407.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.4804, allocations: 3.906 kB / 407.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001165/0.4816, allocations: 0.5423 MB / 407.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.511e-06/0.4816, allocations: 3.906 kB / 407.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.4821, allocations: 147.1 kB / 407.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.4825, allocations: 81.33 kB / 407.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.4861, allocations: 2.297 MB / 410.1 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.4866, allocations: 73.17 kB / 410.2 MB, free: 27.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.4867, allocations: 26.53 kB / 410.2 MB, free: 27.68 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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.0002496/0.4869, allocations: 149.9 kB / 410.4 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.4871, allocations: 54.78 kB / 410.4 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.4873, allocations: 74.16 kB / 410.5 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.07e-06/0.4873, allocations: 3.906 kB / 410.5 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.689e-06/0.4873, allocations: 3.906 kB / 410.5 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.011e-06/0.4873, allocations: 7.938 kB / 410.5 MB, free: 27.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.4898, allocations: 1.313 MB / 411.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.963e-06/0.4899, allocations: 0 / 411.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.4901, allocations: 41.23 kB / 411.9 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.4906, allocations: 146.3 kB / 412 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.4907, allocations: 10.91 kB / 412 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.494, allocations: 2.316 MB / 414.3 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.927e-06/0.4941, allocations: 0 / 414.3 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.4958, allocations: 0.8641 MB / 415.2 MB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.4961, allocations: 194.7 kB / 415.4 MB, free: 25.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4963, allocations: 18.41 kB / 415.4 MB, free: 25.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.4967, allocations: 40.59 kB / 415.5 MB, free: 25.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.4969, allocations: 61.44 kB / 415.5 MB, free: 25.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.497, allocations: 15.28 kB / 415.5 MB, free: 25.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000496/0.4975, allocations: 325.5 kB / 415.9 MB, free: 25.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.4975, allocations: 0 / 415.9 MB, free: 25.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001328/0.4989, allocations: 316.3 kB / 416.2 MB, free: 25.25 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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.0002404/0.4991, allocations: 135.6 kB / 416.3 MB, free: 25.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.5012, allocations: 1.09 MB / 417.4 MB, free: 24.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.5013, allocations: 320 / 417.4 MB, free: 24.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.5021, allocations: 426.5 kB / 417.8 MB, free: 24.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.5029, allocations: 108.2 kB / 417.9 MB, free: 24.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.505, allocations: 0.8957 MB / 418.8 MB, free: 24.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.5057, allocations: 0.9326 MB / 419.7 MB, free: 23.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.5059, allocations: 42.62 kB / 419.8 MB, free: 23.65 MB / 330.7 MB Notification: Performance of SimCode: time 2.178e-06/0.5059, allocations: 0 / 419.8 MB, free: 23.65 MB / 330.7 MB Notification: Performance of Templates: time 0.01487/0.5208, allocations: 10.36 MB / 430.1 MB, free: 18.79 MB / 330.7 MB