Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.504/2.504, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.792e-05/4.784e-05, allocations: 8 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 53.23 MB / 355.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/0.6236, allocations: 95.92 MB / 451.4 MB, free: 5.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004813/0.6241, allocations: 91.94 kB / 451.5 MB, free: 5.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1102/0.7343, allocations: 15.27 MB / 466.8 MB, free: 6.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7344, allocations: 0 / 466.8 MB, free: 6.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.362e-05/0.7345, allocations: 16 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.003382/0.7379, allocations: 0.8015 MB / 467.6 MB, free: 5.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.713e-05/0.738, allocations: 8.594 kB / 467.6 MB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003328/0.7383, allocations: 94.52 kB / 467.7 MB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.7387, allocations: 67.16 kB / 467.8 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006956/0.7457, allocations: 1.062 MB / 468.9 MB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-05/0.7458, allocations: 37.69 kB / 468.9 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.7461, allocations: 51.94 kB / 468.9 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.7484, allocations: 0.6172 MB / 469.6 MB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.7485, allocations: 0 / 469.6 MB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.7486, allocations: 24 kB / 469.6 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.7487, allocations: 12 kB / 469.6 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.7508, allocations: 0.4899 MB / 470.1 MB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008537/0.7594, allocations: 2.25 MB / 472.3 MB, free: 412 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.7614, allocations: 464.1 kB / 472.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.763, allocations: 333.7 kB / 473.1 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/0.7631, allocations: 4 kB / 473.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/0.7631, allocations: 46.55 kB / 473.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 5.72e-06/0.7632, allocations: 0 / 473.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.005815/0.769, allocations: 1.339 MB / 474.5 MB, free: 14.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.7691, allocations: 82.8 kB / 474.6 MB, free: 14.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.7702, allocations: 371 kB / 474.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.484e-05/0.7703, allocations: 29.7 kB / 475 MB, free: 13.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.7707, allocations: 292.5 kB / 475.3 MB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.771, allocations: 169.6 kB / 475.4 MB, free: 13.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.7711, allocations: 8 kB / 475.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.7714, allocations: 362.8 kB / 475.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.7722, allocations: 177.1 kB / 476 MB, free: 12.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009749/0.7732, allocations: 294.5 kB / 476.2 MB, free: 12.31 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.005897/0.7792, allocations: 0.7497 MB / 477 MB, free: 11.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.7792, allocations: 4 kB / 477 MB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003072/0.7823, allocations: 0.6757 MB / 477.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.7824, allocations: 8 kB / 477.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7824, allocations: 4 kB / 477.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009672/0.7834, allocations: 132.8 kB / 477.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.7849, allocations: 115.8 kB / 477.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.7919, allocations: 2.339 MB / 480.3 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009652/0.7929, allocations: 23.94 kB / 480.3 MB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.793, 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.0003372/0.7934, allocations: 132.9 kB / 480.4 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.7936, allocations: 51.44 kB / 480.5 MB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.7965, allocations: 0.6461 MB / 481.1 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.7966, allocations: 4 kB / 481.1 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.7966, allocations: 4 kB / 481.1 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.7966, allocations: 3.984 kB / 481.2 MB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006084/0.8027, allocations: 1.338 MB / 482.5 MB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/0.8029, allocations: 8.078 kB / 482.5 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.8041, allocations: 75.84 kB / 482.6 MB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.8053, allocations: 137.8 kB / 482.7 MB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.8055, allocations: 12 kB / 482.7 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/0.8121, allocations: 2.332 MB / 485.1 MB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.8122, allocations: 7.938 kB / 485.1 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.8163, allocations: 1.03 MB / 486.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.8168, allocations: 124.5 kB / 486.2 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.817, allocations: 12 kB / 486.2 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.8178, allocations: 16.09 kB / 486.2 MB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.818, allocations: 47.64 kB / 486.3 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.8181, allocations: 15.95 kB / 486.3 MB, free: 1.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000836/0.8189, allocations: 289.2 kB / 486.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.819, allocations: 0 / 486.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001761/0.8208, allocations: 144 kB / 486.7 MB, free: 1.332 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.004845/0.8257, allocations: 2.012 MB / 488.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.8287, allocations: 0.6197 MB / 489.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.8288, allocations: 224 / 489.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.8306, allocations: 417.7 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.00168/0.8323, allocations: 114 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.005376/0.8378, allocations: 1.162 MB / 491 MB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.8389, allocations: 0.9413 MB / 492 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009443/0.8399, 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.0006093/0.8405, allocations: 199.9 kB / 492.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.8406, allocations: 0 / 492.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/0.8905, allocations: 11.23 MB / 0.4917 GB, free: 460 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/0.8909, allocations: 180.5 kB / 0.4919 GB, free: 228 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.78, allocations: 0 / 0.4919 GB, free: 228 kB / 426.7 MB