Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.332/2.332, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.535e-05, allocations: 0 / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 53.24 MB / 354.6 MB, free: 2.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.595, allocations: 94.39 MB / 449 MB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5953, allocations: 79.95 kB / 449.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.264/0.8594, allocations: 59.01 MB / 0.4962 GB, free: 11.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.8594, allocations: 0 / 0.4962 GB, free: 11.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.8595, allocations: 16 kB / 0.4962 GB, free: 11.71 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.003537/0.863, allocations: 1.128 MB / 0.4973 GB, free: 10.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.8631, allocations: 12.03 kB / 0.4973 GB, free: 10.52 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004746/0.8636, allocations: 156.6 kB / 0.4974 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006551/0.8702, allocations: 0.5019 MB / 0.4979 GB, free: 9.852 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.872, allocations: 0.5593 MB / 0.4985 GB, free: 9.246 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-05/0.8722, allocations: 66.5 kB / 0.4985 GB, free: 9.184 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.8725, allocations: 87.95 kB / 0.4986 GB, free: 9.098 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.8765, allocations: 1.438 MB / 0.5 GB, free: 7.621 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/0.8765, allocations: 11.92 kB / 0.5 GB, free: 7.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.8767, allocations: 35.98 kB / 0.5001 GB, free: 7.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005945/0.8773, allocations: 137.9 kB / 0.5002 GB, free: 7.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/0.8818, allocations: 1.437 MB / 0.5016 GB, free: 5.996 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.014/0.8958, allocations: 4.862 MB / 0.5064 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.8991, allocations: 1.126 MB / 0.5075 GB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.901, allocations: 0.7381 MB / 0.5082 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.9012, allocations: 21.05 kB / 0.5082 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.9012, allocations: 43.84 kB / 0.5082 GB, free: 14.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 3.486e-06/0.9013, allocations: 0 / 0.5082 GB, free: 14.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.007501/0.9088, allocations: 2.373 MB / 0.5106 GB, free: 12.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.9089, allocations: 94.11 kB / 0.5106 GB, free: 12.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.9097, allocations: 407 kB / 0.511 GB, free: 12.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.91, allocations: 45.7 kB / 0.5111 GB, free: 12.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.9104, allocations: 469.8 kB / 0.5115 GB, free: 11.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/0.911, allocations: 370.6 kB / 0.5119 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.9111, allocations: 24 kB / 0.5119 GB, free: 11.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.9113, allocations: 354.8 kB / 0.5122 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.9127, allocations: 0.5102 MB / 0.5127 GB, free: 10.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.9144, allocations: 0.7124 MB / 0.5134 GB, free: 9.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.9162, allocations: 0.6372 MB / 0.5141 GB, free: 8.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.9163, allocations: 4 kB / 0.5141 GB, free: 8.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005176/0.9215, allocations: 1.71 MB / 0.5157 GB, free: 7.137 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.9215, allocations: 8 kB / 0.5157 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.9216, allocations: 4 kB / 0.5157 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.9235, allocations: 414.9 kB / 0.5161 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.9255, allocations: 231.7 kB / 0.5164 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.9367, allocations: 5.611 MB / 0.5218 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9382, allocations: 75.77 kB / 0.5219 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.9384, allocations: 44.05 kB / 0.5219 GB, free: 480 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.0003265/0.9388, allocations: 164.7 kB / 0.5221 GB, free: 308 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.939, allocations: 75.16 kB / 0.5222 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3027/1.242, allocations: 1.752 MB / 0.5239 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/1.242, allocations: 11.47 kB / 0.5239 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.242, allocations: 9.172 kB / 0.5239 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/1.242, allocations: 5.531 kB / 0.5239 GB, free: 116.6 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.01052/1.252, allocations: 3.408 MB / 0.5272 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.252, allocations: 2.875 kB / 0.5272 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.254, allocations: 187.6 kB / 0.5274 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/1.256, allocations: 346.1 kB / 0.5278 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.256, allocations: 30.2 kB / 0.5278 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009844/1.266, allocations: 5.328 MB / 0.533 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.266, allocations: 8.625 kB / 0.533 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/1.271, allocations: 1.943 MB / 0.5349 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/1.272, allocations: 162 kB / 0.535 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/1.272, allocations: 26.95 kB / 0.5351 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.273, allocations: 49.17 kB / 0.5351 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.273, allocations: 92.88 kB / 0.5352 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.273, allocations: 34.33 kB / 0.5352 GB, free: 112.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005964/1.274, allocations: 318.6 kB / 0.5355 GB, free: 112.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.274, allocations: 0 / 0.5355 GB, free: 112.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002006/1.276, allocations: 413.8 kB / 0.5359 GB, free: 112.5 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.005476/1.282, allocations: 3.553 MB / 0.5394 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00472/1.286, allocations: 1.639 MB / 0.541 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.286, allocations: 2.719 kB / 0.541 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002854/1.289, allocations: 1.017 MB / 0.542 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.29, allocations: 106.8 kB / 0.5421 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/1.297, allocations: 2.159 MB / 0.5442 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.299, allocations: 1.198 MB / 0.5454 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/1.3, allocations: 353.5 kB / 0.5457 GB, free: 108.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.3, allocations: 0 / 0.5457 GB, free: 108.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.071/4.371, allocations: 22.39 MB / 0.5676 GB, free: 108 MB / 458.7 MB