Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.755/2.755, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.332e-05, allocations: 3.438 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5622/0.6806, allocations: 99.82 MB / 394.1 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/0.6811, allocations: 88.84 kB / 394.2 MB, free: 2.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2012/0.8823, allocations: 35.98 MB / 430.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.8823, allocations: 0 / 430.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000206/0.8826, allocations: 32 kB / 430.2 MB, free: 8.195 MB / 330.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.007347/0.8899, allocations: 1.728 MB / 431.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.89, allocations: 8.031 kB / 431.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007733/0.8908, allocations: 173 kB / 432.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.8922, allocations: 237.6 kB / 432.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/0.8978, allocations: 1.275 MB / 433.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.898, allocations: 66.89 kB / 433.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/0.8985, allocations: 95.48 kB / 433.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003943/0.9025, allocations: 1.06 MB / 434.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/0.907, allocations: 1.288 MB / 436.1 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.377e-05/0.9071, allocations: 11.84 kB / 436.1 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.9074, allocations: 6.484 kB / 436.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.9074, allocations: 36 kB / 436.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/0.9261, allocations: 6.114 MB / 442.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.9297, allocations: 0.9788 MB / 443.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.9316, allocations: 0.5158 MB / 443.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.9317, allocations: 12.77 kB / 443.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.9333, allocations: 0.5123 MB / 444.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 4.9e-06/0.9333, allocations: 0 / 444.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=95): time 0.007543/0.9409, allocations: 2.237 MB / 446.5 MB, free: 8.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.9411, allocations: 174.9 kB / 446.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.9438, allocations: 0.9732 MB / 447.7 MB, free: 7.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.9441, allocations: 33.7 kB / 447.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.9453, allocations: 0.7715 MB / 448.5 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005887/0.9459, allocations: 307.6 kB / 448.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.946, allocations: 0 / 448.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.9462, allocations: 353.9 kB / 449.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.9476, allocations: 390.5 kB / 449.5 MB, free: 5.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.9494, allocations: 0.7882 MB / 450.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.951, allocations: 494 kB / 450.8 MB, free: 4.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.951, allocations: 7.953 kB / 450.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004604/0.9557, allocations: 1.413 MB / 452.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002662/0.9584, allocations: 5.064 MB / 457.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-05/0.9585, allocations: 12 kB / 457.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.9598, allocations: 209.6 kB / 457.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.9626, allocations: 311.5 kB / 457.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007645/0.9703, allocations: 3.811 MB / 461.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.9733, allocations: 151.7 kB / 461.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/0.9737, allocations: 52 kB / 461.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9737, allocations: 4 kB / 461.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004283/0.978, allocations: 1.256 MB / 463.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.53e-05/0.9781, allocations: 12 kB / 463.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.9792, allocations: 209.8 kB / 463.3 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.9819, allocations: 299.5 kB / 463.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/0.9896, allocations: 3.803 MB / 467.4 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.9923, allocations: 131.9 kB / 467.5 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.9927, allocations: 52 kB / 467.6 MB, free: 2.613 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005484/0.9933, allocations: 169.5 kB / 467.7 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005224/0.9938, allocations: 134.4 kB / 467.8 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.9979, allocations: 1.106 MB / 469 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.9979, allocations: 8 kB / 469 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.9979, allocations: 0 / 469 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/0.998, allocations: 15.91 kB / 469 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008928/1.007, allocations: 2.444 MB / 471.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/1.007, allocations: 15.94 kB / 471.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/1.009, allocations: 155.8 kB / 471.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/1.01, allocations: 193.6 kB / 471.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/1.01, allocations: 11.98 kB / 471.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007507/1.018, allocations: 3.668 MB / 475.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/1.018, allocations: 3.938 kB / 475.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/1.023, allocations: 1.709 MB / 477.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.025, allocations: 307.4 kB / 477.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005794/1.025, allocations: 15.98 kB / 477.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.028, allocations: 115.8 kB / 477.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006136/1.028, allocations: 112.5 kB / 477.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.029, allocations: 27.98 kB / 477.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002315/1.031, allocations: 0.7167 MB / 478.5 MB, free: 7.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.848e-06/1.031, allocations: 96 / 478.5 MB, free: 7.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004626/1.036, allocations: 0.5429 MB / 479 MB, free: 6.699 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (73): * Single equations (assignments): 66 * 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%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.006785/1.042, allocations: 2.793 MB / 481.8 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007362/1.05, allocations: 2.212 MB / 484 MB, free: 1.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.05, allocations: 1.062 kB / 484 MB, free: 1.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/1.053, allocations: 0.799 MB / 484.8 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.056, allocations: 248.7 kB / 485 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.068, allocations: 2.637 MB / 487.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.07, allocations: 1.338 MB / 489 MB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003719/1.074, allocations: 426.1 kB / 489.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/1.075, allocations: 0.5765 MB / 490 MB, free: 11.44 MB / 394.7 MB Notification: Performance of SimCode: time 2.014e-06/1.076, allocations: 4 kB / 490 MB, free: 11.44 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7572/1.833, allocations: 33.44 MB / 0.5112 GB, free: 101.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003287/1.833, allocations: 201.7 kB / 0.5114 GB, free: 100.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.619/7.452, allocations: 0 / 0.5114 GB, free: 100.9 MB / 394.7 MB