Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.628e-05/4.631e-05, allocations: 6.5 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 50.41 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5111/0.6204, allocations: 93.05 MB / 435.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.6208, allocations: 94.67 kB / 435.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.183/0.8038, allocations: 38.1 MB / 473.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8039, allocations: 0 / 473.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002653/0.8041, allocations: 47.94 kB / 473.9 MB, free: 15.52 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.007579/0.8117, allocations: 2.053 MB / 476 MB, free: 13.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.8118, allocations: 12.03 kB / 476 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009726/0.8128, allocations: 261.4 kB / 476.3 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.8136, allocations: 229.3 kB / 476.5 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008178/0.8218, allocations: 1.989 MB / 478.5 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.8221, allocations: 143.4 kB / 478.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007302/0.8228, allocations: 172 kB / 478.8 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007553/0.8304, allocations: 2.381 MB / 481.2 MB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.54e-05/0.8305, allocations: 7.938 kB / 481.2 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000358/0.8309, allocations: 71.98 kB / 481.2 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.831, allocations: 75.47 kB / 481.3 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006699/0.8377, allocations: 1.994 MB / 483.3 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02197/0.8598, allocations: 7.392 MB / 490.7 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.8638, allocations: 1.482 MB / 492.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.8663, allocations: 0.9277 MB / 493.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.8665, allocations: 18.81 kB / 493.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.8687, allocations: 0.8694 MB / 494 MB, free: 11.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 4.669e-06/0.8688, allocations: 0 / 494 MB, free: 11.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.00423/0.873, allocations: 1.54 MB / 495.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.8732, allocations: 153.5 kB / 495.7 MB, free: 9.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.876, allocations: 1.132 MB / 496.8 MB, free: 8.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003472/0.8764, allocations: 65.69 kB / 496.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009771/0.8774, allocations: 0.7556 MB / 497.6 MB, free: 7.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006244/0.878, allocations: 355.1 kB / 498 MB, free: 6.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.8782, allocations: 20 kB / 498 MB, free: 6.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.8784, allocations: 366.7 kB / 498.4 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.88, allocations: 0.6155 MB / 499 MB, free: 5.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.8819, allocations: 0.826 MB / 499.8 MB, free: 5.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.8836, allocations: 0.6335 MB / 0.4887 GB, free: 4.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.8836, allocations: 8 kB / 0.4887 GB, free: 4.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004427/0.8881, allocations: 1.678 MB / 0.4903 GB, free: 2.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008562/0.889, allocations: 1.926 MB / 0.4922 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.889, allocations: 4 kB / 0.4922 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.8908, allocations: 447.4 kB / 0.4927 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.8924, allocations: 175.7 kB / 0.4928 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/0.9019, allocations: 4.372 MB / 0.4971 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.9039, allocations: 183.1 kB / 0.4973 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.9042, allocations: 36 kB / 0.4973 GB, free: 11.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.9042, allocations: 8 kB / 0.4973 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004649/0.9089, allocations: 1.629 MB / 0.4989 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.909, allocations: 4 kB / 0.4989 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.9105, allocations: 428.6 kB / 0.4993 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.9121, allocations: 179.7 kB / 0.4995 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009385/0.9215, allocations: 4.411 MB / 0.5038 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.923, allocations: 167.2 kB / 0.504 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.9232, allocations: 40 kB / 0.504 GB, free: 4.328 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 (123): * Single equations (assignments): 122 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005086/0.9237, allocations: 224.8 kB / 0.5042 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/0.9242, allocations: 138.3 kB / 0.5043 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.9248, allocations: 169 kB / 0.5045 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.9249, allocations: 12 kB / 0.5045 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.9249, allocations: 3.984 kB / 0.5045 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.9249, allocations: 11.92 kB / 0.5045 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.9359, allocations: 3.708 MB / 0.5081 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9359, allocations: 0 / 0.5081 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.9372, allocations: 123.8 kB / 0.5083 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.9389, allocations: 412.3 kB / 0.5087 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002767/0.9393, allocations: 23.98 kB / 0.5087 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009859/0.9491, allocations: 4.155 MB / 0.5127 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9492, allocations: 0 / 0.5127 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006723/0.9559, allocations: 2.572 MB / 0.5153 GB, free: 8.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.9574, allocations: 383.2 kB / 0.5156 GB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/0.9579, allocations: 31.98 kB / 0.5156 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.9597, allocations: 111.9 kB / 0.5158 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009815/0.9607, allocations: 224.6 kB / 0.516 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/0.9609, allocations: 35.98 kB / 0.516 GB, free: 7.781 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002324/0.9633, allocations: 0.861 MB / 0.5168 GB, free: 6.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9633, allocations: 0 / 0.5168 GB, free: 6.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003924/0.9673, allocations: 0.8563 MB / 0.5177 GB, free: 6.051 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.007434/0.9747, allocations: 3.207 MB / 0.5208 GB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009374/0.9842, allocations: 2.791 MB / 0.5235 GB, free: 8 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.9842, allocations: 1.156 kB / 0.5235 GB, free: 8 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3084/1.293, allocations: 0.9964 MB / 0.5245 GB, free: 129.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/1.295, allocations: 300.4 kB / 0.5248 GB, free: 129.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.308, allocations: 3.341 MB / 0.5281 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/1.31, allocations: 1.75 MB / 0.5298 GB, free: 127.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.312, allocations: 0.6494 MB / 0.5304 GB, free: 127.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/1.312, allocations: 0 / 0.5304 GB, free: 127.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.293/4.605, allocations: 41.35 MB / 0.5708 GB, free: 118.1 MB / 442.7 MB