Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.453/2.453, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.297e-05, allocations: 4 kB / 301.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 53.22 MB / 354.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5616, allocations: 90.76 MB / 445.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.562, allocations: 83.94 kB / 445.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2327/0.7946, allocations: 54.51 MB / 499.9 MB, free: 3.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.7947, allocations: 0 / 499.9 MB, free: 3.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.7948, allocations: 16 kB / 500 MB, free: 3.965 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002692/0.7975, allocations: 0.9683 MB / 0.4892 GB, free: 2.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.7975, allocations: 8.031 kB / 0.4892 GB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003222/0.7979, allocations: 127 kB / 0.4893 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/0.8032, allocations: 398.5 kB / 0.4897 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.8048, allocations: 483.6 kB / 0.4902 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.8049, allocations: 54.52 kB / 0.4902 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.8051, allocations: 83.78 kB / 0.4903 GB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.8081, allocations: 1.121 MB / 0.4914 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.8082, allocations: 4 kB / 0.4914 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.8083, allocations: 27.98 kB / 0.4914 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005235/0.8089, allocations: 109.8 kB / 0.4915 GB, free: 496 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/0.8122, allocations: 1.156 MB / 0.4926 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009694/0.822, allocations: 3.508 MB / 0.4961 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.8249, allocations: 1.039 MB / 0.4971 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.8265, allocations: 0.6285 MB / 0.4977 GB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.8266, allocations: 17.23 kB / 0.4977 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.8267, allocations: 47.28 kB / 0.4978 GB, free: 9.961 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.978e-06/0.8267, allocations: 0 / 0.4978 GB, free: 9.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.006088/0.8328, allocations: 1.986 MB / 0.4997 GB, free: 7.961 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.8329, allocations: 89.89 kB / 0.4998 GB, free: 7.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.8335, allocations: 319.5 kB / 0.5001 GB, free: 7.543 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.8337, allocations: 33.7 kB / 0.5001 GB, free: 7.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.834, allocations: 362.6 kB / 0.5005 GB, free: 7.145 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.8345, allocations: 315.4 kB / 0.5008 GB, free: 6.832 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.8346, allocations: 20 kB / 0.5008 GB, free: 6.812 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.8347, allocations: 343 kB / 0.5011 GB, free: 6.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.8359, allocations: 437.8 kB / 0.5015 GB, free: 6.039 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.8372, allocations: 0.5284 MB / 0.502 GB, free: 5.477 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.8386, allocations: 0.5057 MB / 0.5025 GB, free: 4.973 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8386, allocations: 0 / 0.5025 GB, free: 4.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004186/0.8428, allocations: 1.371 MB / 0.5039 GB, free: 3.594 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.8429, allocations: 12.19 kB / 0.5039 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.8429, allocations: 0 / 0.5039 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.8446, allocations: 342.9 kB / 0.5042 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.8463, allocations: 187.7 kB / 0.5044 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00868/0.855, allocations: 3.891 MB / 0.5082 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.8562, allocations: 59.92 kB / 0.5083 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.8563, allocations: 31.98 kB / 0.5083 GB, free: 14.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003005/0.8566, allocations: 144.8 kB / 0.5084 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.8568, allocations: 63.3 kB / 0.5085 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004462/0.8613, allocations: 1.516 MB / 0.51 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.8614, allocations: 8 kB / 0.51 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.8614, allocations: 8 kB / 0.51 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.8614, allocations: 11.97 kB / 0.51 GB, free: 13.15 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008702/0.8701, allocations: 2.972 MB / 0.5129 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.8702, allocations: 7.953 kB / 0.5129 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.8716, allocations: 171.8 kB / 0.5131 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.8731, allocations: 278.2 kB / 0.5133 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.8733, allocations: 31.98 kB / 0.5134 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007781/0.8811, allocations: 3.589 MB / 0.5169 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.8811, allocations: 4 kB / 0.5169 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004265/0.8854, allocations: 1.709 MB / 0.5185 GB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.8858, allocations: 152.3 kB / 0.5187 GB, free: 3.793 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.886, allocations: 20 kB / 0.5187 GB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/0.8869, allocations: 51.94 kB / 0.5188 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.8872, allocations: 80.58 kB / 0.5188 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/0.8873, allocations: 28 kB / 0.5189 GB, free: 3.617 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004566/0.8877, allocations: 250.1 kB / 0.5191 GB, free: 3.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8878, allocations: 0 / 0.5191 GB, free: 3.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001519/0.8893, allocations: 320 kB / 0.5194 GB, free: 3.059 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3012/1.191, allocations: 3.315 MB / 0.5226 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003737/1.194, allocations: 1.282 MB / 0.5239 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.194, allocations: 1.438 kB / 0.5239 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/1.197, allocations: 0.7959 MB / 0.5247 GB, free: 118.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/1.197, allocations: 87.88 kB / 0.5247 GB, free: 118.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/1.202, allocations: 1.765 MB / 0.5265 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009229/1.203, allocations: 1.091 MB / 0.5275 GB, free: 117.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006666/1.204, allocations: 262.3 kB / 0.5278 GB, free: 117.4 MB / 458.7 MB Notification: Performance of SimCode: time 9.11e-07/1.204, allocations: 0 / 0.5278 GB, free: 117.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.896/4.099, allocations: 15.56 MB / 0.543 GB, free: 116.9 MB / 458.7 MB