Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",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.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.21e-05, allocations: 4 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5344, allocations: 89.71 MB / 445.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.5348, allocations: 91.94 kB / 445.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03007/0.5649, allocations: 6.611 MB / 451.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5649, allocations: 0 / 451.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.233e-05/0.5649, allocations: 4 kB / 451.9 MB, free: 5.148 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.001097/0.566, allocations: 0.5348 MB / 452.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5661, allocations: 8.031 kB / 452.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.5662, allocations: 54.55 kB / 452.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.636e-05/0.5663, allocations: 31.62 kB / 452.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.5694, allocations: 0.7709 MB / 453.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.5695, allocations: 16.44 kB / 453.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.5696, allocations: 24.52 kB / 453.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.5703, allocations: 282.3 kB / 453.6 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5703, allocations: 3.953 kB / 453.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.5703, allocations: 12 kB / 453.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.5704, allocations: 4 kB / 453.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.5708, allocations: 164.6 kB / 453.8 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.5729, allocations: 1.225 MB / 455.1 MB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.5733, allocations: 113.2 kB / 455.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.5735, allocations: 41.78 kB / 455.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.5735, allocations: 3.938 kB / 455.2 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.5736, allocations: 30.56 kB / 455.2 MB, free: 1.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.176e-06/0.5736, allocations: 4 kB / 455.2 MB, free: 1.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001088/0.5747, allocations: 466.4 kB / 455.7 MB, free: 1.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.5748, allocations: 81.05 kB / 455.8 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.5751, allocations: 211.2 kB / 456 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5751, allocations: 33.7 kB / 456 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.5753, allocations: 199.5 kB / 456.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.5753, allocations: 39.48 kB / 456.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.5754, allocations: 4 kB / 456.3 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5756, allocations: 330.8 kB / 456.6 MB, free: 164 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.5757, allocations: 37.67 kB / 456.6 MB, free: 128 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.5759, allocations: 124.9 kB / 456.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.5761, allocations: 55.92 kB / 456.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5761, allocations: 0 / 456.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004961/0.5766, allocations: 194.5 kB / 457 MB, free: 15.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.5766, allocations: 11.94 kB / 457 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5767, allocations: 4 kB / 457 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.5767, allocations: 7.953 kB / 457 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.577, allocations: 47.91 kB / 457.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.5771, allocations: 4 kB / 457.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.5773, allocations: 8 kB / 457.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.5773, allocations: 8.375 kB / 457.1 MB, free: 15.61 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.0001122/0.5774, allocations: 127.6 kB / 457.2 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.5775, allocations: 23.7 kB / 457.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.5779, allocations: 135.4 kB / 457.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5779, allocations: 7.953 kB / 457.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.578, allocations: 0 / 457.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.578, allocations: 0 / 457.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/0.5788, allocations: 476.7 kB / 457.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5788, allocations: 0 / 457.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.5791, allocations: 27.94 kB / 457.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.5791, allocations: 11.83 kB / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.5792, allocations: 7.984 kB / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.5792, allocations: 0 / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5792, allocations: 0 / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.5797, allocations: 297.6 kB / 458.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5798, allocations: 100.8 kB / 458.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.5799, allocations: 4 kB / 458.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.5801, allocations: 0 / 458.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.5801, allocations: 7.984 kB / 458.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5801, allocations: 8 kB / 458.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.5804, allocations: 175.1 kB / 458.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5804, allocations: 4 kB / 458.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000493/0.5809, allocations: 44.56 kB / 458.5 MB, free: 14.07 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.0009037/0.5818, allocations: 0.9729 MB / 459.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.5822, allocations: 103.9 kB / 459.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5822, allocations: 0 / 459.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.5823, allocations: 44.11 kB / 459.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.5829, allocations: 53.53 kB / 459.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5843, allocations: 446.3 kB / 460.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.5848, allocations: 0.7755 MB / 460.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000229/0.585, allocations: 30.06 kB / 460.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.5852, allocations: 89.25 kB / 461 MB, free: 11.47 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5852, allocations: 0 / 461 MB, free: 11.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.6165, allocations: 4.182 MB / 465.2 MB, free: 7.363 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/0.6169, allocations: 165.5 kB / 465.3 MB, free: 7.137 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/2.863, allocations: 3.938 kB / 465.3 MB, free: 7.133 MB / 394.7 MB