Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.182/2.182, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.753e-05, allocations: 4 kB / 292.2 MB, free: 8.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 50.4 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5724, allocations: 92.3 MB / 434.9 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.5728, allocations: 85.44 kB / 435 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1323/0.7051, allocations: 30.9 MB / 465.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7052, allocations: 0 / 465.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001416/0.7054, allocations: 36 kB / 466 MB, free: 7.391 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.005746/0.7111, allocations: 1.598 MB / 467.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.7112, allocations: 8.031 kB / 467.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006675/0.7119, allocations: 206.7 kB / 467.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/0.7125, allocations: 169.9 kB / 467.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007012/0.7195, allocations: 1.687 MB / 469.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.7197, allocations: 107 kB / 469.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005302/0.7203, allocations: 139.9 kB / 469.9 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/0.7257, allocations: 1.745 MB / 471.6 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.257e-05/0.7258, allocations: 8 kB / 471.6 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.7262, allocations: 55.98 kB / 471.7 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.7263, allocations: 54.69 kB / 471.7 MB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006307/0.7327, allocations: 1.403 MB / 473.1 MB, free: 96 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03769/0.7704, allocations: 5.199 MB / 478.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.7746, allocations: 1.046 MB / 479.4 MB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.7769, allocations: 0.6082 MB / 480 MB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-05/0.777, allocations: 12.73 kB / 480 MB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0104/0.7874, allocations: 0.6215 MB / 480.6 MB, free: 8.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=88): time 6.832e-06/0.7875, allocations: 0 / 480.6 MB, free: 8.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.008201/0.7957, allocations: 1.027 MB / 481.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.796, allocations: 182.9 kB / 481.8 MB, free: 7.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006969/0.8029, allocations: 0.8087 MB / 482.6 MB, free: 6.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000333/0.8033, allocations: 61.69 kB / 482.7 MB, free: 6.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009629/0.8043, allocations: 0.6109 MB / 483.3 MB, free: 5.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005596/0.8049, allocations: 272.4 kB / 483.6 MB, free: 5.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.805, allocations: 20 kB / 483.6 MB, free: 5.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.8053, allocations: 350.8 kB / 483.9 MB, free: 5.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.807, allocations: 433.8 kB / 484.4 MB, free: 4.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.8091, allocations: 0.664 MB / 485 MB, free: 3.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.8109, allocations: 473.8 kB / 485.5 MB, free: 3.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/0.8109, allocations: 4 kB / 485.5 MB, free: 3.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003545/0.8145, allocations: 1.207 MB / 486.7 MB, free: 2.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001315/0.8159, allocations: 2.541 MB / 489.2 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.816, allocations: 8 kB / 489.2 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.817, allocations: 224.8 kB / 489.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.8184, allocations: 159.7 kB / 489.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/0.8237, allocations: 2.765 MB / 492.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.8253, allocations: 163.1 kB / 492.5 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.8255, allocations: 39.95 kB / 492.6 MB, free: 11.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8255, allocations: 4 kB / 492.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0031/0.8287, allocations: 1.156 MB / 493.7 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.8287, allocations: 8 kB / 493.7 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000786/0.8295, allocations: 216.9 kB / 494 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.8308, allocations: 155.7 kB / 494.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/0.8361, allocations: 2.803 MB / 496.9 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.8373, allocations: 131.4 kB / 497 MB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.8374, allocations: 36 kB / 497.1 MB, free: 7.305 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 (113): * Single equations (assignments): 112 * 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.0004309/0.8378, allocations: 208.7 kB / 497.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.8382, allocations: 106.8 kB / 497.4 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.8387, allocations: 117.9 kB / 497.5 MB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.8387, allocations: 11.98 kB / 497.5 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.8387, allocations: 4 kB / 497.5 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.8387, allocations: 7.984 kB / 497.5 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00723/0.846, allocations: 2.697 MB / 0.4885 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.8461, allocations: 0 / 0.4885 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.8469, allocations: 91.81 kB / 0.4886 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007602/0.8477, allocations: 204.9 kB / 0.4888 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.8478, allocations: 19.98 kB / 0.4888 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004998/0.8528, allocations: 2.716 MB / 0.4915 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8529, allocations: 0 / 0.4915 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/0.8573, allocations: 1.778 MB / 0.4932 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008868/0.8582, allocations: 283.7 kB / 0.4935 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.8585, allocations: 27.98 kB / 0.4935 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8596, allocations: 87.92 kB / 0.4936 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005147/0.8602, allocations: 148.7 kB / 0.4937 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-05/0.8603, allocations: 27.98 kB / 0.4937 GB, free: 14.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.8617, allocations: 0.6124 MB / 0.4943 GB, free: 13.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.8618, allocations: 192 / 0.4943 GB, free: 13.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002725/0.8645, allocations: 0.6111 MB / 0.4949 GB, free: 13.29 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 (76): * Single equations (assignments): 66 * 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.00519/0.8697, allocations: 2.524 MB / 0.4974 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004938/0.8747, allocations: 1.931 MB / 0.4993 GB, free: 8.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.8748, allocations: 448 / 0.4993 GB, free: 8.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.8766, allocations: 0.7113 MB / 0.5 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.8784, allocations: 206.1 kB / 0.5002 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007592/0.8861, allocations: 2.444 MB / 0.5026 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.8877, allocations: 1.432 MB / 0.504 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.8889, allocations: 479.3 kB / 0.5044 GB, free: 3.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.8889, allocations: 0 / 0.5044 GB, free: 3.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.43/4.319, allocations: 29.53 MB / 0.5333 GB, free: 131.7 MB / 442.7 MB