Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.31/2.31, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.717e-05, allocations: 3.938 kB / 301.3 MB, free: 7.898 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 53.25 MB / 354.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4763/0.6151, allocations: 98.72 MB / 453.3 MB, free: 3.168 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.6155, allocations: 83.95 kB / 453.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1169/0.7325, allocations: 25.76 MB / 479.2 MB, free: 9.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7325, allocations: 0 / 479.2 MB, free: 9.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.788e-05/0.7326, allocations: 24 kB / 479.2 MB, free: 9.004 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.002998/0.7356, allocations: 1.05 MB / 480.2 MB, free: 7.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7357, allocations: 8.031 kB / 480.2 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003298/0.736, allocations: 147.5 kB / 480.4 MB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.7375, allocations: 178.6 kB / 480.6 MB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.7428, allocations: 1.342 MB / 481.9 MB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.743, allocations: 65.98 kB / 482 MB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.7432, allocations: 83.91 kB / 482 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.7459, allocations: 1.133 MB / 483.2 MB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.746, allocations: 11.94 kB / 483.2 MB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.7461, allocations: 32 kB / 483.2 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.7462, allocations: 45.98 kB / 483.3 MB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.7487, allocations: 0.8549 MB / 484.1 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009698/0.7584, allocations: 4.708 MB / 488.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.761, allocations: 0.6676 MB / 489.5 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.7624, allocations: 391.8 kB / 489.9 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/0.7625, allocations: 12.55 kB / 489.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.7638, allocations: 450.7 kB / 490.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 5.09e-06/0.7639, allocations: 0 / 490.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.006473/0.7704, allocations: 1.704 MB / 492 MB, free: 11.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.7706, allocations: 166.8 kB / 492.2 MB, free: 11.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.772, allocations: 0.5034 MB / 492.7 MB, free: 10.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.7722, allocations: 37.7 kB / 492.7 MB, free: 10.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/0.7729, allocations: 0.4934 MB / 493.2 MB, free: 10.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.7734, allocations: 228.8 kB / 493.4 MB, free: 10.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.7735, allocations: 17.59 kB / 493.5 MB, free: 10.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.7737, allocations: 350.8 kB / 493.8 MB, free: 9.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.7749, allocations: 293.9 kB / 494.1 MB, free: 9.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.7765, allocations: 0.5353 MB / 494.6 MB, free: 8.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.7781, allocations: 424.6 kB / 495 MB, free: 8.469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.7781, allocations: 0 / 495 MB, free: 8.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004927/0.783, allocations: 1.165 MB / 496.2 MB, free: 7.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.7832, allocations: 38.48 kB / 496.2 MB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.7832, allocations: 8 kB / 496.3 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.7856, allocations: 344.2 kB / 496.6 MB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.787, allocations: 151.7 kB / 496.7 MB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.7995, allocations: 4.937 MB / 0.4899 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.8009, allocations: 47.95 kB / 0.49 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.8011, allocations: 32 kB / 0.49 GB, free: 1.438 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.0003978/0.8015, allocations: 190.4 kB / 0.4902 GB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.8017, allocations: 83.06 kB / 0.4903 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.8061, allocations: 1.06 MB / 0.4913 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/0.8062, allocations: 12.56 kB / 0.4913 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8063, allocations: 4 kB / 0.4913 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.8063, allocations: 3.984 kB / 0.4913 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007979/0.8143, allocations: 2.11 MB / 0.4934 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.8143, allocations: 0 / 0.4934 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/0.8152, allocations: 79.84 kB / 0.4934 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.8173, allocations: 319 kB / 0.4938 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.8175, allocations: 12 kB / 0.4938 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.8295, allocations: 4.872 MB / 0.4985 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.8296, allocations: 4 kB / 0.4985 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.834, allocations: 1.207 MB / 0.4997 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.8344, allocations: 148.2 kB / 0.4998 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.8346, allocations: 12 kB / 0.4999 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.8356, allocations: 27.97 kB / 0.4999 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.8358, allocations: 60.42 kB / 0.4999 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/0.836, allocations: 28 kB / 0.5 GB, free: 6.703 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001082/0.8371, allocations: 403.1 kB / 0.5004 GB, free: 6.316 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.8371, allocations: 0 / 0.5004 GB, free: 6.316 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00214/0.8392, allocations: 299.9 kB / 0.5006 GB, free: 6.023 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.004465/0.8437, allocations: 2.244 MB / 0.5028 GB, free: 3.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.8468, allocations: 1.129 MB / 0.5039 GB, free: 2.547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8468, allocations: 0 / 0.5039 GB, free: 2.547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.8486, allocations: 0.7534 MB / 0.5047 GB, free: 1.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.8499, allocations: 158.8 kB / 0.5048 GB, free: 1.602 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.8548, allocations: 1.671 MB / 0.5064 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.8559, allocations: 1.123 MB / 0.5075 GB, free: 14.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/0.8566, allocations: 327.3 kB / 0.5079 GB, free: 14.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8566, allocations: 7.938 kB / 0.5079 GB, free: 14.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.573/4.43, allocations: 21.3 MB / 0.5287 GB, free: 130.7 MB / 458.7 MB