Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.513/2.513, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.573e-05/4.579e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.5849, allocations: 90.75 MB / 446.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/0.5854, allocations: 90.38 kB / 446.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2547/0.8401, allocations: 54.51 MB / 0.4891 GB, free: 3.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.8402, allocations: 0 / 0.4891 GB, free: 3.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.414e-05/0.8402, allocations: 16 kB / 0.4892 GB, free: 3.535 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.002864/0.8431, allocations: 0.9644 MB / 0.4901 GB, free: 2.523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.8432, allocations: 12.03 kB / 0.4901 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004208/0.8436, allocations: 135 kB / 0.4902 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.849, allocations: 390.5 kB / 0.4906 GB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.8505, allocations: 487.6 kB / 0.4911 GB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.8506, allocations: 54.5 kB / 0.4911 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.8508, allocations: 75.86 kB / 0.4912 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.854, allocations: 1.125 MB / 0.4923 GB, free: 200 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.8541, allocations: 7.984 kB / 0.4923 GB, free: 192 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.8543, allocations: 31.98 kB / 0.4923 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005216/0.8548, allocations: 97.91 kB / 0.4924 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.8584, allocations: 1.16 MB / 0.4936 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.8688, allocations: 3.512 MB / 0.497 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.8718, allocations: 1.038 MB / 0.498 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.8735, allocations: 0.6286 MB / 0.4986 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.8736, allocations: 20.75 kB / 0.4986 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.8737, allocations: 43.34 kB / 0.4987 GB, free: 9.531 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.306e-06/0.8737, allocations: 0 / 0.4987 GB, free: 9.531 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.006856/0.8806, allocations: 1.982 MB / 0.5006 GB, free: 7.535 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.8807, allocations: 93.81 kB / 0.5007 GB, free: 7.426 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.8813, allocations: 319.5 kB / 0.501 GB, free: 7.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.8816, allocations: 41.7 kB / 0.5011 GB, free: 7.066 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.8819, allocations: 312.1 kB / 0.5013 GB, free: 6.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/0.8824, allocations: 315.4 kB / 0.5016 GB, free: 6.441 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.8825, allocations: 16 kB / 0.5017 GB, free: 6.426 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.8827, allocations: 366.7 kB / 0.502 GB, free: 6.059 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.884, allocations: 433.8 kB / 0.5024 GB, free: 5.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.8854, allocations: 0.5246 MB / 0.5029 GB, free: 5.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.8868, allocations: 0.5096 MB / 0.5034 GB, free: 4.566 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8869, allocations: 0 / 0.5034 GB, free: 4.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004357/0.8912, allocations: 1.387 MB / 0.5048 GB, free: 3.172 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.8913, allocations: 4 kB / 0.5048 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8913, allocations: 4 kB / 0.5048 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.893, allocations: 339.1 kB / 0.5051 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.8947, allocations: 191.7 kB / 0.5053 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009038/0.9037, allocations: 3.889 MB / 0.5091 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.9049, allocations: 67.84 kB / 0.5092 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.9051, allocations: 32 kB / 0.5092 GB, free: 14.49 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.0002909/0.9054, allocations: 148.8 kB / 0.5093 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.9056, allocations: 59.3 kB / 0.5094 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.9104, allocations: 1.512 MB / 0.5109 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.9104, allocations: 15.98 kB / 0.5109 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.9105, allocations: 4 kB / 0.5109 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/0.9105, allocations: 3.984 kB / 0.5109 GB, free: 12.74 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.01041/0.9209, allocations: 2.976 MB / 0.5138 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.921, allocations: 7.953 kB / 0.5138 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.9225, allocations: 175.7 kB / 0.514 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.9242, allocations: 281.9 kB / 0.5142 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.9245, allocations: 27.98 kB / 0.5143 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008279/0.9327, allocations: 3.587 MB / 0.5178 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.9328, allocations: 4 kB / 0.5178 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.9376, allocations: 1.709 MB / 0.5194 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.9379, allocations: 152.3 kB / 0.5196 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.9382, allocations: 24 kB / 0.5196 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/0.9391, allocations: 47.94 kB / 0.5197 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.9394, allocations: 80.58 kB / 0.5197 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.963e-05/0.9395, allocations: 28 kB / 0.5198 GB, free: 3.195 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005187/0.94, allocations: 258.1 kB / 0.52 GB, free: 2.941 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.94, allocations: 0 / 0.52 GB, free: 2.941 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001896/0.9419, allocations: 320 kB / 0.5203 GB, free: 2.629 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.3416/1.284, allocations: 3.307 MB / 0.5235 GB, free: 118.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003789/1.287, allocations: 1.291 MB / 0.5248 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.288, allocations: 0 / 0.5248 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002186/1.29, allocations: 0.7961 MB / 0.5256 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/1.291, allocations: 82.31 kB / 0.5257 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/1.296, allocations: 1.689 MB / 0.5273 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/1.297, allocations: 1.085 MB / 0.5284 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009411/1.298, allocations: 178.4 kB / 0.5285 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/1.298, allocations: 259.2 kB / 0.5288 GB, free: 116.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/1.299, allocations: 0 / 0.5288 GB, free: 116.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.4, allocations: 15.04 MB / 0.5435 GB, free: 116.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/1.4, allocations: 166.1 kB / 0.5436 GB, free: 115.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/4.32, allocations: 4 kB / 0.5436 GB, free: 115.9 MB / 458.7 MB