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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.18e-05, allocations: 7.906 kB / 258.8 MB, free: 8.035 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.372, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.009842/0.3819, allocations: 3.916 MB / 307.3 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.387, allocations: 1.22 MB / 308.5 MB, free: 8.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009282/0.388, allocations: 31.88 kB / 308.5 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000792/0.3888, allocations: 107.2 kB / 308.6 MB, free: 8.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.3903, allocations: 227.2 kB / 308.8 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3917, allocations: 219.6 kB / 309 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.3936, allocations: 459.9 kB / 309.5 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/0.3944, allocations: 237.2 kB / 309.7 MB, free: 7.188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006824/0.3951, allocations: 219.3 kB / 309.9 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006182/0.3958, allocations: 243 kB / 310.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.396, allocations: 24 kB / 310.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.3962, allocations: 28 kB / 310.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3964, allocations: 107.5 kB / 310.3 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.3967, allocations: 59.94 kB / 310.4 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.3982, allocations: 0.744 MB / 311.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3982, allocations: 0 / 311.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.3982, allocations: 4 kB / 311.1 MB, free: 5.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.3983, allocations: 0 / 311.1 MB, free: 5.77 MB / 250.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.003313/0.4016, allocations: 0.8541 MB / 312 MB, free: 4.863 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/0.4017, allocations: 12.03 kB / 312 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.4021, allocations: 79.06 kB / 312.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4037, allocations: 482 kB / 312.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.4038, allocations: 49.31 kB / 312.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.4041, allocations: 63.91 kB / 312.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.4069, allocations: 0.6825 MB / 313.3 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/0.407, allocations: 4 kB / 313.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.4071, allocations: 24 kB / 313.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.4072, allocations: 16 kB / 313.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.4097, allocations: 0.5087 MB / 313.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008663/0.4184, allocations: 2.522 MB / 316.4 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.4208, allocations: 0.5322 MB / 317 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.4209, allocations: 8.438 kB / 317 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.4224, allocations: 369.5 kB / 317.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 5.34e-06/0.4224, allocations: 4 kB / 317.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.006844/0.4293, allocations: 1.035 MB / 318.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.4294, allocations: 111.4 kB / 318.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.4306, allocations: 416.9 kB / 318.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.4308, allocations: 37.7 kB / 318.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.4312, allocations: 308.5 kB / 319.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.4315, allocations: 173.6 kB / 319.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.4316, allocations: 12 kB / 319.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.4319, allocations: 378.7 kB / 319.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009748/0.4329, allocations: 189.2 kB / 320 MB, free: 12.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.4341, allocations: 353.5 kB / 320.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/0.4351, allocations: 206.1 kB / 320.5 MB, free: 12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.4351, allocations: 4 kB / 320.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002928/0.438, allocations: 0.6709 MB / 321.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009315/0.4391, allocations: 1.665 MB / 322.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.4391, allocations: 4 kB / 322.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.4403, allocations: 150.8 kB / 323 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.4412, allocations: 91.83 kB / 323.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.4476, allocations: 2.356 MB / 325.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.4488, allocations: 75.55 kB / 325.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/0.4489, allocations: 27.94 kB / 325.5 MB, free: 6.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4489, allocations: 4 kB / 325.5 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0025/0.4514, allocations: 0.5877 MB / 326.1 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.4515, allocations: 4.188 kB / 326.1 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.4526, allocations: 152.8 kB / 326.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008262/0.4534, allocations: 92.16 kB / 326.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.4598, allocations: 2.355 MB / 328.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009726/0.4608, allocations: 67.52 kB / 328.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.4609, allocations: 20 kB / 328.8 MB, free: 3.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (60): * Single equations (assignments): 59 * 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.0007128/0.4616, allocations: 237.6 kB / 329 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.4619, allocations: 59.34 kB / 329.1 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.4621, allocations: 65.53 kB / 329.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4621, allocations: 4 kB / 329.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4622, allocations: 8 kB / 329.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.4622, allocations: 3.984 kB / 329.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.467, allocations: 1.395 MB / 330.6 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.467, allocations: 4 kB / 330.6 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.4677, allocations: 47.91 kB / 330.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009937/0.4687, allocations: 144.8 kB / 330.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.4688, allocations: 20 kB / 330.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006171/0.475, allocations: 2.362 MB / 333.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4751, allocations: 0 / 333.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.4788, allocations: 0.9779 MB / 334.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/0.4794, allocations: 184.2 kB / 334.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.4796, allocations: 12 kB / 334.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.4804, allocations: 35.97 kB / 334.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.4808, allocations: 68.42 kB / 334.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/0.4809, allocations: 19.98 kB / 334.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000782/0.4817, allocations: 307.1 kB / 334.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.4817, allocations: 0 / 334.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002398/0.4841, allocations: 327.1 kB / 335.1 MB, free: 12.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (40): * 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: 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.0003535/0.4845, allocations: 133.5 kB / 335.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005213/0.4898, allocations: 1.203 MB / 336.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.4898, allocations: 4.25 kB / 336.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.4919, allocations: 485.7 kB / 336.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.4933, allocations: 97.92 kB / 337 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.4991, allocations: 1.466 MB / 338.4 MB, free: 9.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/0.5001, allocations: 0.9434 MB / 339.4 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001062/0.5011, allocations: 108.8 kB / 339.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.5014, allocations: 35.44 kB / 339.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5014, allocations: 0 / 339.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of Templates: time 0.0326/0.534, allocations: 10.35 MB / 349.9 MB, free: 13.84 MB / 298.7 MB