Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.729e-05, allocations: 3.906 kB / 258.8 MB, free: 8.035 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3522, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.0138/0.3661, allocations: 8.281 MB / 311.6 MB, free: 5.305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007623/0.3738, allocations: 2.94 MB / 314.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.3755, allocations: 67.88 kB / 314.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.3775, allocations: 453.2 kB / 315.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.3805, allocations: 0.5801 MB / 315.7 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.3822, allocations: 335.5 kB / 316 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.3859, allocations: 1.211 MB / 317.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.3872, allocations: 0.5023 MB / 317.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.3887, allocations: 0.5919 MB / 318.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.3903, allocations: 0.6382 MB / 318.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009123/0.3913, allocations: 104 kB / 319 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004182/0.3917, allocations: 64 kB / 319.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.3921, allocations: 278.7 kB / 319.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.3927, allocations: 155.9 kB / 319.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.3959, allocations: 2.111 MB / 321.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3959, allocations: 0 / 321.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3959, allocations: 0 / 321.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.544e-05/0.396, allocations: 0 / 321.6 MB, free: 11.27 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.004917/0.4009, allocations: 1.724 MB / 323.3 MB, free: 9.488 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.401, allocations: 8.031 kB / 323.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.4019, allocations: 221.5 kB / 323.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/0.4066, allocations: 1.38 MB / 324.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.4068, allocations: 110.9 kB / 325.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.4072, allocations: 152 kB / 325.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004219/0.4114, allocations: 1.509 MB / 326.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/0.4115, allocations: 7.906 kB / 326.7 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.4117, allocations: 60 kB / 326.8 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.4118, allocations: 36 kB / 326.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.4154, allocations: 1.111 MB / 327.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.4287, allocations: 6.108 MB / 334 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.4314, allocations: 0.8746 MB / 334.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.024e-05/0.4315, allocations: 9 kB / 334.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/0.433, allocations: 0.5677 MB / 335.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=92): time 3.798e-06/0.4331, allocations: 0 / 335.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=95): time 0.01024/0.4433, allocations: 3.057 MB / 338.5 MB, free: 9.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.4435, allocations: 171.2 kB / 338.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.4458, allocations: 1.076 MB / 339.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.446, allocations: 49.7 kB / 339.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008755/0.4469, allocations: 0.7684 MB / 340.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.4473, allocations: 311.6 kB / 340.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.4474, allocations: 28 kB / 340.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4476, allocations: 357.9 kB / 341.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.4489, allocations: 402.3 kB / 341.7 MB, free: 6.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4505, allocations: 0.8185 MB / 342.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.452, allocations: 498.7 kB / 343 MB, free: 5.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.452, allocations: 4 kB / 343 MB, free: 5.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004114/0.4561, allocations: 1.526 MB / 344.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002026/0.4582, allocations: 5.188 MB / 349.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/0.4583, allocations: 16 kB / 349.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/0.4593, allocations: 189.6 kB / 349.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.4612, allocations: 275.5 kB / 350.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.467, allocations: 3.821 MB / 354 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4687, allocations: 84.02 kB / 354.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.4689, allocations: 59.98 kB / 354.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4689, allocations: 4 kB / 354.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003651/0.4726, allocations: 1.373 MB / 355.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.4726, allocations: 12 kB / 355.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008035/0.4734, allocations: 195.5 kB / 355.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.4753, allocations: 271.7 kB / 356 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.481, allocations: 3.829 MB / 359.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.4826, allocations: 84.02 kB / 359.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.4828, allocations: 52 kB / 359.9 MB, free: 3.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (144): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.001102/0.4839, allocations: 441.6 kB / 360.4 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.4842, allocations: 138.3 kB / 360.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.489, allocations: 1.163 MB / 361.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.4891, allocations: 12 kB / 361.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4891, allocations: 0 / 361.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.4891, allocations: 11.97 kB / 361.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009648/0.4988, allocations: 2.609 MB / 364.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.4989, allocations: 3.953 kB / 364.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.5007, allocations: 160 kB / 364.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.502, allocations: 177.6 kB / 364.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.5022, allocations: 23.98 kB / 364.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007211/0.5094, allocations: 3.733 MB / 368.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5095, allocations: 0 / 368.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/0.5143, allocations: 1.812 MB / 370.2 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008828/0.5152, allocations: 291.3 kB / 370.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/0.5155, allocations: 31.98 kB / 370.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5167, allocations: 64.06 kB / 370.6 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.5171, allocations: 112.9 kB / 370.7 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/0.5172, allocations: 28 kB / 370.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001897/0.5191, allocations: 0.8134 MB / 371.5 MB, free: 7.016 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5192, allocations: 192 / 371.5 MB, free: 7.016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003028/0.5222, allocations: 0.5781 MB / 372.1 MB, free: 6.438 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004305/0.5227, allocations: 168.2 kB / 372.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006174/0.5289, allocations: 2.317 MB / 374.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.5289, allocations: 4 kB / 374.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.5312, allocations: 0.8364 MB / 375.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.5336, allocations: 290 kB / 375.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.5433, allocations: 3.631 MB / 379.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.5447, allocations: 1.339 MB / 380.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002598/0.5473, allocations: 422.8 kB / 381.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.5477, allocations: 67.44 kB / 381.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5477, allocations: 3.938 kB / 381.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of Templates: time 0.06245/0.6101, allocations: 20.81 MB / 402 MB, free: 8.398 MB / 346.7 MB