Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.283e-05, allocations: 4 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 50.41 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.5797, allocations: 94.27 MB / 436.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.5801, allocations: 93.25 kB / 437 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1641/0.7442, allocations: 38.57 MB / 475.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7443, allocations: 3.938 kB / 475.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002363/0.7445, allocations: 47.94 kB / 475.6 MB, free: 13.77 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.007645/0.7522, allocations: 2.035 MB / 477.7 MB, free: 11.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.7523, allocations: 8.031 kB / 477.7 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009984/0.7533, allocations: 269.7 kB / 477.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.7542, allocations: 229.3 kB / 478.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008656/0.7629, allocations: 2.117 MB / 480.3 MB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.7631, allocations: 143.6 kB / 480.4 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007184/0.7639, allocations: 180 kB / 480.6 MB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00754/0.7714, allocations: 2.413 MB / 483 MB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-05/0.7716, allocations: 7.938 kB / 483 MB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/0.7719, allocations: 75.98 kB / 483.1 MB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.7721, allocations: 75.59 kB / 483.2 MB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006547/0.7786, allocations: 1.951 MB / 485.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.7997, allocations: 7.06 MB / 492.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004012/0.8037, allocations: 1.574 MB / 493.7 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/0.8065, allocations: 0.9889 MB / 494.7 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.8067, allocations: 13 kB / 494.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/0.8091, allocations: 0.9133 MB / 495.7 MB, free: 9.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 5.52e-06/0.8092, allocations: 0 / 495.7 MB, free: 9.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.004935/0.8141, allocations: 1.695 MB / 497.4 MB, free: 7.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.8143, allocations: 187.5 kB / 497.5 MB, free: 7.445 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.8172, allocations: 1.076 MB / 498.6 MB, free: 6.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004459/0.8177, allocations: 77.67 kB / 498.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.8188, allocations: 0.7556 MB / 499.4 MB, free: 5.504 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007442/0.8196, allocations: 386.7 kB / 499.8 MB, free: 5.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.8197, allocations: 28 kB / 499.9 MB, free: 5.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.82, allocations: 362.8 kB / 0.4885 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.8219, allocations: 0.6716 MB / 0.4891 GB, free: 4.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.8243, allocations: 0.9536 MB / 0.4901 GB, free: 3.004 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.8264, allocations: 0.7348 MB / 0.4908 GB, free: 2.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.8265, allocations: 0 / 0.4908 GB, free: 2.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005358/0.8318, allocations: 1.911 MB / 0.4927 GB, free: 356 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001274/0.8332, allocations: 2.449 MB / 0.495 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.8332, allocations: 11.94 kB / 0.4951 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.8354, allocations: 494.6 kB / 0.4955 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.837, allocations: 191.6 kB / 0.4957 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.849, allocations: 5.221 MB / 0.5008 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.8512, allocations: 191 kB / 0.501 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.8515, allocations: 48 kB / 0.501 GB, free: 7.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8516, allocations: 4 kB / 0.501 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00508/0.8567, allocations: 1.855 MB / 0.5029 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.8567, allocations: 4.812 kB / 0.5029 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.8585, allocations: 492.6 kB / 0.5033 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.86, allocations: 179.7 kB / 0.5035 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.8718, allocations: 5.279 MB / 0.5087 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.8733, allocations: 159.2 kB / 0.5088 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.8736, allocations: 48 kB / 0.5089 GB, free: 15.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (143): * 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: 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005734/0.8742, allocations: 247.8 kB / 0.5091 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.8747, allocations: 138.3 kB / 0.5092 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.8753, allocations: 177.8 kB / 0.5094 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.8753, allocations: 12 kB / 0.5094 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.8753, allocations: 3.953 kB / 0.5094 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.8754, allocations: 7.984 kB / 0.5094 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.8856, allocations: 3.733 MB / 0.5131 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.8857, allocations: 3.953 kB / 0.5131 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.8868, allocations: 115.8 kB / 0.5132 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.8887, allocations: 468.7 kB / 0.5136 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/0.8889, allocations: 23.98 kB / 0.5136 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.9006, allocations: 5.151 MB / 0.5187 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.9006, allocations: 3.984 kB / 0.5187 GB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006951/0.9076, allocations: 2.711 MB / 0.5213 GB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.909, allocations: 387.2 kB / 0.5217 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/0.9095, allocations: 44.11 kB / 0.5217 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.9111, allocations: 111.9 kB / 0.5218 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008641/0.912, allocations: 225 kB / 0.5221 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.9121, allocations: 39.98 kB / 0.5221 GB, free: 1.473 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002115/0.9143, allocations: 0.8131 MB / 0.5229 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.9143, allocations: 0 / 0.5229 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.3042/1.219, allocations: 0.8777 MB / 0.5237 GB, free: 127.3 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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 86 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/1.23, allocations: 3.359 MB / 0.527 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01077/1.24, allocations: 3.056 MB / 0.53 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/1.241, allocations: 3.375 kB / 0.53 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003834/1.244, allocations: 1.065 MB / 0.5311 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/1.248, allocations: 324.7 kB / 0.5314 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.261, allocations: 3.42 MB / 0.5347 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/1.263, allocations: 1.727 MB / 0.5364 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/1.265, allocations: 0.653 MB / 0.537 GB, free: 124.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/1.265, allocations: 0 / 0.537 GB, free: 124.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.333/4.598, allocations: 41.53 MB / 0.5776 GB, free: 112.3 MB / 442.7 MB