Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.201/2.201, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.567e-05, allocations: 7.938 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 53.24 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5491, allocations: 91.23 MB / 446.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5495, allocations: 87.94 kB / 446.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03712/0.5866, allocations: 7.661 MB / 454.5 MB, free: 2.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5867, allocations: 0 / 454.5 MB, free: 2.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.022e-05/0.5867, allocations: 8 kB / 454.5 MB, free: 2.652 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001358/0.5881, allocations: 0.5858 MB / 455.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.5882, allocations: 12.03 kB / 455.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.5883, allocations: 58.55 kB / 455.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.5885, allocations: 49.12 kB / 455.2 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.5913, allocations: 0.7245 MB / 455.9 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.5914, allocations: 21.08 kB / 456 MB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.5914, allocations: 24.34 kB / 456 MB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008193/0.5923, allocations: 355.6 kB / 456.3 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5923, allocations: 0 / 456.3 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.5924, allocations: 12 kB / 456.3 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.5924, allocations: 8 kB / 456.4 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.5931, allocations: 244.9 kB / 456.6 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.5957, allocations: 1.439 MB / 458 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.5962, allocations: 153.1 kB / 458.2 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.5964, allocations: 77.75 kB / 458.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.5964, allocations: 8 kB / 458.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.5965, allocations: 34.5 kB / 458.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 4.879e-06/0.5965, allocations: 0 / 458.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001596/0.5981, allocations: 0.6134 MB / 458.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.5982, allocations: 81.14 kB / 459 MB, free: 13.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.5987, allocations: 267.2 kB / 459.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5987, allocations: 29.7 kB / 459.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.5989, allocations: 211.8 kB / 459.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.599, allocations: 59.19 kB / 459.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.599, allocations: 4 kB / 459.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5991, allocations: 338.8 kB / 459.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.5993, allocations: 69.19 kB / 460 MB, free: 12.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.5996, allocations: 160.8 kB / 460.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.5999, allocations: 96.64 kB / 460.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5999, allocations: 3.953 kB / 460.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006652/0.6006, allocations: 270.3 kB / 460.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6006, allocations: 4 kB / 460.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6006, allocations: 4.438 kB / 460.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6007, allocations: 12 kB / 460.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.6012, allocations: 51.91 kB / 460.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.6012, allocations: 11.94 kB / 460.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.6015, allocations: 11.98 kB / 460.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.6015, allocations: 19.98 kB / 460.6 MB, free: 12.18 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.6017, allocations: 120.9 kB / 460.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.6018, allocations: 37.06 kB / 460.7 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.6024, allocations: 227.7 kB / 461 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6024, allocations: 0 / 461 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6024, allocations: 4 kB / 461 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6024, allocations: 3.984 kB / 461 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.6036, allocations: 0.6162 MB / 461.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.6036, allocations: 4 kB / 461.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.604, allocations: 39.92 kB / 461.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.604, allocations: 0 / 461.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.6041, allocations: 4.031 kB / 461.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6041, allocations: 4 kB / 461.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6041, allocations: 4 kB / 461.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.6049, allocations: 442.9 kB / 462.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.6051, allocations: 104.9 kB / 462.2 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.6051, allocations: 11.92 kB / 462.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.6054, allocations: 11.94 kB / 462.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.6055, allocations: 13.58 kB / 462.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.6055, allocations: 4 kB / 462.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003124/0.6058, allocations: 210.2 kB / 462.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6058, allocations: 0 / 462.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005368/0.6064, allocations: 64 kB / 462.5 MB, free: 10.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.6077, allocations: 1.134 MB / 463.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.6082, allocations: 184.1 kB / 463.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6082, allocations: 0 / 463.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.6085, allocations: 87.84 kB / 463.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.6091, allocations: 60.67 kB / 463.9 MB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.6107, allocations: 0.5413 MB / 464.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.6112, allocations: 0.8184 MB / 465.3 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003326/0.6116, allocations: 50.94 kB / 465.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.6118, allocations: 111.4 kB / 465.5 MB, free: 7.082 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6119, allocations: 4 kB / 465.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.6445, allocations: 5.541 MB / 471 MB, free: 1.617 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/0.6449, allocations: 151.7 kB / 471.2 MB, free: 1.391 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.984, allocations: 0 / 471.2 MB, free: 1.391 MB / 394.7 MB