Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.48/2.48, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.135e-05, allocations: 0 / 301.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 53.24 MB / 354.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.5737, allocations: 94.79 MB / 449.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.5741, allocations: 87.95 kB / 449.5 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0666/0.6407, allocations: 14.5 MB / 464 MB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6408, allocations: 0 / 464 MB, free: 8.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.74e-05/0.6408, allocations: 16 kB / 464 MB, free: 8.309 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002815/0.6436, allocations: 0.8644 MB / 464.8 MB, free: 7.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6437, allocations: 12.23 kB / 464.9 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/0.644, allocations: 94.52 kB / 465 MB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.6442, allocations: 79.09 kB / 465 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004832/0.6491, allocations: 1.094 MB / 466.1 MB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.6494, allocations: 120.7 kB / 466.2 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.6496, allocations: 59.95 kB / 466.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.6515, allocations: 0.7179 MB / 467 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6516, allocations: 0 / 467 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/0.6517, allocations: 24 kB / 467 MB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.6517, allocations: 16 kB / 467.1 MB, free: 5.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.6536, allocations: 0.6233 MB / 467.7 MB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006638/0.6602, allocations: 2.633 MB / 470.3 MB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.6625, allocations: 0.7027 MB / 471 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008641/0.6634, allocations: 363.5 kB / 471.4 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.6634, allocations: 8.438 kB / 471.4 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.6635, allocations: 35 kB / 471.4 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 3.477e-06/0.6635, allocations: 0 / 471.4 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of matching and sorting (n=51): time 0.004172/0.6677, allocations: 1.518 MB / 472.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.6678, allocations: 89.48 kB / 473 MB, free: 14.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.6685, allocations: 351 kB / 473.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/0.6686, allocations: 29.7 kB / 473.4 MB, free: 14.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.6689, allocations: 326.9 kB / 473.7 MB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.6691, allocations: 177.4 kB / 473.9 MB, free: 14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.6692, allocations: 9.5 kB / 473.9 MB, free: 13.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6693, allocations: 338.9 kB / 474.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/0.67, allocations: 225 kB / 474.4 MB, free: 13.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.6707, allocations: 336.1 kB / 474.8 MB, free: 13.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.6715, allocations: 267.2 kB / 475 MB, free: 12.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6715, allocations: 0 / 475 MB, free: 12.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001959/0.6734, allocations: 0.7476 MB / 475.8 MB, free: 12.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.6735, allocations: 8.031 kB / 475.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.6735, allocations: 4 kB / 475.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/0.6739, allocations: 65.67 kB / 475.9 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/0.6773, allocations: 403.5 kB / 476.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007775/0.6852, allocations: 5.866 MB / 482.1 MB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008854/0.6861, allocations: 48.12 kB / 482.2 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/0.6862, allocations: 27.92 kB / 482.2 MB, free: 5.078 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.6864, allocations: 135.6 kB / 482.3 MB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6866, allocations: 51.34 kB / 482.4 MB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.6885, allocations: 0.7471 MB / 483.1 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.6886, allocations: 8 kB / 483.1 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6886, allocations: 0 / 483.1 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.6886, allocations: 0 / 483.1 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.6928, allocations: 1.598 MB / 484.7 MB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.6929, allocations: 4.188 kB / 484.7 MB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003649/0.6965, allocations: 431.5 kB / 485.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.697, allocations: 77.61 kB / 485.2 MB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.6971, allocations: 27.91 kB / 485.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.7002, allocations: 2.837 MB / 488.1 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.7002, allocations: 8.094 kB / 488.1 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.7031, allocations: 1.269 MB / 489.4 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.7033, allocations: 124.5 kB / 489.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7034, allocations: 12.61 kB / 489.5 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/0.7041, allocations: 48 kB / 489.5 MB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.7043, allocations: 47.94 kB / 489.6 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.7044, allocations: 15.98 kB / 489.6 MB, free: 13.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005078/0.7049, allocations: 277.2 kB / 489.9 MB, free: 12.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7049, allocations: 0 / 489.9 MB, free: 12.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001005/0.7059, allocations: 151.9 kB / 490 MB, free: 12.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003359/0.7093, allocations: 2.313 MB / 492.3 MB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004018/0.7134, allocations: 1.012 MB / 493.4 MB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.7134, allocations: 0 / 493.4 MB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003548/0.717, allocations: 0.8082 MB / 494.2 MB, free: 8.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.7182, allocations: 129.4 kB / 494.3 MB, free: 8.305 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.7237, allocations: 1.495 MB / 495.8 MB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/0.7245, allocations: 0.9603 MB / 496.7 MB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/0.7251, allocations: 195.4 kB / 496.9 MB, free: 5.566 MB / 426.7 MB Notification: Performance of SimCode: time 2.043e-06/0.7251, allocations: 0 / 496.9 MB, free: 5.566 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.183/3.908, allocations: 18.95 MB / 0.5038 GB, free: 2.605 MB / 442.7 MB