Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.546/2.546, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.528e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 53.24 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.5943, allocations: 89.09 MB / 444.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/0.5947, allocations: 83.95 kB / 444.7 MB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02951/0.6242, allocations: 6.127 MB / 450.8 MB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.999e-06/0.6243, allocations: 0 / 450.8 MB, free: 6.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.6243, allocations: 11.94 kB / 450.8 MB, free: 6.23 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001076/0.6254, allocations: 0.4994 MB / 451.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6255, allocations: 8.031 kB / 451.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.6256, allocations: 58.55 kB / 451.4 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.6257, allocations: 31.61 kB / 451.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.629, allocations: 0.748 MB / 452.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.6291, allocations: 12.44 kB / 452.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.6292, allocations: 24.52 kB / 452.2 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.6298, allocations: 257.3 kB / 452.5 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.6298, allocations: 7.953 kB / 452.5 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.6299, allocations: 8 kB / 452.5 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.6299, allocations: 4.562 kB / 452.5 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.6303, allocations: 155.9 kB / 452.6 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.6323, allocations: 1.173 MB / 453.8 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.6326, allocations: 73.11 kB / 453.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.6327, allocations: 33.91 kB / 453.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.6328, allocations: 0 / 453.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6328, allocations: 40.53 kB / 454 MB, free: 2.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.6328, allocations: 0 / 454 MB, free: 2.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001011/0.6338, allocations: 401.3 kB / 454.4 MB, free: 2.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.634, allocations: 81.14 kB / 454.4 MB, free: 2.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.6343, allocations: 214.8 kB / 454.6 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6343, allocations: 29.7 kB / 454.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.6345, allocations: 187.6 kB / 454.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.6345, allocations: 27.64 kB / 454.9 MB, free: 1.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.6346, allocations: 0 / 454.9 MB, free: 1.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6347, allocations: 338.8 kB / 455.2 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.6348, allocations: 24.38 kB / 455.2 MB, free: 1.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.635, allocations: 121.4 kB / 455.4 MB, free: 1.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.6351, allocations: 49.25 kB / 455.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6351, allocations: 0 / 455.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003973/0.6355, allocations: 173.1 kB / 455.6 MB, free: 1.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.6356, allocations: 8 kB / 455.6 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6356, allocations: 4.438 kB / 455.6 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.6356, allocations: 11.95 kB / 455.6 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.6359, allocations: 39.92 kB / 455.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.636, allocations: 4 kB / 455.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.6362, allocations: 8 kB / 455.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.6362, allocations: 12.55 kB / 455.7 MB, free: 1.016 MB / 378.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 (22): * Single equations (assignments): 22 * 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.0001027/0.6363, allocations: 124.8 kB / 455.8 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.6364, allocations: 23.72 kB / 455.8 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.6366, allocations: 87.66 kB / 455.9 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.6367, allocations: 8 kB / 455.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6367, allocations: 3.953 kB / 455.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6367, allocations: 0.75 kB / 455.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.6374, allocations: 423.3 kB / 456.3 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6374, allocations: 0 / 456.3 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.6376, allocations: 12 kB / 456.3 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.6376, allocations: 0 / 456.3 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.6376, allocations: 7.953 kB / 456.3 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.6377, allocations: 3.938 kB / 456.3 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6377, allocations: 4.031 kB / 456.3 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.6381, allocations: 253.2 kB / 456.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.6382, allocations: 94.8 kB / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.6383, allocations: 4 kB / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.6384, allocations: 8 kB / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.6385, allocations: 256 / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.6385, allocations: 8 kB / 456.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002472/0.6387, allocations: 167.1 kB / 456.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6387, allocations: 0 / 456.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.6392, allocations: 43.98 kB / 456.9 MB, free: 15.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0007967/0.64, allocations: 0.925 MB / 457.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.6404, allocations: 80.56 kB / 457.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6404, allocations: 4.312 kB / 457.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.6405, allocations: 28 kB / 457.9 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.6411, allocations: 55.2 kB / 458 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.6425, allocations: 393.5 kB / 458.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.643, allocations: 0.7599 MB / 459.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.6432, allocations: 38.05 kB / 459.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.6434, allocations: 71.41 kB / 459.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6434, allocations: 4 kB / 459.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.673, allocations: 3.761 MB / 463 MB, free: 9.516 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.6734, allocations: 159.2 kB / 463.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.106, allocations: 3.938 kB / 463.2 MB, free: 9.285 MB / 394.7 MB