Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.438/2.438, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.968e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5855, allocations: 90.85 MB / 446.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.5859, allocations: 83.95 kB / 446.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.225/0.8109, allocations: 53.93 MB / 0.4887 GB, free: 4.062 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8109, allocations: 4 kB / 0.4887 GB, free: 4.059 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.566e-05/0.811, allocations: 16 kB / 0.4887 GB, free: 4.043 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.003091/0.8141, allocations: 0.9683 MB / 0.4896 GB, free: 3.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.8142, allocations: 12.03 kB / 0.4896 GB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003624/0.8146, allocations: 131 kB / 0.4898 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/0.8201, allocations: 390.5 kB / 0.4901 GB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.8216, allocations: 487.5 kB / 0.4906 GB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.8217, allocations: 54.5 kB / 0.4907 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.822, allocations: 83.78 kB / 0.4907 GB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.8252, allocations: 1.125 MB / 0.4918 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.561e-05/0.8253, allocations: 3.938 kB / 0.4918 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.8254, allocations: 35.92 kB / 0.4919 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005368/0.826, allocations: 101.9 kB / 0.492 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004135/0.8301, allocations: 1.16 MB / 0.4931 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.8407, allocations: 3.516 MB / 0.4965 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.8437, allocations: 1.024 MB / 0.4975 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.8464, allocations: 0.633 MB / 0.4981 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.8467, allocations: 16.75 kB / 0.4982 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/0.8468, allocations: 47.28 kB / 0.4982 GB, free: 10.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 6.503e-06/0.8468, allocations: 0 / 0.4982 GB, free: 10.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.009648/0.8565, allocations: 1.982 MB / 0.5001 GB, free: 8.035 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.8566, allocations: 85.89 kB / 0.5002 GB, free: 7.934 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/0.8575, allocations: 323.5 kB / 0.5005 GB, free: 7.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000257/0.8578, allocations: 45.64 kB / 0.5006 GB, free: 7.566 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.8582, allocations: 316.1 kB / 0.5009 GB, free: 7.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006119/0.8588, allocations: 311.4 kB / 0.5012 GB, free: 6.941 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.859, allocations: 20 kB / 0.5012 GB, free: 6.922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.8593, allocations: 366.7 kB / 0.5015 GB, free: 6.555 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.8612, allocations: 429.8 kB / 0.502 GB, free: 6.133 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.8632, allocations: 0.5284 MB / 0.5025 GB, free: 5.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.8656, allocations: 0.5057 MB / 0.503 GB, free: 5.066 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.8657, allocations: 0 / 0.503 GB, free: 5.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.007008/0.8727, allocations: 1.387 MB / 0.5043 GB, free: 3.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.8728, allocations: 4 kB / 0.5043 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.8729, allocations: 4 kB / 0.5043 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.8755, allocations: 343.1 kB / 0.5047 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/0.8783, allocations: 187.7 kB / 0.5048 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.892, allocations: 3.889 MB / 0.5086 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.894, allocations: 63.98 kB / 0.5087 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.8943, allocations: 35.98 kB / 0.5087 GB, free: 14.99 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.0004294/0.8948, allocations: 148.8 kB / 0.5089 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.8951, allocations: 59.3 kB / 0.5089 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00755/0.9027, allocations: 1.512 MB / 0.5104 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.9028, allocations: 12 kB / 0.5104 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.9028, allocations: 4 kB / 0.5104 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-05/0.9029, allocations: 7.969 kB / 0.5104 GB, free: 13.24 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.01475/0.9176, allocations: 2.971 MB / 0.5133 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/0.9177, allocations: 8.391 kB / 0.5133 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/0.9201, allocations: 171.8 kB / 0.5135 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.9227, allocations: 293.8 kB / 0.5138 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/0.9231, allocations: 27.92 kB / 0.5138 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/0.9355, allocations: 3.591 MB / 0.5173 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/0.9356, allocations: 11.92 kB / 0.5173 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/0.94, allocations: 1.697 MB / 0.519 GB, free: 4.031 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.9404, allocations: 156.3 kB / 0.5191 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.9406, allocations: 20 kB / 0.5192 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/0.9415, allocations: 47.94 kB / 0.5192 GB, free: 3.793 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.9418, allocations: 80.58 kB / 0.5193 GB, free: 3.715 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.9419, allocations: 35.98 kB / 0.5193 GB, free: 3.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004649/0.9424, allocations: 246.1 kB / 0.5195 GB, free: 3.438 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9424, allocations: 4 kB / 0.5195 GB, free: 3.434 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001693/0.9441, allocations: 320 kB / 0.5199 GB, free: 3.121 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.3199/1.264, allocations: 3.312 MB / 0.5231 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003806/1.268, allocations: 1.285 MB / 0.5243 GB, free: 118.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.268, allocations: 0.75 kB / 0.5243 GB, free: 118.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/1.27, allocations: 0.7916 MB / 0.5251 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.0008265/1.271, allocations: 90.75 kB / 0.5252 GB, free: 118.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/1.276, allocations: 1.682 MB / 0.5268 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009919/1.277, allocations: 1.084 MB / 0.5279 GB, free: 117.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009285/1.278, allocations: 180.5 kB / 0.5281 GB, free: 117.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/1.279, allocations: 257.3 kB / 0.5283 GB, free: 117.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/1.279, allocations: 0 / 0.5283 GB, free: 117.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06485/1.344, allocations: 15.06 MB / 0.543 GB, free: 116.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/1.344, allocations: 184 kB / 0.5432 GB, free: 116.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/4.329, allocations: 5.969 kB / 0.5432 GB, free: 116.5 MB / 458.7 MB