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.906/1.906, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.697e-05, allocations: 0 / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.3789, allocations: 81.98 MB / 376.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.3792, allocations: 87.94 kB / 376.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04135/0.4206, allocations: 10.43 MB / 386.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.307e-06/0.4207, allocations: 0 / 386.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.743e-05/0.4208, allocations: 19.98 kB / 386.6 MB, free: 5.379 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002132/0.4229, allocations: 0.864 MB / 387.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.423, allocations: 12.03 kB / 387.5 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.4233, allocations: 83.02 kB / 387.6 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.4244, allocations: 484.2 kB / 388.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.4245, allocations: 20 kB / 388.1 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4246, allocations: 51.98 kB / 388.1 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001207/0.4259, allocations: 438.5 kB / 388.6 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.4273, allocations: 0.5629 MB / 389.1 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.4273, allocations: 4 kB / 389.1 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.4274, allocations: 3.984 kB / 389.1 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.4275, allocations: 20 kB / 389.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005556/0.433, allocations: 2.444 MB / 391.6 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.4345, allocations: 0.5315 MB / 392.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.4351, allocations: 242.5 kB / 392.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.4352, allocations: 4.438 kB / 392.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.4359, allocations: 324.5 kB / 392.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 4.339e-06/0.4359, allocations: 0 / 392.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001284/0.4372, allocations: 475.3 kB / 393.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.4373, allocations: 115.4 kB / 393.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.438, allocations: 365.1 kB / 393.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/0.4381, allocations: 37.69 kB / 393.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.4385, allocations: 343.3 kB / 394 MB, free: 13.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.4387, allocations: 161.7 kB / 394.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.4387, allocations: 0 / 394.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4389, allocations: 334.8 kB / 394.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.4394, allocations: 165.5 kB / 394.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.44, allocations: 310.9 kB / 395 MB, free: 12.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.4405, allocations: 183.2 kB / 395.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.95e-06/0.4405, allocations: 0 / 395.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00139/0.4419, allocations: 0.5505 MB / 395.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009191/0.4428, allocations: 1.57 MB / 397.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4429, allocations: 4 kB / 397.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/0.4435, allocations: 146.7 kB / 397.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.444, allocations: 91.83 kB / 397.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.4479, allocations: 2.261 MB / 399.7 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.4486, allocations: 67.59 kB / 399.8 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.4487, allocations: 28 kB / 399.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4487, allocations: 3.438 kB / 399.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/0.45, allocations: 498.3 kB / 400.3 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4501, allocations: 8 kB / 400.3 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.4506, allocations: 136.8 kB / 400.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.451, allocations: 79.84 kB / 400.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.4547, allocations: 2.232 MB / 402.8 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.4552, allocations: 55.66 kB / 402.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.4553, allocations: 27.98 kB / 402.9 MB, free: 4.402 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: 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.0002631/0.4556, allocations: 143.7 kB / 403 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.4558, allocations: 51.34 kB / 403.1 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.456, allocations: 57 kB / 403.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.44e-06/0.456, allocations: 4 kB / 403.1 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.456, allocations: 0 / 403.1 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.6e-06/0.456, allocations: 0 / 403.1 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.4587, allocations: 1.183 MB / 404.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.86e-06/0.4588, allocations: 0 / 404.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.4591, allocations: 43.92 kB / 404.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005685/0.4597, allocations: 140.1 kB / 404.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.4597, allocations: 11.94 kB / 404.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/0.4635, allocations: 2.229 MB / 406.7 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/0.4635, allocations: 0 / 406.7 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.4654, allocations: 0.8118 MB / 407.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.4659, allocations: 172.4 kB / 407.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.466, allocations: 8 kB / 407.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.4664, allocations: 35.95 kB / 407.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.4667, allocations: 60.47 kB / 407.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.4667, allocations: 16 kB / 407.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004937/0.4672, allocations: 271 kB / 408.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.4672, allocations: 0 / 408.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001627/0.4689, allocations: 287 kB / 408.4 MB, free: 14.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.000284/0.4692, allocations: 131 kB / 408.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.4717, allocations: 1.054 MB / 409.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.047e-06/0.4717, allocations: 0 / 409.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.4726, allocations: 404.8 kB / 409.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.4733, allocations: 89.64 kB / 410 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4759, allocations: 0.858 MB / 410.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.4767, allocations: 0.9347 MB / 411.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.477, allocations: 39.44 kB / 411.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.805e-06/0.477, allocations: 0 / 411.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Templates: time 0.01948/0.4965, allocations: 10.07 MB / 421.9 MB, free: 1.039 MB / 362.7 MB