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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.006e-05, allocations: 4 kB / 258.8 MB, free: 8.684 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.01428/0.3134, allocations: 8.278 MB / 311.6 MB, free: 5.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.3212, allocations: 2.948 MB / 314.5 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.323, allocations: 63.88 kB / 314.6 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.3252, allocations: 449.2 kB / 315 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.3282, allocations: 0.5762 MB / 315.6 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.3299, allocations: 335.5 kB / 315.9 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.3337, allocations: 1.219 MB / 317.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.3352, allocations: 0.5023 MB / 317.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.3368, allocations: 0.588 MB / 318.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.3384, allocations: 0.6382 MB / 318.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007805/0.3393, allocations: 108 kB / 319 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.3397, allocations: 64 kB / 319.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.3401, allocations: 286.6 kB / 319.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.3407, allocations: 152 kB / 319.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.3444, allocations: 2.111 MB / 321.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3444, allocations: 0 / 321.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.257e-06/0.3445, allocations: 0 / 321.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.475e-05/0.3446, allocations: 0 / 321.6 MB, free: 11.36 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.005342/0.3499, allocations: 1.712 MB / 323.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.35, allocations: 8.031 kB / 323.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.351, allocations: 233.5 kB / 323.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00501/0.3561, allocations: 1.38 MB / 324.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.3563, allocations: 110.9 kB / 325 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004487/0.3567, allocations: 148 kB / 325.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/0.3614, allocations: 1.514 MB / 326.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-05/0.3615, allocations: 7.906 kB / 326.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.3617, allocations: 63.98 kB / 326.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.3618, allocations: 36 kB / 326.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.3659, allocations: 1.107 MB / 327.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.381, allocations: 6.1 MB / 334 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.384, allocations: 0.8824 MB / 334.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3841, allocations: 9 kB / 334.9 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001689/0.3858, allocations: 0.5599 MB / 335.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=92): time 4.268e-06/0.3859, allocations: 4 kB / 335.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=95): time 0.01107/0.3969, allocations: 3.057 MB / 338.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3971, allocations: 171.2 kB / 338.7 MB, free: 9.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.3997, allocations: 1.068 MB / 339.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.4, allocations: 53.69 kB / 339.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008493/0.4008, allocations: 0.7389 MB / 340.5 MB, free: 7.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/0.4014, allocations: 315.6 kB / 340.9 MB, free: 7.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.4015, allocations: 28 kB / 340.9 MB, free: 7.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.4018, allocations: 366.7 kB / 341.2 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.4032, allocations: 398.4 kB / 341.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.405, allocations: 0.8262 MB / 342.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.4066, allocations: 486.7 kB / 342.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.4067, allocations: 4 kB / 342.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004198/0.4109, allocations: 1.445 MB / 344.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002254/0.4132, allocations: 5.147 MB / 349.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.967e-05/0.4133, allocations: 16 kB / 349.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.4143, allocations: 197.6 kB / 349.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.4164, allocations: 271.5 kB / 350 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.4228, allocations: 3.826 MB / 353.8 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.4246, allocations: 87.92 kB / 353.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.4248, allocations: 56 kB / 354 MB, free: 9.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4249, allocations: 4 kB / 354 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004173/0.4291, allocations: 1.373 MB / 355.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-05/0.4292, allocations: 12.31 kB / 355.4 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008112/0.43, allocations: 193.6 kB / 355.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.432, allocations: 275.5 kB / 355.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/0.4384, allocations: 3.804 MB / 359.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.4396, allocations: 84.02 kB / 359.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.4398, allocations: 52 kB / 359.7 MB, free: 3.355 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.001265/0.4411, allocations: 433.3 kB / 360.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/0.4415, allocations: 138.3 kB / 360.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.4453, allocations: 1.167 MB / 361.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.4453, allocations: 8.188 kB / 361.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4453, allocations: 4 kB / 361.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.4454, allocations: 11.95 kB / 361.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007367/0.4527, allocations: 2.612 MB / 364.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.4528, allocations: 7.953 kB / 364.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.4542, allocations: 156 kB / 364.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008505/0.4551, allocations: 175.5 kB / 364.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.4553, allocations: 27.98 kB / 364.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006363/0.4616, allocations: 3.729 MB / 368.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4617, allocations: 4 kB / 368.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/0.4669, allocations: 1.804 MB / 370 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/0.4679, allocations: 295.3 kB / 370.3 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/0.4683, allocations: 31.98 kB / 370.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.4696, allocations: 67.94 kB / 370.4 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/0.47, allocations: 100.9 kB / 370.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.932e-05/0.4701, allocations: 27.98 kB / 370.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00204/0.4722, allocations: 0.8173 MB / 371.3 MB, free: 7.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.4722, allocations: 4 kB / 371.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003353/0.4756, allocations: 0.5703 MB / 371.9 MB, free: 6.668 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.0004765/0.4761, allocations: 156.2 kB / 372.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006621/0.4827, allocations: 2.284 MB / 374.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.4828, allocations: 4 kB / 374.3 MB, free: 4.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.4853, allocations: 0.8357 MB / 375.2 MB, free: 3.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.4877, allocations: 289.9 kB / 375.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009844/0.4976, allocations: 3.652 MB / 379.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.4994, allocations: 1.329 MB / 380.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.5, allocations: 91.44 kB / 380.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5001, allocations: 7.938 kB / 380.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Templates: time 0.06983/0.5699, allocations: 32.66 MB / 413.2 MB, free: 13.17 MB / 362.7 MB