Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.368/2.368, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.672e-05, allocations: 3.984 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 53.24 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.5991, allocations: 95.92 MB / 451.4 MB, free: 5.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004427/0.5996, allocations: 91.94 kB / 451.5 MB, free: 5.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1151/0.7147, allocations: 15.27 MB / 466.8 MB, free: 6.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7147, allocations: 0 / 466.8 MB, free: 6.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.2e-05/0.7148, allocations: 12 kB / 466.8 MB, free: 6.145 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002222/0.717, allocations: 0.8093 MB / 467.6 MB, free: 5.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7171, allocations: 8.031 kB / 467.6 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.7173, allocations: 90.52 kB / 467.7 MB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.7175, allocations: 67.16 kB / 467.8 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/0.722, allocations: 1.058 MB / 468.8 MB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.7221, allocations: 41.62 kB / 468.9 MB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.7223, allocations: 52.55 kB / 468.9 MB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.7238, allocations: 0.6082 MB / 469.5 MB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.7239, allocations: 4 kB / 469.6 MB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.724, allocations: 24 kB / 469.6 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.724, allocations: 12 kB / 469.6 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.7253, allocations: 0.4918 MB / 470.1 MB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005688/0.731, allocations: 2.25 MB / 472.3 MB, free: 412 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.7328, allocations: 461.4 kB / 472.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.7342, allocations: 337.5 kB / 473.1 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.7343, allocations: 8 kB / 473.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.7344, allocations: 38.56 kB / 473.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 4.528e-06/0.7344, allocations: 0 / 473.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.004894/0.7393, allocations: 1.335 MB / 474.5 MB, free: 14.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.7394, allocations: 89.11 kB / 474.6 MB, free: 14.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.7403, allocations: 359 kB / 474.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.7404, allocations: 37.69 kB / 475 MB, free: 13.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.7408, allocations: 288.5 kB / 475.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.741, allocations: 165.6 kB / 475.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.7411, allocations: 12 kB / 475.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.7413, allocations: 362.8 kB / 475.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.742, allocations: 181.1 kB / 476 MB, free: 12.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.7428, allocations: 298.5 kB / 476.2 MB, free: 12.3 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/0.7475, allocations: 0.7497 MB / 477 MB, free: 11.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.7475, allocations: 0 / 477 MB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002893/0.7504, allocations: 0.6835 MB / 477.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.7505, allocations: 6.344 kB / 477.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.7505, allocations: 5.125 kB / 477.7 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009524/0.7515, allocations: 136.7 kB / 477.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.7529, allocations: 108.1 kB / 477.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.7588, allocations: 2.34 MB / 480.3 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.7596, allocations: 23.94 kB / 480.3 MB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.7597, allocations: 23.98 kB / 480.3 MB, free: 8.074 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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: 1 {(3,88.9%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.76, allocations: 134.1 kB / 480.4 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.7602, allocations: 51.44 kB / 480.5 MB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.7627, allocations: 0.6461 MB / 481.1 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.7628, allocations: 4 kB / 481.1 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.7628, allocations: 4 kB / 481.1 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.7628, allocations: 7.984 kB / 481.2 MB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.7677, allocations: 1.338 MB / 482.5 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.7678, allocations: 4 kB / 482.5 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/0.7688, allocations: 71.89 kB / 482.6 MB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009299/0.7697, allocations: 132.8 kB / 482.7 MB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.799e-05/0.7698, allocations: 20.14 kB / 482.7 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005628/0.7755, allocations: 2.339 MB / 485.1 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.7755, allocations: 0 / 485.1 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/0.7789, allocations: 1.028 MB / 486.1 MB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.7792, allocations: 120.5 kB / 486.2 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.7794, allocations: 16.03 kB / 486.2 MB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/0.7801, allocations: 20.09 kB / 486.2 MB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.7802, allocations: 43.64 kB / 486.3 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.7803, allocations: 19.95 kB / 486.3 MB, free: 1.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005376/0.7809, allocations: 281.2 kB / 486.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.535e-06/0.7809, allocations: 0 / 486.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001972/0.7829, allocations: 155.9 kB / 486.7 MB, free: 1.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005024/0.788, allocations: 2.001 MB / 488.7 MB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003084/0.7911, allocations: 0.6194 MB / 489.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.7912, allocations: 0 / 489.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.7926, allocations: 422.1 kB / 489.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.7944, allocations: 117 kB / 489.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.7979, allocations: 1.164 MB / 491 MB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.7986, allocations: 0.9452 MB / 492 MB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000626/0.7993, allocations: 104.7 kB / 492.1 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.7997, allocations: 195.4 kB / 492.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7997, allocations: 0 / 492.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.8432, allocations: 11.24 MB / 0.4917 GB, free: 452 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/0.8436, allocations: 183.8 kB / 0.4919 GB, free: 224 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.547, allocations: 0 / 0.4919 GB, free: 224 kB / 426.7 MB