Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.008e-05, allocations: 6.812 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 50.42 MB / 342.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.5991, allocations: 92.49 MB / 435.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.5995, allocations: 84.83 kB / 435.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.132/0.7315, allocations: 31.04 MB / 466.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7316, allocations: 0 / 466.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001341/0.7317, allocations: 32 kB / 466.3 MB, free: 7.113 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005542/0.7373, allocations: 1.632 MB / 467.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.7373, allocations: 8.031 kB / 467.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006075/0.738, allocations: 206.8 kB / 468.1 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/0.7385, allocations: 174 kB / 468.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007015/0.7455, allocations: 1.671 MB / 470 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.7458, allocations: 107 kB / 470.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005069/0.7463, allocations: 144 kB / 470.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.7511, allocations: 1.761 MB / 472 MB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/0.7512, allocations: 3.984 kB / 472 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.7515, allocations: 52 kB / 472 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.7516, allocations: 62.69 kB / 472.1 MB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/0.7558, allocations: 1.395 MB / 473.5 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.7702, allocations: 5.226 MB / 478.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/0.7735, allocations: 1.157 MB / 479.9 MB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.7752, allocations: 0.6129 MB / 480.5 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/0.7753, allocations: 8.781 kB / 480.5 MB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.7768, allocations: 0.6487 MB / 481.2 MB, free: 7.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.508e-06/0.7768, allocations: 0 / 481.2 MB, free: 7.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.002891/0.7797, allocations: 1.052 MB / 482.2 MB, free: 6.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.7799, allocations: 175 kB / 482.4 MB, free: 6.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.7818, allocations: 0.7891 MB / 483.2 MB, free: 5.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.7821, allocations: 57.69 kB / 483.2 MB, free: 5.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007184/0.7828, allocations: 0.615 MB / 483.8 MB, free: 5.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.7832, allocations: 280.2 kB / 484.1 MB, free: 4.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.7833, allocations: 20 kB / 484.1 MB, free: 4.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7835, allocations: 346.8 kB / 484.5 MB, free: 4.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.7847, allocations: 445.8 kB / 484.9 MB, free: 4.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.7861, allocations: 0.6679 MB / 485.6 MB, free: 3.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.7872, allocations: 477.7 kB / 486 MB, free: 2.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.7873, allocations: 0 / 486 MB, free: 2.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003105/0.7904, allocations: 1.219 MB / 487.3 MB, free: 1.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.7915, allocations: 2.537 MB / 489.8 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.7916, allocations: 8 kB / 489.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/0.7925, allocations: 224.7 kB / 490 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7938, allocations: 167.7 kB / 490.2 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/0.7987, allocations: 2.768 MB / 493 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.8002, allocations: 155.1 kB / 493.1 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.8003, allocations: 39.98 kB / 493.1 MB, free: 11.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.8004, allocations: 7.953 kB / 493.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00295/0.8033, allocations: 1.163 MB / 494.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.8034, allocations: 8 kB / 494.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007041/0.8041, allocations: 212.9 kB / 494.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.8053, allocations: 163.7 kB / 494.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.8102, allocations: 2.799 MB / 497.5 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.8114, allocations: 143.3 kB / 497.6 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.8115, allocations: 36 kB / 497.7 MB, free: 6.734 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 113 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004349/0.812, allocations: 212.8 kB / 497.9 MB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.8123, allocations: 94.88 kB / 498 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.8127, allocations: 121.8 kB / 498.1 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.8128, allocations: 8 kB / 498.1 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8128, allocations: 4 kB / 498.1 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.8128, allocations: 3.984 kB / 498.1 MB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006769/0.8196, allocations: 2.74 MB / 0.4891 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8196, allocations: 0 / 0.4891 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009888/0.8206, allocations: 119.8 kB / 0.4892 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/0.8214, allocations: 196.7 kB / 0.4894 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/0.8215, allocations: 16 kB / 0.4894 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004893/0.8264, allocations: 2.725 MB / 0.4921 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8265, allocations: 0 / 0.4921 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/0.8309, allocations: 1.813 MB / 0.4939 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/0.8318, allocations: 279.7 kB / 0.4941 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.8321, allocations: 27.98 kB / 0.4941 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.8333, allocations: 99.91 kB / 0.4942 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/0.8338, allocations: 152.5 kB / 0.4944 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.8339, allocations: 23.98 kB / 0.4944 GB, free: 13.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001321/0.8353, allocations: 0.6008 MB / 0.495 GB, free: 13.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8353, allocations: 0 / 0.495 GB, free: 13.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002578/0.8379, allocations: 0.6227 MB / 0.4956 GB, free: 12.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 69 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004919/0.8428, allocations: 2.567 MB / 0.4981 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005135/0.848, allocations: 1.946 MB / 0.5 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.8481, allocations: 0.5625 kB / 0.5 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.8501, allocations: 0.7401 MB / 0.5007 GB, free: 7.301 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.8522, allocations: 207.8 kB / 0.5009 GB, free: 7.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.8602, allocations: 2.456 MB / 0.5033 GB, free: 4.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.8618, allocations: 1.429 MB / 0.5047 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.863, allocations: 475.3 kB / 0.5052 GB, free: 2.656 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/0.863, allocations: 4 kB / 0.5052 GB, free: 2.652 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.449/4.312, allocations: 29.7 MB / 0.5342 GB, free: 131.2 MB / 442.7 MB