Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.488/2.488, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.614e-05/4.628e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.5893, allocations: 106 MB / 461.6 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/0.5898, allocations: 91.94 kB / 461.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1033/0.6931, allocations: 21.78 MB / 483.4 MB, free: 5.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6931, allocations: 0 / 483.4 MB, free: 5.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.402e-05/0.6932, allocations: 19.98 kB / 483.4 MB, free: 5.426 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003073/0.6963, allocations: 0.9499 MB / 484.4 MB, free: 4.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6964, allocations: 12.03 kB / 484.4 MB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.6966, allocations: 118.6 kB / 484.5 MB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.6977, allocations: 134.8 kB / 484.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.7025, allocations: 1.132 MB / 485.8 MB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.7026, allocations: 49.31 kB / 485.8 MB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.7028, allocations: 64 kB / 485.9 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.7052, allocations: 0.9768 MB / 486.9 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.7053, allocations: 7.984 kB / 486.9 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.7054, allocations: 24 kB / 486.9 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002765/0.7057, allocations: 61.28 kB / 487 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.7082, allocations: 0.9168 MB / 487.9 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008295/0.7165, allocations: 3.213 MB / 491.1 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.7185, allocations: 0.6832 MB / 491.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.7196, allocations: 439.8 kB / 492.2 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.217e-05/0.7197, allocations: 8.547 kB / 492.2 MB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.7198, allocations: 56.45 kB / 492.3 MB, free: 12.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.028e-06/0.7198, allocations: 3.938 kB / 492.3 MB, free: 12.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.005336/0.7252, allocations: 2.08 MB / 494.4 MB, free: 10.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.7253, allocations: 89.7 kB / 494.4 MB, free: 10.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/0.726, allocations: 379 kB / 494.8 MB, free: 9.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.7261, allocations: 37.7 kB / 494.9 MB, free: 9.637 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.7264, allocations: 343.8 kB / 495.2 MB, free: 9.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.7267, allocations: 275.9 kB / 495.5 MB, free: 9.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.7268, allocations: 16 kB / 495.5 MB, free: 9.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.727, allocations: 370.8 kB / 495.8 MB, free: 8.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008832/0.7279, allocations: 345.7 kB / 496.2 MB, free: 8.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.729, allocations: 0.5027 MB / 496.7 MB, free: 7.727 MB / 426.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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/0.7463, allocations: 2.759 MB / 499.4 MB, free: 4.945 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.7463, allocations: 3.953 kB / 499.4 MB, free: 4.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002728/0.749, allocations: 1.079 MB / 0.4888 GB, free: 3.836 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.7491, allocations: 9.219 kB / 0.4888 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.7491, allocations: 7.938 kB / 0.4888 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.7493, allocations: 40.83 kB / 0.4888 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.751, allocations: 199.9 kB / 0.489 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.7526, allocations: 1.39 MB / 0.4904 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/0.7535, allocations: 47.97 kB / 0.4904 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.7536, allocations: 28 kB / 0.4905 GB, free: 1.98 MB / 426.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[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (93): * Single equations (assignments): 89 * Array equations: 3 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002765/0.7539, allocations: 156.7 kB / 0.4906 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.7541, allocations: 59.25 kB / 0.4907 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.7567, allocations: 1.011 MB / 0.4917 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-05/0.7568, allocations: 23.95 kB / 0.4917 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7568, allocations: 0 / 0.4917 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.7568, allocations: 7.984 kB / 0.4917 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005576/0.7624, allocations: 2.053 MB / 0.4937 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.7625, allocations: 8.562 kB / 0.4937 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.764, allocations: 163.8 kB / 0.4939 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.7642, allocations: 40.83 kB / 0.4939 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.7643, allocations: 20 kB / 0.4939 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.7658, allocations: 1.39 MB / 0.4953 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.7658, allocations: 11.94 kB / 0.4953 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/0.7694, allocations: 1.81 MB / 0.4971 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.7697, allocations: 136.4 kB / 0.4972 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.7699, allocations: 20 kB / 0.4972 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.7706, allocations: 40.08 kB / 0.4972 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.7707, allocations: 60.33 kB / 0.4973 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.7708, allocations: 35.98 kB / 0.4973 GB, free: 10.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005099/0.7714, allocations: 281.2 kB / 0.4976 GB, free: 10.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7714, allocations: 8 kB / 0.4976 GB, free: 10.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001111/0.7725, allocations: 207.9 kB / 0.4978 GB, free: 9.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],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 (76): * Single equations (assignments): 71 * Array equations: 3 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004592/0.7771, allocations: 3.722 MB / 0.5014 GB, free: 6.027 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002606/0.7798, allocations: 0.9433 MB / 0.5024 GB, free: 5.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.7798, allocations: 5.25 kB / 0.5024 GB, free: 5.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.7811, allocations: 0.5321 MB / 0.5029 GB, free: 4.527 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.7824, allocations: 118 kB / 0.503 GB, free: 4.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.7879, allocations: 1.89 MB / 0.5048 GB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/0.7888, allocations: 1.029 MB / 0.5058 GB, free: 1.367 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001147/0.79, allocations: 205.3 kB / 0.506 GB, free: 1.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.7906, allocations: 267.3 kB / 0.5063 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7906, allocations: 0 / 0.5063 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04985/0.8405, allocations: 13.97 MB / 0.5199 GB, free: 3.008 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.8408, allocations: 177 kB / 0.5201 GB, free: 2.781 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.674, allocations: 4.062 kB / 0.5201 GB, free: 2.777 MB / 458.7 MB