Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.56/2.56, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.507e-05, allocations: 7.938 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 53.24 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4956/0.6194, allocations: 98.71 MB / 454.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.6198, allocations: 83.95 kB / 454.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.739, allocations: 25.77 MB / 480.1 MB, free: 8.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.739, allocations: 0 / 480.1 MB, free: 8.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.061e-05/0.7391, allocations: 20 kB / 480.1 MB, free: 8.695 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.003404/0.7425, allocations: 1.05 MB / 481.2 MB, free: 7.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.7426, allocations: 8.031 kB / 481.2 MB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004354/0.7431, allocations: 143.5 kB / 481.3 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.7446, allocations: 182.6 kB / 481.5 MB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005686/0.7503, allocations: 1.35 MB / 482.8 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/0.7505, allocations: 58 kB / 482.9 MB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.7508, allocations: 87.89 kB / 483 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.7537, allocations: 1.129 MB / 484.1 MB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.7539, allocations: 7.938 kB / 484.1 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.754, allocations: 35.98 kB / 484.2 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.7542, allocations: 49.98 kB / 484.2 MB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.7567, allocations: 0.851 MB / 485.1 MB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009831/0.7666, allocations: 4.716 MB / 489.8 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.7685, allocations: 0.6552 MB / 490.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.7695, allocations: 399.8 kB / 490.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.359e-05/0.7696, allocations: 12.55 kB / 490.8 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.7707, allocations: 446.7 kB / 491.3 MB, free: 13.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 3.908e-06/0.7707, allocations: 0 / 491.3 MB, free: 13.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.005165/0.7759, allocations: 1.704 MB / 493 MB, free: 11.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.7761, allocations: 167.3 kB / 493.1 MB, free: 11.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.7772, allocations: 0.5074 MB / 493.6 MB, free: 10.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.7773, allocations: 37.7 kB / 493.7 MB, free: 10.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.7778, allocations: 482.8 kB / 494.1 MB, free: 10.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.7782, allocations: 232.7 kB / 494.4 MB, free: 9.902 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.7783, allocations: 16 kB / 494.4 MB, free: 9.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.7786, allocations: 388.7 kB / 494.8 MB, free: 9.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.7794, allocations: 293.9 kB / 495.1 MB, free: 9.211 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.7805, allocations: 0.5314 MB / 495.6 MB, free: 8.562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7816, allocations: 428.6 kB / 496 MB, free: 8.141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7816, allocations: 0 / 496 MB, free: 8.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003741/0.7853, allocations: 1.208 MB / 497.2 MB, free: 6.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/0.7855, allocations: 39.98 kB / 497.3 MB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.7855, allocations: 8 kB / 497.3 MB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.7874, allocations: 340.3 kB / 497.6 MB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7885, allocations: 143.7 kB / 497.7 MB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009207/0.7977, allocations: 4.937 MB / 0.4909 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.7989, allocations: 47.95 kB / 0.4909 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.7991, allocations: 36 kB / 0.491 GB, free: 1.074 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.0003407/0.7994, allocations: 202.4 kB / 0.4912 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.7996, allocations: 75.06 kB / 0.4912 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.803, allocations: 1.052 MB / 0.4923 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-05/0.8031, allocations: 11.98 kB / 0.4923 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.8031, allocations: 4 kB / 0.4923 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.8032, allocations: 7.984 kB / 0.4923 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/0.8089, allocations: 2.102 MB / 0.4943 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.809, allocations: 8 kB / 0.4943 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.8097, allocations: 76.97 kB / 0.4944 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.8113, allocations: 317.6 kB / 0.4947 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.8115, allocations: 16 kB / 0.4947 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008985/0.8205, allocations: 4.878 MB / 0.4995 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.8205, allocations: 4 kB / 0.4995 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.8238, allocations: 1.195 MB / 0.5007 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.8243, allocations: 148.2 kB / 0.5008 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.8244, allocations: 16 kB / 0.5008 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/0.8251, allocations: 27.97 kB / 0.5009 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.8253, allocations: 56.44 kB / 0.5009 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.8254, allocations: 19.98 kB / 0.5009 GB, free: 6.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008419/0.8263, allocations: 403.2 kB / 0.5013 GB, free: 5.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8263, allocations: 1.031 kB / 0.5013 GB, free: 5.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001682/0.828, allocations: 307.9 kB / 0.5016 GB, free: 5.664 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.004122/0.8321, allocations: 2.252 MB / 0.5038 GB, free: 3.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.8353, allocations: 1.129 MB / 0.5049 GB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.8354, allocations: 128 / 0.5049 GB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.8373, allocations: 0.7486 MB / 0.5056 GB, free: 1.398 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.8388, allocations: 154.5 kB / 0.5058 GB, free: 1.246 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/0.8444, allocations: 1.591 MB / 0.5073 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.8455, allocations: 1.127 MB / 0.5084 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009917/0.8465, allocations: 182.2 kB / 0.5086 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/0.8472, allocations: 327.3 kB / 0.5089 GB, free: 13.95 MB / 458.7 MB Notification: Performance of SimCode: time 2.926e-06/0.8472, allocations: 3.938 kB / 0.5089 GB, free: 13.94 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4695/1.317, allocations: 18.56 MB / 0.5271 GB, free: 131.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.317, allocations: 187.5 kB / 0.5272 GB, free: 131.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/4.403, allocations: 0 / 0.5272 GB, free: 131.1 MB / 458.7 MB