Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.468/2.468, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.503e-05, allocations: 0 / 302.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 53.23 MB / 355.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.5953, allocations: 91.23 MB / 446.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.5957, allocations: 87.95 kB / 446.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0363/0.632, allocations: 7.659 MB / 454.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6321, allocations: 0 / 454.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.6321, allocations: 8 kB / 454.5 MB, free: 2.773 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.001393/0.6335, allocations: 0.59 MB / 455.1 MB, free: 2.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.6336, allocations: 8.031 kB / 455.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.6337, allocations: 62.55 kB / 455.2 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.6339, allocations: 35.53 kB / 455.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.6367, allocations: 0.7323 MB / 455.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.6368, allocations: 17.08 kB / 456 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.6369, allocations: 28 kB / 456 MB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.6378, allocations: 351.9 kB / 456.3 MB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6378, allocations: 4 kB / 456.3 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.6379, allocations: 8 kB / 456.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.6379, allocations: 8 kB / 456.4 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.6386, allocations: 244.9 kB / 456.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.6413, allocations: 1.443 MB / 458 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.6418, allocations: 149 kB / 458.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.6421, allocations: 82.88 kB / 458.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.6421, allocations: 0 / 458.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.6422, allocations: 46.55 kB / 458.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.6422, allocations: 3.938 kB / 458.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001749/0.644, allocations: 0.6057 MB / 458.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.6441, allocations: 77.11 kB / 459 MB, free: 13.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.6446, allocations: 266.7 kB / 459.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.6446, allocations: 29.73 kB / 459.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.6448, allocations: 215.7 kB / 459.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.6449, allocations: 59.19 kB / 459.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.6449, allocations: 4 kB / 459.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6451, allocations: 338.8 kB / 459.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.6453, allocations: 62.03 kB / 459.9 MB, free: 13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.6456, allocations: 164.8 kB / 460.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.6459, allocations: 88.44 kB / 460.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.6459, allocations: 0 / 460.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007211/0.6467, allocations: 282.1 kB / 460.5 MB, free: 12.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.6467, allocations: 8 kB / 460.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6467, allocations: 4 kB / 460.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.6468, allocations: 4 kB / 460.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.6473, allocations: 56.34 kB / 460.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.6473, allocations: 11.92 kB / 460.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.6476, allocations: 20 kB / 460.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.6477, allocations: 11.98 kB / 460.6 MB, free: 12.31 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.0001271/0.6478, allocations: 120.9 kB / 460.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.6479, allocations: 31.67 kB / 460.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000657/0.6486, allocations: 230.3 kB / 461 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6486, allocations: 4 kB / 461 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6486, allocations: 3.984 kB / 461 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.6486, allocations: 7.984 kB / 461 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.6499, allocations: 0.6185 MB / 461.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6499, allocations: 0 / 461.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.6504, allocations: 39.92 kB / 461.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.6504, allocations: 0 / 461.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.6504, allocations: 12.59 kB / 461.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6504, allocations: 0 / 461.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6505, allocations: 3.984 kB / 461.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.6513, allocations: 444.5 kB / 462.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6515, allocations: 100.8 kB / 462.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.6515, allocations: 8 kB / 462.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.6518, allocations: 4 kB / 462.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.6519, allocations: 16.8 kB / 462.2 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.6519, allocations: 11.92 kB / 462.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003408/0.6523, allocations: 210.2 kB / 462.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6523, allocations: 0 / 462.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005472/0.6528, allocations: 63.98 kB / 462.5 MB, free: 10.29 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.001308/0.6542, allocations: 1.124 MB / 463.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.6547, allocations: 175.5 kB / 463.8 MB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6547, allocations: 0 / 463.8 MB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.655, allocations: 99.8 kB / 463.9 MB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.6556, allocations: 60.7 kB / 463.9 MB, free: 8.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.6574, allocations: 0.5451 MB / 464.5 MB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.658, allocations: 0.8145 MB / 465.3 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.6583, allocations: 50.94 kB / 465.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.6586, allocations: 107.4 kB / 465.5 MB, free: 7.211 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6586, allocations: 0 / 465.5 MB, free: 7.211 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.6877, allocations: 5.565 MB / 471 MB, free: 1.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.6881, allocations: 155.1 kB / 471.2 MB, free: 1.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.1, allocations: 3.938 kB / 471.2 MB, free: 1.504 MB / 394.7 MB