Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.022e-05, allocations: 0 / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 50.42 MB / 342.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.6173, allocations: 93.7 MB / 436.4 MB, free: 208 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.6177, allocations: 84.83 kB / 436.4 MB, free: 164 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2043/0.822, allocations: 38.73 MB / 475.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.822, allocations: 0 / 475.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002283/0.8222, allocations: 51.92 kB / 475.2 MB, free: 14.15 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.007744/0.83, allocations: 2.085 MB / 477.3 MB, free: 12.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8301, allocations: 8.031 kB / 477.3 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009833/0.8311, allocations: 269.7 kB / 477.6 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/0.832, allocations: 237.2 kB / 477.8 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008173/0.8402, allocations: 2.02 MB / 479.8 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.8405, allocations: 147.5 kB / 480 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006489/0.8411, allocations: 172 kB / 480.1 MB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007032/0.8482, allocations: 2.411 MB / 482.5 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/0.8483, allocations: 0 / 482.5 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/0.8486, allocations: 83.98 kB / 482.6 MB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.8487, allocations: 75.56 kB / 482.7 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006334/0.8551, allocations: 2.022 MB / 484.7 MB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.8764, allocations: 7.51 MB / 492.2 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/0.8803, allocations: 1.516 MB / 493.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/0.8829, allocations: 0.9518 MB / 494.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.8831, allocations: 9 kB / 494.7 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002277/0.8853, allocations: 0.881 MB / 495.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.659e-06/0.8854, allocations: 0 / 495.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.004304/0.8897, allocations: 1.552 MB / 497.1 MB, free: 7.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.8899, allocations: 153.5 kB / 497.3 MB, free: 7.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.8928, allocations: 1.149 MB / 498.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003534/0.8932, allocations: 69.69 kB / 498.5 MB, free: 6.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009802/0.8942, allocations: 0.7711 MB / 499.3 MB, free: 5.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00062/0.8948, allocations: 359.1 kB / 499.6 MB, free: 5.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.895, allocations: 28 kB / 499.7 MB, free: 5.195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.8952, allocations: 358.8 kB / 0.4883 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.8969, allocations: 0.6194 MB / 0.4889 GB, free: 4.215 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.8988, allocations: 0.8329 MB / 0.4897 GB, free: 3.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.9006, allocations: 0.6451 MB / 0.4903 GB, free: 2.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.9006, allocations: 4 kB / 0.4903 GB, free: 2.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004547/0.9052, allocations: 1.708 MB / 0.492 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009209/0.9061, allocations: 1.927 MB / 0.4939 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.9062, allocations: 8 kB / 0.4939 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.908, allocations: 426.9 kB / 0.4943 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.9097, allocations: 199.6 kB / 0.4945 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009613/0.9193, allocations: 4.391 MB / 0.4988 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.9214, allocations: 183.2 kB / 0.499 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.9216, allocations: 36 kB / 0.499 GB, free: 9.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9217, allocations: 4 kB / 0.499 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004321/0.926, allocations: 1.652 MB / 0.5006 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.9261, allocations: 4.047 kB / 0.5006 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.9275, allocations: 432.7 kB / 0.501 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.929, allocations: 179.7 kB / 0.5012 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009109/0.9381, allocations: 4.462 MB / 0.5056 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.9396, allocations: 159.3 kB / 0.5057 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.9398, allocations: 44 kB / 0.5057 GB, free: 2.445 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 (128): * Single equations (assignments): 127 * 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.0005143/0.9403, allocations: 216.6 kB / 0.506 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.9409, allocations: 142.3 kB / 0.5061 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006141/0.9415, allocations: 177.3 kB / 0.5063 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.9415, allocations: 15.94 kB / 0.5063 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.9415, allocations: 0 / 0.5063 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.9416, allocations: 7.969 kB / 0.5063 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.9519, allocations: 3.76 MB / 0.51 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.9519, allocations: 4 kB / 0.51 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.9531, allocations: 127.8 kB / 0.5101 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.9546, allocations: 388.6 kB / 0.5104 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.9548, allocations: 31.98 kB / 0.5105 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009081/0.9639, allocations: 4.329 MB / 0.5147 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.964, allocations: 0 / 0.5147 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006396/0.9704, allocations: 2.607 MB / 0.5173 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.9717, allocations: 383.2 kB / 0.5176 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/0.9721, allocations: 35.98 kB / 0.5177 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.9736, allocations: 107.9 kB / 0.5178 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008145/0.9745, allocations: 228.6 kB / 0.518 GB, free: 5.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.9746, allocations: 35.98 kB / 0.518 GB, free: 5.645 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002128/0.9767, allocations: 0.8734 MB / 0.5189 GB, free: 4.762 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.9768, allocations: 4 kB / 0.5189 GB, free: 4.758 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004135/0.9809, allocations: 0.8641 MB / 0.5197 GB, free: 3.891 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[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 (94): * Single equations (assignments): 84 * 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.007202/0.9882, allocations: 3.242 MB / 0.5229 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2875/1.276, allocations: 2.781 MB / 0.5256 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.276, allocations: 1.812 kB / 0.5256 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002766/1.279, allocations: 0.9956 MB / 0.5266 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.002548/1.281, allocations: 298.1 kB / 0.5268 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.293, allocations: 3.465 MB / 0.5302 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/1.295, allocations: 1.758 MB / 0.5319 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.297, allocations: 0.6699 MB / 0.5326 GB, free: 126.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/1.297, allocations: 0 / 0.5326 GB, free: 126.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.28/4.577, allocations: 41.85 MB / 0.5735 GB, free: 115.7 MB / 442.7 MB