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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadModel(Modelica): time 2.169/2.169, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.058e-05, allocations: 7.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.41 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.01446/0.127, allocations: 8.295 MB / 353.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007853/0.1349, allocations: 2.943 MB / 356.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.1368, allocations: 67.88 kB / 356.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.1392, allocations: 453.2 kB / 356.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.1423, allocations: 0.5801 MB / 357.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.1443, allocations: 351.5 kB / 357.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00413/0.1484, allocations: 1.242 MB / 358.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.1498, allocations: 0.5063 MB / 359.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.1513, allocations: 0.6115 MB / 360 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.153, allocations: 0.6421 MB / 360.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.1539, allocations: 107.9 kB / 360.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004529/0.1544, allocations: 64 kB / 360.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.1548, allocations: 290.7 kB / 361.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.1555, allocations: 152 kB / 361.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003909/0.1594, allocations: 2.146 MB / 363.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1595, allocations: 0 / 363.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.522e-06/0.1595, allocations: 0 / 363.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001154/0.1596, allocations: 7.938 kB / 363.4 MB, free: 6.426 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 373 * Number of variables: 373 Notification: Performance of Generate backend data structure: time 0.005652/0.1653, allocations: 1.752 MB / 365.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1654, allocations: 8.031 kB / 365.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.1666, allocations: 229.5 kB / 365.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/0.1719, allocations: 1.376 MB / 366.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.1721, allocations: 114.9 kB / 366.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/0.1726, allocations: 151.9 kB / 367 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.177, allocations: 1.562 MB / 368.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.1771, allocations: 8 kB / 368.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.1773, allocations: 63.98 kB / 368.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.1774, allocations: 40 kB / 368.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.1812, allocations: 1.15 MB / 369.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.1968, allocations: 6.21 MB / 376.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.2, allocations: 0.9155 MB / 377 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.2001, allocations: 9 kB / 377 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.202, allocations: 0.5757 MB / 377.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 4.468e-06/0.2021, allocations: 0 / 377.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.01183/0.2139, allocations: 3.158 MB / 380.7 MB, free: 4.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.2141, allocations: 200.9 kB / 380.9 MB, free: 4.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.2169, allocations: 1.081 MB / 382 MB, free: 3.188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.2172, allocations: 49.7 kB / 382.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009577/0.2182, allocations: 0.7468 MB / 382.8 MB, free: 2.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005906/0.2188, allocations: 319.5 kB / 383.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.2189, allocations: 28 kB / 383.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.2191, allocations: 366.8 kB / 383.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.2205, allocations: 406.4 kB / 383.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.2223, allocations: 0.8466 MB / 384.7 MB, free: 236 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.224, allocations: 0.5027 MB / 385.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.2241, allocations: 4 kB / 385.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004477/0.2286, allocations: 1.488 MB / 386.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002509/0.2311, allocations: 5.139 MB / 391.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.084e-05/0.2312, allocations: 19.94 kB / 391.9 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.2323, allocations: 197.5 kB / 392.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.2343, allocations: 279.6 kB / 392.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008247/0.2426, allocations: 3.829 MB / 396.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.2456, allocations: 100 kB / 396.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/0.2461, allocations: 52 kB / 396.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.2461, allocations: 4 kB / 396.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005915/0.252, allocations: 1.397 MB / 397.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.698e-05/0.2522, allocations: 15.98 kB / 397.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/0.253, allocations: 189.6 kB / 397.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.255, allocations: 276 kB / 398.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2864/0.5415, allocations: 3.8 MB / 402 MB, free: 45.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.5427, allocations: 86.5 kB / 402.1 MB, free: 45.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.5429, allocations: 56.16 kB / 402.2 MB, free: 45.97 MB / 330.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (146): * Single equations (assignments): 144 * 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.001327/0.5443, allocations: 447.7 kB / 402.6 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.5447, allocations: 143 kB / 402.7 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.5488, allocations: 1.209 MB / 403.9 MB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.5488, allocations: 13.97 kB / 404 MB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5489, allocations: 1.531 kB / 404 MB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.5489, allocations: 5.203 kB / 404 MB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007382/0.5563, allocations: 2.694 MB / 406.7 MB, free: 44.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.5563, allocations: 2.891 kB / 406.7 MB, free: 44.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.5578, allocations: 163.3 kB / 406.8 MB, free: 44.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000907/0.5587, allocations: 170.5 kB / 407 MB, free: 44.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.559, allocations: 29.23 kB / 407 MB, free: 44.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.5643, allocations: 3.734 MB / 410.7 MB, free: 41.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5644, allocations: 2.156 kB / 410.7 MB, free: 41.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005027/0.5694, allocations: 1.863 MB / 412.6 MB, free: 40.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009189/0.5704, allocations: 303.8 kB / 412.9 MB, free: 40.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004535/0.5708, allocations: 32.23 kB / 412.9 MB, free: 40.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.5722, allocations: 73.25 kB / 413 MB, free: 40.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/0.5726, allocations: 110.9 kB / 413.1 MB, free: 40.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.5727, allocations: 25.83 kB / 413.1 MB, free: 40.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002024/0.5748, allocations: 0.828 MB / 414 MB, free: 39.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.5748, allocations: 0 / 414 MB, free: 39.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003344/0.5782, allocations: 0.5816 MB / 414.6 MB, free: 39.77 MB / 330.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 70 * 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.0004638/0.5787, allocations: 172 kB / 414.7 MB, free: 39.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005968/0.5847, allocations: 2.325 MB / 417 MB, free: 38.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.5847, allocations: 0.9844 kB / 417 MB, free: 38.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.5869, allocations: 0.8622 MB / 417.9 MB, free: 38.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.5893, allocations: 301.4 kB / 418.2 MB, free: 38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008465/0.5978, allocations: 3.724 MB / 421.9 MB, free: 35.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.599, allocations: 1.34 MB / 423.3 MB, free: 35.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.5995, allocations: 97.44 kB / 423.4 MB, free: 35.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5995, allocations: 0 / 423.4 MB, free: 35.09 MB / 330.7 MB Notification: Performance of Templates: time 0.05245/0.652, allocations: 33.33 MB / 456.7 MB, free: 3.652 MB / 330.7 MB