Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.249e-05, allocations: 0 / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 50.42 MB / 342.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5064/0.6408, allocations: 93.4 MB / 436.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.6412, allocations: 91.53 kB / 436.1 MB, free: 464 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1865/0.8277, allocations: 38.43 MB / 474.6 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.8278, allocations: 0 / 474.6 MB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000314/0.8281, allocations: 51.92 kB / 474.6 MB, free: 14.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 456 * Number of variables: 456 Notification: Performance of Generate backend data structure: time 0.01044/0.8385, allocations: 2.062 MB / 476.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/0.8386, allocations: 8.031 kB / 476.7 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001435/0.8401, allocations: 269.5 kB / 477 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.8413, allocations: 237.6 kB / 477.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.8528, allocations: 2 MB / 479.2 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.8532, allocations: 143.5 kB / 479.3 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000962/0.8542, allocations: 172 kB / 479.5 MB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.8653, allocations: 2.395 MB / 481.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.855e-05/0.8654, allocations: 7.938 kB / 481.9 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005295/0.866, allocations: 75.98 kB / 482 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.8662, allocations: 75.52 kB / 482.1 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009583/0.8758, allocations: 2.01 MB / 484.1 MB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/0.9057, allocations: 7.47 MB / 491.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005485/0.9112, allocations: 1.5 MB / 493 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003724/0.915, allocations: 0.9472 MB / 494 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.9152, allocations: 20.86 kB / 494 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003379/0.9186, allocations: 0.8694 MB / 494.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 7.113e-06/0.9187, allocations: 0 / 494.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.005573/0.9243, allocations: 1.556 MB / 496.4 MB, free: 8.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.9245, allocations: 149.5 kB / 496.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/0.9284, allocations: 1.141 MB / 497.7 MB, free: 7.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005263/0.929, allocations: 65.69 kB / 497.8 MB, free: 7.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.9305, allocations: 0.7711 MB / 498.6 MB, free: 6.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009108/0.9315, allocations: 355.1 kB / 498.9 MB, free: 5.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.9317, allocations: 24 kB / 498.9 MB, free: 5.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.9319, allocations: 362.8 kB / 499.3 MB, free: 5.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.9343, allocations: 0.6155 MB / 499.9 MB, free: 4.914 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.9369, allocations: 0.8253 MB / 0.489 GB, free: 4.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.9392, allocations: 0.6489 MB / 0.4896 GB, free: 3.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.9393, allocations: 4 kB / 0.4896 GB, free: 3.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.006457/0.9457, allocations: 1.689 MB / 0.4913 GB, free: 1.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.9471, allocations: 1.931 MB / 0.4932 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.9472, allocations: 4 kB / 0.4932 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.9495, allocations: 438.6 kB / 0.4936 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.9515, allocations: 187.7 kB / 0.4938 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.9659, allocations: 4.397 MB / 0.498 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.9687, allocations: 183.1 kB / 0.4982 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.969, allocations: 44 kB / 0.4983 GB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.969, allocations: 4 kB / 0.4983 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006281/0.9753, allocations: 1.647 MB / 0.4999 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/0.9754, allocations: 4 kB / 0.4999 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/0.9774, allocations: 421.3 kB / 0.5003 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.9795, allocations: 183.7 kB / 0.5005 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.9941, allocations: 4.458 MB / 0.5048 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.9961, allocations: 155.3 kB / 0.505 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003123/0.9965, allocations: 43.98 kB / 0.505 GB, free: 3.172 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007228/0.9972, allocations: 227.5 kB / 0.5052 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000713/0.998, allocations: 138.3 kB / 0.5054 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009144/0.9989, allocations: 177.1 kB / 0.5055 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.999, allocations: 12 kB / 0.5055 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.999, allocations: 0 / 0.5055 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/0.9991, allocations: 11.91 kB / 0.5055 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/1.016, allocations: 3.732 MB / 0.5092 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.016, allocations: 0 / 0.5092 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.018, allocations: 127.7 kB / 0.5093 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002325/1.02, allocations: 404.5 kB / 0.5097 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003816/1.021, allocations: 27.94 kB / 0.5097 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/1.034, allocations: 4.332 MB / 0.514 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.034, allocations: 4 kB / 0.514 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.045, allocations: 2.584 MB / 0.5165 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.047, allocations: 379.1 kB / 0.5168 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007484/1.047, allocations: 32 kB / 0.5169 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.05, allocations: 111.9 kB / 0.517 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/1.051, allocations: 232.6 kB / 0.5172 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/1.052, allocations: 35.98 kB / 0.5172 GB, free: 6.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0035/1.055, allocations: 0.8651 MB / 0.5181 GB, free: 5.527 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.352e-06/1.055, allocations: 0 / 0.5181 GB, free: 5.527 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006486/1.062, allocations: 0.8602 MB / 0.5189 GB, free: 4.664 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/1.074, allocations: 3.238 MB / 0.5221 GB, free: 1.398 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2944/1.368, allocations: 2.777 MB / 0.5248 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/1.368, allocations: 1.344 kB / 0.5248 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.371, allocations: 0.9907 MB / 0.5258 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.374, allocations: 303 kB / 0.5261 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.385, allocations: 3.442 MB / 0.5294 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/1.387, allocations: 1.755 MB / 0.5311 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.389, allocations: 0.6634 MB / 0.5318 GB, free: 126.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/1.389, allocations: 0 / 0.5318 GB, free: 126.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.307/4.697, allocations: 41.55 MB / 0.5723 GB, free: 116.5 MB / 442.7 MB