Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 194.9 MB / 211.2 MB, free: 7.863 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.116e-05, allocations: 11.89 kB / 258.8 MB, free: 8.199 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4435, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.00673/0.4503, allocations: 3.691 MB / 307 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.4538, allocations: 1.153 MB / 308.2 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.4547, allocations: 35.88 kB / 308.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.4553, allocations: 99.28 kB / 308.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009995/0.4564, allocations: 191.3 kB / 308.5 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.4573, allocations: 199.6 kB / 308.7 MB, free: 8.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.4585, allocations: 400.5 kB / 309.1 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005395/0.459, allocations: 228.8 kB / 309.3 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.4595, allocations: 187.4 kB / 309.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.46, allocations: 219.1 kB / 309.7 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.4601, allocations: 24 kB / 309.7 MB, free: 7.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.4602, allocations: 20 kB / 309.7 MB, free: 7.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.4604, allocations: 111.5 kB / 309.8 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.4605, allocations: 48 kB / 309.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009988/0.4615, allocations: 0.6584 MB / 310.5 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4616, allocations: 3.938 kB / 310.5 MB, free: 6.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4616, allocations: 0 / 310.5 MB, free: 6.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.4616, allocations: 0 / 310.5 MB, free: 6.375 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002318/0.464, allocations: 0.8114 MB / 311.4 MB, free: 5.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.464, allocations: 12.03 kB / 311.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.4643, allocations: 75.14 kB / 311.4 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.4654, allocations: 454.1 kB / 311.9 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/0.4655, allocations: 49.3 kB / 311.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.4656, allocations: 56 kB / 312 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.4675, allocations: 0.6028 MB / 312.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.4676, allocations: 3.938 kB / 312.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.4677, allocations: 27.98 kB / 312.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.4677, allocations: 16 kB / 312.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.4693, allocations: 457 kB / 313.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/0.4747, allocations: 2.166 MB / 315.2 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4761, allocations: 421.8 kB / 315.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-05/0.4761, allocations: 15.95 kB / 315.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000915/0.4771, allocations: 320 kB / 316 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 3.556e-06/0.4771, allocations: 0 / 316 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.003364/0.4805, allocations: 0.8118 MB / 316.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.4806, allocations: 110.8 kB / 316.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.4814, allocations: 385 kB / 317.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.4815, allocations: 41.69 kB / 317.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.4818, allocations: 342.8 kB / 317.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.482, allocations: 134.2 kB / 317.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.4821, allocations: 12 kB / 317.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4823, allocations: 326.8 kB / 318.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.4829, allocations: 169 kB / 318.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.4836, allocations: 328.1 kB / 318.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.4842, allocations: 179.9 kB / 318.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4843, allocations: 0 / 318.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001708/0.486, allocations: 0.5645 MB / 319.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008061/0.4868, allocations: 1.655 MB / 321 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.4869, allocations: 4 kB / 321 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/0.4874, allocations: 88.75 kB / 321.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.4881, allocations: 79.89 kB / 321.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/0.4911, allocations: 1.862 MB / 323 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.4918, allocations: 67.5 kB / 323.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.4919, allocations: 20 kB / 323.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4919, allocations: 4 kB / 323.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/0.4934, allocations: 0.4933 MB / 323.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4935, allocations: 7.953 kB / 323.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.4939, allocations: 84.91 kB / 323.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.4944, allocations: 83.84 kB / 323.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.4974, allocations: 1.835 MB / 325.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.4979, allocations: 59.72 kB / 325.7 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.498, allocations: 20 kB / 325.7 MB, free: 6.402 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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (57): * Single equations (assignments): 56 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005264/0.4985, allocations: 229.6 kB / 325.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4987, allocations: 51.38 kB / 326 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.4989, allocations: 56.97 kB / 326 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.4989, allocations: 4 kB / 326 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4989, allocations: 4 kB / 326 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4989, allocations: 3.984 kB / 326 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.502, allocations: 1.207 MB / 327.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5021, allocations: 0 / 327.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.5025, allocations: 51.91 kB / 327.3 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/0.503, allocations: 84.86 kB / 327.4 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.503, allocations: 12 kB / 327.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.506, allocations: 1.773 MB / 329.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5061, allocations: 0 / 329.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.5085, allocations: 0.8379 MB / 330 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.5089, allocations: 164.5 kB / 330.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5091, allocations: 12.56 kB / 330.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.5096, allocations: 39.97 kB / 330.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.5098, allocations: 63.77 kB / 330.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.5099, allocations: 15.98 kB / 330.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005539/0.5105, allocations: 295.1 kB / 330.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5105, allocations: 0 / 330.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001265/0.5118, allocations: 282.9 kB / 330.9 MB, free: 0.9648 MB / 266.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: 18 (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_p.off,rectifier.thyristor_n.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_p.off,rectifier.thyristor_n.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.512, allocations: 130 kB / 331 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.5149, allocations: 0.9867 MB / 332 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.5149, allocations: 0 / 332 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.516, allocations: 394.9 kB / 332.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.5167, allocations: 78.19 kB / 332.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.5199, allocations: 1.298 MB / 333.7 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.5206, allocations: 0.9109 MB / 334.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.5209, allocations: 43.42 kB / 334.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5209, allocations: 0 / 334.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of Templates: time 0.02108/0.542, allocations: 9.234 MB / 343.9 MB, free: 3.797 MB / 282.7 MB