Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.383/2.383, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.797e-05, allocations: 4 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 53.24 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5669, allocations: 90.85 MB / 446.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.5673, allocations: 83.95 kB / 446.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2494/0.8167, allocations: 53.93 MB / 0.4887 GB, free: 4.059 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.8168, allocations: 0 / 0.4887 GB, free: 4.059 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.074e-05/0.8168, allocations: 20 kB / 0.4887 GB, free: 4.039 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.002636/0.8195, allocations: 0.9644 MB / 0.4896 GB, free: 3.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.8196, allocations: 15.97 kB / 0.4896 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/0.8199, allocations: 131 kB / 0.4898 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/0.8253, allocations: 402.5 kB / 0.4901 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.8267, allocations: 479.6 kB / 0.4906 GB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.8268, allocations: 58.44 kB / 0.4907 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.8271, allocations: 83.78 kB / 0.4907 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.8301, allocations: 1.117 MB / 0.4918 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.8302, allocations: 0 / 0.4918 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.8304, allocations: 31.98 kB / 0.4919 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005224/0.8309, allocations: 105.8 kB / 0.492 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/0.8345, allocations: 1.156 MB / 0.4931 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.8449, allocations: 3.512 MB / 0.4965 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.8477, allocations: 1.027 MB / 0.4975 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.8493, allocations: 0.6403 MB / 0.4982 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.92e-05/0.8494, allocations: 13.33 kB / 0.4982 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.8494, allocations: 47.28 kB / 0.4982 GB, free: 10.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 4.128e-06/0.8495, allocations: 0 / 0.4982 GB, free: 10.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.006007/0.8555, allocations: 1.986 MB / 0.5001 GB, free: 8.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.8556, allocations: 85.89 kB / 0.5002 GB, free: 7.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/0.8563, allocations: 315.5 kB / 0.5005 GB, free: 7.621 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.8565, allocations: 45.64 kB / 0.5006 GB, free: 7.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.8568, allocations: 320.2 kB / 0.5009 GB, free: 7.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/0.8573, allocations: 315.4 kB / 0.5012 GB, free: 6.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.8574, allocations: 16 kB / 0.5012 GB, free: 6.922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.8576, allocations: 370.7 kB / 0.5015 GB, free: 6.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.8588, allocations: 429.8 kB / 0.502 GB, free: 6.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.8601, allocations: 0.5284 MB / 0.5025 GB, free: 5.566 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.8615, allocations: 0.5057 MB / 0.503 GB, free: 5.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8615, allocations: 0 / 0.503 GB, free: 5.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004275/0.8658, allocations: 1.383 MB / 0.5043 GB, free: 3.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.8659, allocations: 4 kB / 0.5043 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.8659, allocations: 4 kB / 0.5043 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.8676, allocations: 343.1 kB / 0.5047 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.8693, allocations: 187.7 kB / 0.5048 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009203/0.8785, allocations: 3.893 MB / 0.5086 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.8798, allocations: 63.91 kB / 0.5087 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.88, allocations: 32.06 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.0002929/0.8803, allocations: 152.8 kB / 0.5089 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.8806, allocations: 63.28 kB / 0.5089 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.8853, allocations: 1.512 MB / 0.5104 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.8853, allocations: 15.94 kB / 0.5104 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.8854, allocations: 4 kB / 0.5104 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.8854, allocations: 3.984 kB / 0.5104 GB, free: 13.23 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.009566/0.895, allocations: 2.975 MB / 0.5133 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/0.895, allocations: 7.953 kB / 0.5133 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.8966, allocations: 167.8 kB / 0.5135 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.8982, allocations: 286.3 kB / 0.5138 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.8984, allocations: 27.98 kB / 0.5138 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00812/0.9065, allocations: 3.587 MB / 0.5173 GB, free: 5.906 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/0.9065, allocations: 4 kB / 0.5173 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.9111, allocations: 1.713 MB / 0.519 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.9115, allocations: 152.3 kB / 0.5191 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.9117, allocations: 20 kB / 0.5191 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009528/0.9127, allocations: 51.94 kB / 0.5192 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.913, allocations: 80.58 kB / 0.5193 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.9131, allocations: 31.98 kB / 0.5193 GB, free: 3.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004766/0.9136, allocations: 250.1 kB / 0.5195 GB, free: 3.434 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9136, allocations: 0 / 0.5195 GB, free: 3.434 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00167/0.9153, allocations: 316 kB / 0.5198 GB, free: 3.125 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.3295/1.245, allocations: 3.311 MB / 0.5231 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006021/1.251, allocations: 1.283 MB / 0.5243 GB, free: 118.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.251, allocations: 0.5625 kB / 0.5243 GB, free: 118.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.254, allocations: 0.7979 MB / 0.5251 GB, free: 118.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.256, allocations: 82.89 kB / 0.5252 GB, free: 118.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008006/1.264, allocations: 1.684 MB / 0.5268 GB, free: 118 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.265, allocations: 1.086 MB / 0.5279 GB, free: 117.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001406/1.267, allocations: 179.8 kB / 0.5281 GB, free: 117.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008761/1.268, allocations: 254.8 kB / 0.5283 GB, free: 117.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/1.268, allocations: 1.062 kB / 0.5283 GB, free: 117.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07671/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.0002283/1.345, allocations: 176.3 kB / 0.5432 GB, free: 116.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/4.279, allocations: 4.812 kB / 0.5432 GB, free: 116.4 MB / 458.7 MB