Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.314/2.314, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.285e-05, allocations: 4 kB / 302.3 MB, free: 7.605 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 53.23 MB / 355.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.5887, allocations: 98.73 MB / 454.2 MB, free: 3.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/0.5892, allocations: 83.95 kB / 454.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1186/0.7077, allocations: 25.76 MB / 480.1 MB, free: 8.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.7078, allocations: 0 / 480.1 MB, free: 8.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.698e-05/0.7079, allocations: 20 kB / 480.1 MB, free: 8.965 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003043/0.711, allocations: 1.054 MB / 481.2 MB, free: 7.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.7111, allocations: 12.03 kB / 481.2 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003357/0.7114, allocations: 141.4 kB / 481.3 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.713, allocations: 182.6 kB / 481.5 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.7185, allocations: 1.338 MB / 482.8 MB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.7187, allocations: 70 kB / 482.9 MB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.7189, allocations: 79.98 kB / 483 MB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.7217, allocations: 1.125 MB / 484.1 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-05/0.7218, allocations: 15.8 kB / 484.1 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.7219, allocations: 36 kB / 484.2 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.7221, allocations: 49.98 kB / 484.2 MB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.7245, allocations: 0.8549 MB / 485.1 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009356/0.7339, allocations: 4.701 MB / 489.8 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.7359, allocations: 0.6638 MB / 490.4 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009708/0.7369, allocations: 395.8 kB / 490.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.737, allocations: 12.55 kB / 490.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.738, allocations: 454.7 kB / 491.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 3.537e-06/0.738, allocations: 4 kB / 491.3 MB, free: 13.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.005012/0.7431, allocations: 1.692 MB / 493 MB, free: 11.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.7433, allocations: 174.8 kB / 493.1 MB, free: 11.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.7445, allocations: 0.5033 MB / 493.6 MB, free: 10.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.7447, allocations: 37.7 kB / 493.7 MB, free: 10.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.7453, allocations: 476.5 kB / 494.1 MB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.7458, allocations: 236.7 kB / 494.4 MB, free: 10.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.7458, allocations: 20 kB / 494.4 MB, free: 10.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002692/0.7461, allocations: 386.8 kB / 494.8 MB, free: 9.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008749/0.747, allocations: 289.9 kB / 495 MB, free: 9.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.7481, allocations: 0.5392 MB / 495.6 MB, free: 8.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.7492, allocations: 420.6 kB / 496 MB, free: 8.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.7492, allocations: 7.953 kB / 496 MB, free: 8.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003622/0.7528, allocations: 1.204 MB / 497.2 MB, free: 7.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.7529, allocations: 34.48 kB / 497.2 MB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.753, allocations: 11.94 kB / 497.3 MB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.7547, allocations: 345.4 kB / 497.6 MB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.7558, allocations: 147.7 kB / 497.7 MB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009208/0.765, allocations: 4.937 MB / 0.4909 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.766, allocations: 43.95 kB / 0.4909 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.7662, allocations: 36 kB / 0.491 GB, free: 1.336 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003242/0.7665, allocations: 190.4 kB / 0.4911 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.7667, allocations: 79.2 kB / 0.4912 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.7701, allocations: 1.065 MB / 0.4923 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/0.7702, allocations: 15.98 kB / 0.4923 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.7703, allocations: 4 kB / 0.4923 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.7703, allocations: 0 / 0.4923 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005769/0.7761, allocations: 2.102 MB / 0.4943 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7761, allocations: 0 / 0.4943 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/0.7768, allocations: 79.89 kB / 0.4944 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.7784, allocations: 317.6 kB / 0.4947 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.7785, allocations: 19.98 kB / 0.4947 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008535/0.787, allocations: 4.864 MB / 0.4995 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.7871, allocations: 4 kB / 0.4995 GB, free: 8.195 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.7902, allocations: 1.203 MB / 0.5007 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.7906, allocations: 148.2 kB / 0.5008 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.7907, allocations: 16 kB / 0.5008 GB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006515/0.7914, allocations: 31.91 kB / 0.5009 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.7916, allocations: 48.44 kB / 0.5009 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/0.7917, allocations: 31.98 kB / 0.5009 GB, free: 6.613 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007889/0.7925, allocations: 399.2 kB / 0.5013 GB, free: 6.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7925, allocations: 0 / 0.5013 GB, free: 6.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001465/0.794, allocations: 299.9 kB / 0.5016 GB, free: 5.938 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.closed,switch.control[1],$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003714/0.7977, allocations: 2.242 MB / 0.5038 GB, free: 3.621 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.8007, allocations: 1.14 MB / 0.5049 GB, free: 2.449 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.8008, allocations: 0 / 0.5049 GB, free: 2.449 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.8026, allocations: 0.7496 MB / 0.5056 GB, free: 1.668 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.8039, allocations: 162 kB / 0.5058 GB, free: 1.508 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.8087, allocations: 1.596 MB / 0.5073 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.8098, allocations: 1.119 MB / 0.5084 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009574/0.8108, allocations: 186.2 kB / 0.5086 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/0.8114, allocations: 323.3 kB / 0.5089 GB, free: 14.21 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/0.8114, allocations: 0 / 0.5089 GB, free: 14.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.348/1.159, allocations: 18.55 MB / 0.527 GB, free: 131.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/1.16, allocations: 181.9 kB / 0.5272 GB, free: 131.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/4.213, allocations: 0 / 0.5272 GB, free: 131.6 MB / 458.7 MB