Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.396/2.396, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.679e-05, allocations: 4 kB / 301.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 53.25 MB / 354.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4624/0.5763, allocations: 91.23 MB / 445.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004474/0.5768, allocations: 87.94 kB / 445.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04718/0.624, allocations: 7.656 MB / 453.6 MB, free: 2.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6241, allocations: 0 / 453.6 MB, free: 2.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.622e-05/0.6241, allocations: 8 kB / 453.6 MB, free: 2.848 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.001428/0.6255, allocations: 0.5858 MB / 454.2 MB, free: 2.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.6256, allocations: 8.031 kB / 454.2 MB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.6257, allocations: 66.53 kB / 454.2 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.6259, allocations: 35.53 kB / 454.3 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.6289, allocations: 0.7323 MB / 455 MB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.6289, allocations: 21.08 kB / 455 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.629, allocations: 24.34 kB / 455 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.6299, allocations: 357.1 kB / 455.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6299, allocations: 0 / 455.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.63, allocations: 12 kB / 455.4 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.63, allocations: 4 kB / 455.4 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.6307, allocations: 244.9 kB / 455.7 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.6334, allocations: 1.443 MB / 457.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.6338, allocations: 153.1 kB / 457.2 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.634, allocations: 78.41 kB / 457.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.6341, allocations: 0 / 457.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.6341, allocations: 46.5 kB / 457.4 MB, free: 14.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.415e-06/0.6342, allocations: 0 / 457.4 MB, free: 14.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001621/0.6358, allocations: 0.6096 MB / 458 MB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.6359, allocations: 81.05 kB / 458.1 MB, free: 14.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.6363, allocations: 266.6 kB / 458.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.6364, allocations: 26.3 kB / 458.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.6366, allocations: 270.2 kB / 458.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/0.6367, allocations: 55.2 kB / 458.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.6367, allocations: 8 kB / 458.7 MB, free: 13.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.6369, allocations: 318.8 kB / 459 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.6371, allocations: 67.97 kB / 459 MB, free: 13.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.6374, allocations: 162.3 kB / 459.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.6377, allocations: 91.94 kB / 459.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6377, allocations: 3.953 kB / 459.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006493/0.6384, allocations: 253.9 kB / 459.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6385, allocations: 8 kB / 459.6 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6385, allocations: 0 / 459.6 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.6385, allocations: 8 kB / 459.6 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.639, allocations: 63.84 kB / 459.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.639, allocations: 4.438 kB / 459.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.6394, allocations: 19.89 kB / 459.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.6394, allocations: 12 kB / 459.7 MB, free: 12.37 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.0001281/0.6396, allocations: 120.9 kB / 459.8 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.6396, allocations: 31.66 kB / 459.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.6404, allocations: 226.4 kB / 460 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.6404, allocations: 4 kB / 460 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6404, allocations: 0 / 460 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6404, allocations: 13.14 kB / 460 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.6417, allocations: 0.6162 MB / 460.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6417, allocations: 0 / 460.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.6422, allocations: 39.92 kB / 460.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.6422, allocations: 8 kB / 460.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.6422, allocations: 0 / 460.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.6422, allocations: 4 kB / 460.7 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6422, allocations: 0 / 460.7 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.6431, allocations: 444.6 kB / 461.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.6433, allocations: 108.7 kB / 461.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.6434, allocations: 3.984 kB / 461.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.6437, allocations: 12 kB / 461.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.6437, allocations: 15.98 kB / 461.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.6438, allocations: 8.656 kB / 461.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000332/0.6441, allocations: 206.2 kB / 461.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6441, allocations: 0 / 461.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000622/0.6447, allocations: 64 kB / 461.6 MB, free: 10.35 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.001317/0.6461, allocations: 1.134 MB / 462.7 MB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005548/0.6467, allocations: 178.3 kB / 462.9 MB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6467, allocations: 0.9375 kB / 462.9 MB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.6469, allocations: 89.53 kB / 463 MB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/0.6476, allocations: 60.86 kB / 463 MB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.6494, allocations: 0.587 MB / 463.6 MB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.65, allocations: 0.8184 MB / 464.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.6505, allocations: 107.4 kB / 464.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.6505, allocations: 0 / 464.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/3.255, allocations: 5.227 MB / 469.8 MB, free: 2.047 MB / 394.7 MB