Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.211/2.211, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.312e-05, allocations: 4 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5433, allocations: 89.08 MB / 444.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.5437, allocations: 83.95 kB / 444.7 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02685/0.5706, allocations: 6.121 MB / 450.8 MB, free: 6.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5706, allocations: 0 / 450.8 MB, free: 6.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.044e-05/0.5707, allocations: 15.94 kB / 450.8 MB, free: 6.246 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.0009476/0.5716, allocations: 0.4995 MB / 451.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5717, allocations: 8.031 kB / 451.4 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.468e-05/0.5718, allocations: 54.55 kB / 451.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.5719, allocations: 27.62 kB / 451.4 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.5748, allocations: 0.7441 MB / 452.2 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.5749, allocations: 16.44 kB / 452.2 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.575, allocations: 24.52 kB / 452.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.5756, allocations: 261.3 kB / 452.5 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.5757, allocations: 11.95 kB / 452.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.5757, allocations: 4 kB / 452.5 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.5757, allocations: 8 kB / 452.5 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.5762, allocations: 159.8 kB / 452.7 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.578, allocations: 1.169 MB / 453.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.5783, allocations: 73.11 kB / 453.9 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.5783, allocations: 29.91 kB / 453.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.5784, allocations: 0 / 453.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.5784, allocations: 46.56 kB / 454 MB, free: 2.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.5784, allocations: 0 / 454 MB, free: 2.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008991/0.5793, allocations: 388.8 kB / 454.3 MB, free: 2.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.5794, allocations: 85.03 kB / 454.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.5798, allocations: 218.8 kB / 454.6 MB, free: 2.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.5798, allocations: 29.73 kB / 454.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.58, allocations: 191.6 kB / 454.9 MB, free: 1.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.58, allocations: 27.64 kB / 454.9 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.58, allocations: 4 kB / 454.9 MB, free: 1.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5802, allocations: 330.8 kB / 455.2 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.5803, allocations: 32.31 kB / 455.2 MB, free: 1.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.5804, allocations: 111.3 kB / 455.4 MB, free: 1.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.5806, allocations: 47.92 kB / 455.4 MB, free: 1.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5806, allocations: 0 / 455.4 MB, free: 1.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003808/0.581, allocations: 173.1 kB / 455.6 MB, free: 1.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.581, allocations: 11.98 kB / 455.6 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.581, allocations: 4 kB / 455.6 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5811, allocations: 7.953 kB / 455.6 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.5813, allocations: 39.92 kB / 455.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5814, allocations: 4.438 kB / 455.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.5815, allocations: 12 kB / 455.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.5816, allocations: 8 kB / 455.7 MB, free: 1.035 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 9.537e-05/0.5817, allocations: 116.9 kB / 455.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.5817, allocations: 23.72 kB / 455.8 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.582, allocations: 99.42 kB / 455.9 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.582, allocations: 4 kB / 455.9 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.582, allocations: 3.953 kB / 455.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.582, allocations: 0 / 455.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.5827, allocations: 419.5 kB / 456.3 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5827, allocations: 0 / 456.3 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5829, allocations: 15.98 kB / 456.3 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/0.5829, allocations: 9.672 kB / 456.3 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5829, allocations: 7.953 kB / 456.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5829, allocations: 0 / 456.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5829, allocations: 80 / 456.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.5833, allocations: 260.4 kB / 456.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.5834, allocations: 88.92 kB / 456.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.5835, allocations: 256 / 456.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5836, allocations: 12 kB / 456.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.5837, allocations: 7.984 kB / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5837, allocations: 4.062 kB / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002302/0.5839, allocations: 168.4 kB / 456.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5839, allocations: 0 / 456.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004677/0.5844, allocations: 40 kB / 456.9 MB, free: 15.65 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.0007441/0.5852, allocations: 0.9289 MB / 457.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.5854, allocations: 77.27 kB / 457.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5855, allocations: 3.938 kB / 457.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.5856, allocations: 28.88 kB / 457.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.5861, allocations: 52.64 kB / 458 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.5874, allocations: 391.5 kB / 458.4 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.5878, allocations: 0.7677 MB / 459.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.588, allocations: 30.06 kB / 459.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5881, allocations: 71.42 kB / 459.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5881, allocations: 0 / 459.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.6125, allocations: 3.756 MB / 463 MB, free: 9.535 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/0.6128, allocations: 151.6 kB / 463.1 MB, free: 9.309 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.12, allocations: 0 / 463.1 MB, free: 9.309 MB / 394.7 MB