Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.434/2.434, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.61e-05, allocations: 4 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 53.23 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5253/0.65, allocations: 89.71 MB / 445.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.6504, allocations: 88.8 kB / 445.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0298/0.6803, allocations: 6.602 MB / 451.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6803, allocations: 0 / 451.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.141e-05/0.6804, allocations: 7.984 kB / 451.9 MB, free: 5.129 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001116/0.6815, allocations: 0.5309 MB / 452.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.6815, allocations: 16.03 kB / 452.5 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.6817, allocations: 58.53 kB / 452.5 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.6818, allocations: 31.62 kB / 452.6 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.6848, allocations: 0.7631 MB / 453.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.6849, allocations: 16.44 kB / 453.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.6849, allocations: 20.52 kB / 453.4 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.6856, allocations: 286.3 kB / 453.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6857, allocations: 3.953 kB / 453.7 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.6857, allocations: 8 kB / 453.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.6857, allocations: 8 kB / 453.7 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.6862, allocations: 164.6 kB / 453.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.6883, allocations: 1.229 MB / 455.1 MB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.6887, allocations: 109.2 kB / 455.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.6889, allocations: 38.34 kB / 455.2 MB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.6889, allocations: 11.92 kB / 455.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6889, allocations: 34.56 kB / 455.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.835e-06/0.689, allocations: 0 / 455.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001117/0.6901, allocations: 466.5 kB / 455.7 MB, free: 1.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.6902, allocations: 85.03 kB / 455.8 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.6905, allocations: 211.2 kB / 456 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.6905, allocations: 29.7 kB / 456 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.6907, allocations: 195.6 kB / 456.2 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.6908, allocations: 39.45 kB / 456.3 MB, free: 488 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.6908, allocations: 5.125 kB / 456.3 MB, free: 484 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.691, allocations: 338.8 kB / 456.6 MB, free: 136 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.6911, allocations: 35.98 kB / 456.6 MB, free: 100 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.6913, allocations: 120.9 kB / 456.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.6915, allocations: 61.14 kB / 456.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6915, allocations: 0 / 456.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004957/0.692, allocations: 189.5 kB / 457 MB, free: 15.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6921, allocations: 14.28 kB / 457 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6921, allocations: 4 kB / 457 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.6921, allocations: 11.95 kB / 457 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.6925, allocations: 43.91 kB / 457.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.6925, allocations: 5.406 kB / 457.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.6927, allocations: 12 kB / 457.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.6927, allocations: 8 kB / 457.1 MB, free: 15.59 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 (24): * Single equations (assignments): 24 * 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.000119/0.6929, allocations: 120.9 kB / 457.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.6929, allocations: 23.72 kB / 457.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.6933, allocations: 131.4 kB / 457.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.6933, allocations: 7.953 kB / 457.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6934, allocations: 0 / 457.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6934, allocations: 3.984 kB / 457.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.6942, allocations: 467.8 kB / 457.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.6942, allocations: 3.984 kB / 457.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.6945, allocations: 27.94 kB / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6945, allocations: 11.92 kB / 457.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.6945, allocations: 0 / 457.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.6946, allocations: 4 kB / 457.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6946, allocations: 0.5625 kB / 457.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.6951, allocations: 302.3 kB / 458.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/0.6952, allocations: 92.86 kB / 458.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.6953, allocations: 11.98 kB / 458.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.6954, allocations: 0 / 458.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.6955, allocations: 8 kB / 458.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.6955, allocations: 7.938 kB / 458.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.6958, allocations: 175 kB / 458.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6958, allocations: 0 / 458.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004915/0.6963, allocations: 48 kB / 458.5 MB, free: 14.05 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 (13): * Single equations (assignments): 12 * 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.0009376/0.6973, allocations: 0.972 MB / 459.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.6976, allocations: 103.9 kB / 459.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6976, allocations: 0 / 459.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.6978, allocations: 43.92 kB / 459.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.6984, allocations: 52.28 kB / 459.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.6998, allocations: 450 kB / 460.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.7003, allocations: 0.7755 MB / 460.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.7005, allocations: 34.05 kB / 460.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.7007, allocations: 83.41 kB / 461 MB, free: 11.45 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.7007, allocations: 0 / 461 MB, free: 11.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.7276, allocations: 4.195 MB / 465.2 MB, free: 7.328 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003668/0.7281, allocations: 173.4 kB / 465.4 MB, free: 7.102 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.18, allocations: 0 / 465.4 MB, free: 7.102 MB / 394.7 MB