Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.377e-05, allocations: 6.5 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 50.41 MB / 342.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.5618, allocations: 91.65 MB / 434.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.5622, allocations: 84.39 kB / 434.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1344/0.6966, allocations: 30.26 MB / 464.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6967, allocations: 4 kB / 464.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002093/0.6969, allocations: 32 kB / 464.7 MB, free: 8.852 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007851/0.7048, allocations: 1.566 MB / 466.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.7049, allocations: 8.031 kB / 466.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009393/0.7058, allocations: 202.4 kB / 466.5 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.7067, allocations: 170 kB / 466.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008877/0.7156, allocations: 1.652 MB / 468.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.7159, allocations: 102.6 kB / 468.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000693/0.7166, allocations: 135.9 kB / 468.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007296/0.7239, allocations: 1.716 MB / 470.2 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/0.724, allocations: 4 kB / 470.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00033/0.7244, allocations: 56 kB / 470.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.7245, allocations: 58.52 kB / 470.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00597/0.7305, allocations: 1.372 MB / 471.7 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02026/0.7508, allocations: 5.082 MB / 476.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.7549, allocations: 1.008 MB / 477.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.7571, allocations: 0.5793 MB / 478.4 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.7573, allocations: 16.77 kB / 478.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/0.7594, allocations: 0.6136 MB / 479 MB, free: 10.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 6.062e-06/0.7594, allocations: 4 kB / 479 MB, free: 10.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.003848/0.7633, allocations: 1.011 MB / 480 MB, free: 9.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.7635, allocations: 175 kB / 480.2 MB, free: 8.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.7657, allocations: 0.8006 MB / 481 MB, free: 8.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.7661, allocations: 61.69 kB / 481.1 MB, free: 8.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008134/0.7669, allocations: 0.6069 MB / 481.7 MB, free: 7.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.7674, allocations: 244.6 kB / 481.9 MB, free: 7.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.7675, allocations: 20 kB / 481.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.7678, allocations: 354.8 kB / 482.3 MB, free: 6.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.769, allocations: 429.8 kB / 482.7 MB, free: 6.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.7705, allocations: 0.6601 MB / 483.3 MB, free: 5.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.7719, allocations: 465.8 kB / 483.8 MB, free: 5.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.7719, allocations: 0 / 483.8 MB, free: 5.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003355/0.7753, allocations: 1.187 MB / 485 MB, free: 3.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.7767, allocations: 2.538 MB / 487.5 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.7767, allocations: 4 kB / 487.5 MB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.7778, allocations: 224.6 kB / 487.7 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.7792, allocations: 155.7 kB / 487.9 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.7847, allocations: 2.8 MB / 490.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.7864, allocations: 159.2 kB / 490.9 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.7866, allocations: 36 kB / 490.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7866, allocations: 4 kB / 490.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003325/0.79, allocations: 1.143 MB / 492 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.79, allocations: 4 kB / 492 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008063/0.7909, allocations: 221.5 kB / 492.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.792, allocations: 151.7 kB / 492.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.7972, allocations: 2.818 MB / 495.2 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7985, allocations: 131.3 kB / 495.4 MB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7986, allocations: 40 kB / 495.4 MB, free: 9.102 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 (108): * Single equations (assignments): 107 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004273/0.7991, allocations: 200.9 kB / 495.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.7994, allocations: 94.83 kB / 495.7 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.7998, allocations: 121.3 kB / 495.8 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.7999, allocations: 8 kB / 495.8 MB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7999, allocations: 3.938 kB / 495.8 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.7999, allocations: 7.984 kB / 495.8 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/0.8072, allocations: 2.65 MB / 498.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.8073, allocations: 4 kB / 498.5 MB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.8081, allocations: 87.81 kB / 498.6 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008584/0.809, allocations: 208.7 kB / 498.8 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.8092, allocations: 19.98 kB / 498.8 MB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/0.8143, allocations: 2.652 MB / 0.4897 GB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.8143, allocations: 0 / 0.4897 GB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.8189, allocations: 1.735 MB / 0.4914 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/0.8199, allocations: 271.8 kB / 0.4916 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.8202, allocations: 27.98 kB / 0.4917 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.8214, allocations: 83.92 kB / 0.4917 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005402/0.822, allocations: 148.5 kB / 0.4919 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8221, allocations: 24 kB / 0.4919 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001501/0.8236, allocations: 0.6045 MB / 0.4925 GB, free: 15.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.8237, allocations: 0 / 0.4925 GB, free: 15.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002818/0.8265, allocations: 0.5954 MB / 0.4931 GB, free: 15.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (72): * Single equations (assignments): 62 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004993/0.8315, allocations: 2.418 MB / 0.4954 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005135/0.8367, allocations: 1.911 MB / 0.4973 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.8368, allocations: 5.375 kB / 0.4973 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.8386, allocations: 0.6839 MB / 0.498 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.8404, allocations: 195.3 kB / 0.4982 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/0.8482, allocations: 2.329 MB / 0.5004 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.8499, allocations: 1.416 MB / 0.5018 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.8511, allocations: 467.3 kB / 0.5023 GB, free: 5.758 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.8511, allocations: 0 / 0.5023 GB, free: 5.758 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.568/4.419, allocations: 28.92 MB / 0.5305 GB, free: 133.3 MB / 442.7 MB