Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.39/2.39, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.224e-05/5.25e-05, allocations: 3.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 53.25 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.5845, allocations: 94.38 MB / 449.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.5849, allocations: 87.94 kB / 450 MB, free: 7.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2425/0.8274, allocations: 58.99 MB / 0.4971 GB, free: 11.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8275, allocations: 0 / 0.4971 GB, free: 11.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.557e-05/0.8275, allocations: 20 kB / 0.4971 GB, free: 11.52 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003192/0.8307, allocations: 1.124 MB / 0.4982 GB, free: 10.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.8308, allocations: 12.03 kB / 0.4982 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003608/0.8312, allocations: 160.6 kB / 0.4983 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006441/0.8376, allocations: 0.5019 MB / 0.4988 GB, free: 9.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.8393, allocations: 0.5554 MB / 0.4994 GB, free: 9.062 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.8394, allocations: 70.48 kB / 0.4994 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.8397, allocations: 87.94 kB / 0.4995 GB, free: 8.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.8434, allocations: 1.438 MB / 0.5009 GB, free: 7.434 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.8435, allocations: 3.938 kB / 0.5009 GB, free: 7.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.8437, allocations: 39.98 kB / 0.501 GB, free: 7.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005769/0.8443, allocations: 133.9 kB / 0.5011 GB, free: 7.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/0.8482, allocations: 1.445 MB / 0.5025 GB, free: 5.809 MB / 442.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 preOpt removeSimpleEquations (simulation): time 0.0129/0.8612, allocations: 4.854 MB / 0.5073 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.8643, allocations: 1.13 MB / 0.5084 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.8662, allocations: 0.7342 MB / 0.5091 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.8664, allocations: 20.97 kB / 0.5091 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.8665, allocations: 43.56 kB / 0.5091 GB, free: 14.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 4.388e-06/0.8665, allocations: 0 / 0.5091 GB, free: 14.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.007413/0.8739, allocations: 2.377 MB / 0.5115 GB, free: 12.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.874, allocations: 90.11 kB / 0.5115 GB, free: 12.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.8749, allocations: 411 kB / 0.5119 GB, free: 11.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.8751, allocations: 41.7 kB / 0.512 GB, free: 11.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.8755, allocations: 431.4 kB / 0.5124 GB, free: 11.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/0.8761, allocations: 370.6 kB / 0.5127 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.8763, allocations: 24 kB / 0.5128 GB, free: 11.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.8765, allocations: 386.8 kB / 0.5131 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.8779, allocations: 0.5102 MB / 0.5136 GB, free: 10.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.8795, allocations: 0.7124 MB / 0.5143 GB, free: 9.324 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.8813, allocations: 0.6333 MB / 0.5149 GB, free: 8.691 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.8813, allocations: 0 / 0.5149 GB, free: 8.691 MB / 458.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005346/0.8867, allocations: 1.74 MB / 0.5166 GB, free: 6.938 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.8868, allocations: 8 kB / 0.5167 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.8868, allocations: 11.98 kB / 0.5167 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.8888, allocations: 403 kB / 0.5171 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.8908, allocations: 239.6 kB / 0.5173 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.9023, allocations: 5.608 MB / 0.5228 GB, free: 396 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.9038, allocations: 63.92 kB / 0.5228 GB, free: 332 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.904, allocations: 48.05 kB / 0.5229 GB, free: 284 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000348/0.9043, allocations: 164.7 kB / 0.523 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.9046, allocations: 71.16 kB / 0.5231 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3143/1.219, allocations: 1.763 MB / 0.5248 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/1.219, allocations: 13.53 kB / 0.5248 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.219, allocations: 6.547 kB / 0.5248 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/1.219, allocations: 6.953 kB / 0.5248 GB, free: 116.9 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.01/1.229, allocations: 3.41 MB / 0.5282 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.229, allocations: 4.344 kB / 0.5282 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.231, allocations: 185.9 kB / 0.5283 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/1.232, allocations: 348 kB / 0.5287 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/1.233, allocations: 26.27 kB / 0.5287 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009501/1.242, allocations: 5.328 MB / 0.5339 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.242, allocations: 5.906 kB / 0.5339 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/1.247, allocations: 1.944 MB / 0.5358 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/1.248, allocations: 157.3 kB / 0.536 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/1.248, allocations: 33.64 kB / 0.536 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.249, allocations: 48.56 kB / 0.536 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/1.249, allocations: 85.11 kB / 0.5361 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.249, allocations: 38.95 kB / 0.5362 GB, free: 113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005982/1.25, allocations: 318.4 kB / 0.5365 GB, free: 112.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.25, allocations: 0 / 0.5365 GB, free: 112.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002013/1.252, allocations: 415.2 kB / 0.5369 GB, free: 112.9 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00518/1.257, allocations: 3.556 MB / 0.5403 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004261/1.262, allocations: 1.645 MB / 0.5419 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.262, allocations: 3.75 kB / 0.5419 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/1.264, allocations: 1.018 MB / 0.5429 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/1.265, allocations: 102.2 kB / 0.543 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006156/1.271, allocations: 2.068 MB / 0.5451 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.273, allocations: 1.194 MB / 0.5462 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001194/1.274, allocations: 234.4 kB / 0.5464 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/1.275, allocations: 343 kB / 0.5468 GB, free: 109 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/1.275, allocations: 2.906 kB / 0.5468 GB, free: 109 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/1.348, allocations: 18.72 MB / 0.5651 GB, free: 108.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/1.349, allocations: 172 kB / 0.5652 GB, free: 107.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/4.266, allocations: 3.938 kB / 0.5652 GB, free: 107.9 MB / 458.7 MB