Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.377/2.377, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.743e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5677, allocations: 91.45 MB / 447 MB, free: 10.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.568, allocations: 83.95 kB / 447.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06981/0.6379, allocations: 12.47 MB / 459.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.6379, allocations: 0 / 459.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.638, allocations: 8 kB / 459.5 MB, free: 13.45 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001776/0.6398, allocations: 0.6171 MB / 460.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.6399, allocations: 8.031 kB / 460.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/0.64, allocations: 74.53 kB / 460.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.6414, allocations: 95.36 kB / 460.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/0.6459, allocations: 0.8526 MB / 461.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.6459, allocations: 25.12 kB / 461.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.6461, allocations: 39.94 kB / 461.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.6476, allocations: 452.7 kB / 461.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.6477, allocations: 3.906 kB / 461.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.6478, allocations: 12 kB / 461.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.036e-05/0.6479, allocations: 28.77 kB / 461.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.6491, allocations: 313.4 kB / 462 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004658/0.6538, allocations: 1.709 MB / 463.7 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.6544, allocations: 141.1 kB / 463.9 MB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.6547, allocations: 105.8 kB / 464 MB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.6548, allocations: 3.984 kB / 464 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.6549, allocations: 44.33 kB / 464 MB, free: 8.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 4.258e-06/0.6549, allocations: 0 / 464 MB, free: 8.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002438/0.6573, allocations: 0.6829 MB / 464.7 MB, free: 7.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.6574, allocations: 85.05 kB / 464.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.6581, allocations: 266.7 kB / 465.1 MB, free: 7.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.6581, allocations: 29.7 kB / 465.1 MB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.6584, allocations: 251.4 kB / 465.3 MB, free: 7.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.6586, allocations: 59.11 kB / 465.4 MB, free: 7.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.6586, allocations: 8 kB / 465.4 MB, free: 7.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.6589, allocations: 342.8 kB / 465.7 MB, free: 6.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.6592, allocations: 92.28 kB / 465.8 MB, free: 6.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.6597, allocations: 181.1 kB / 466 MB, free: 6.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.6602, allocations: 126.3 kB / 466.1 MB, free: 6.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.6602, allocations: 4 kB / 466.1 MB, free: 6.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001934/0.6622, allocations: 448.6 kB / 466.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.6622, allocations: 4 kB / 466.6 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001309/0.6635, allocations: 288.2 kB / 466.8 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.6646, allocations: 128.9 kB / 467 MB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.6652, allocations: 55.91 kB / 467 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.6703, allocations: 2.144 MB / 469.2 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.6708, allocations: 19.98 kB / 469.2 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.6708, allocations: 13.69 kB / 469.2 MB, free: 3.223 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.671, allocations: 124.8 kB / 469.3 MB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.6711, allocations: 23.72 kB / 469.3 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.6718, allocations: 253.1 kB / 469.6 MB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.6719, allocations: 0 / 469.6 MB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.6719, allocations: 4 kB / 469.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6719, allocations: 0 / 469.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.6737, allocations: 0.7162 MB / 470.3 MB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6738, allocations: 0 / 470.3 MB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.6742, allocations: 39.91 kB / 470.4 MB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.6744, allocations: 32.91 kB / 470.4 MB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.6744, allocations: 8 kB / 470.4 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.6762, allocations: 1.482 MB / 471.9 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6762, allocations: 0 / 471.9 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.6771, allocations: 450.8 kB / 472.3 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.6773, allocations: 112.7 kB / 472.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.6774, allocations: 7.938 kB / 472.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.6777, allocations: 11.98 kB / 472.4 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.6778, allocations: 19.92 kB / 472.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.6778, allocations: 8 kB / 472.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003536/0.6781, allocations: 214.2 kB / 472.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6782, allocations: 0 / 472.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000735/0.6789, allocations: 96 kB / 472.8 MB, free: 15.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/0.6803, allocations: 1.218 MB / 474 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.6815, allocations: 376.2 kB / 474.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6815, allocations: 256 / 474.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.682, allocations: 218.5 kB / 474.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.6827, allocations: 57.12 kB / 474.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.6851, allocations: 0.766 MB / 475.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.6858, allocations: 0.846 MB / 476.2 MB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.6862, allocations: 62.92 kB / 476.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.6864, allocations: 123.4 kB / 476.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6865, allocations: 0 / 476.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.7341, allocations: 7.267 MB / 483.7 MB, free: 4.387 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/0.7345, allocations: 185.2 kB / 483.9 MB, free: 4.152 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.5, allocations: 0 / 483.9 MB, free: 4.152 MB / 410.7 MB