Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.359/2.359, allocations: 233 MB / 245.6 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.699e-05, allocations: 0 / 301.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 53.24 MB / 354.6 MB, free: 2.738 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4507/0.5667, allocations: 90.84 MB / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.5672, allocations: 81.58 kB / 445.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2169/0.7841, allocations: 53.93 MB / 499.5 MB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7841, allocations: 0 / 499.5 MB, free: 4.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.631e-05/0.7842, allocations: 16 kB / 499.5 MB, free: 4.473 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.002813/0.787, allocations: 0.9722 MB / 0.4887 GB, free: 3.453 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.7871, allocations: 11.97 kB / 0.4887 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003708/0.7875, allocations: 134.9 kB / 0.4889 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005379/0.7929, allocations: 394.5 kB / 0.4892 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.7943, allocations: 479.6 kB / 0.4897 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.7944, allocations: 54.5 kB / 0.4897 GB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.7947, allocations: 83.88 kB / 0.4898 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/0.7988, allocations: 1.117 MB / 0.4909 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/0.7989, allocations: 4 kB / 0.4909 GB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.7991, allocations: 27.98 kB / 0.4909 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005502/0.7996, allocations: 105.9 kB / 0.491 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/0.8033, allocations: 1.16 MB / 0.4922 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.816, allocations: 3.524 MB / 0.4956 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.8203, allocations: 1.024 MB / 0.4966 GB, free: 11.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.8228, allocations: 0.6324 MB / 0.4972 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.823, allocations: 16.75 kB / 0.4972 GB, free: 10.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.757e-05/0.8231, allocations: 47.66 kB / 0.4973 GB, free: 10.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 5.79e-06/0.8232, allocations: 7.938 kB / 0.4973 GB, free: 10.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.01661/0.8398, allocations: 1.982 MB / 0.4992 GB, free: 8.457 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.8399, allocations: 89.89 kB / 0.4993 GB, free: 8.352 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.8408, allocations: 319.5 kB / 0.4996 GB, free: 8.039 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000265/0.8411, allocations: 37.7 kB / 0.4997 GB, free: 7.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.8414, allocations: 362.6 kB / 0.5 GB, free: 7.637 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/0.8421, allocations: 315.4 kB / 0.5003 GB, free: 7.324 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.8422, allocations: 16 kB / 0.5003 GB, free: 7.309 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.8425, allocations: 350.9 kB / 0.5007 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005973/0.8484, allocations: 433.9 kB / 0.5011 GB, free: 6.531 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.8504, allocations: 0.5284 MB / 0.5016 GB, free: 5.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.8524, allocations: 0.5057 MB / 0.5021 GB, free: 5.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.8524, allocations: 0 / 0.5021 GB, free: 5.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01144/0.8639, allocations: 1.364 MB / 0.5034 GB, free: 4.094 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.864, allocations: 8 kB / 0.5034 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.864, allocations: 4.188 kB / 0.5034 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.8657, allocations: 334.9 kB / 0.5037 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.8673, allocations: 191.7 kB / 0.5039 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/0.8772, allocations: 3.891 MB / 0.5077 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.8787, allocations: 59.92 kB / 0.5078 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.8789, allocations: 31.98 kB / 0.5078 GB, free: 15.42 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.0003718/0.8793, allocations: 148.7 kB / 0.508 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.8795, allocations: 67.3 kB / 0.508 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/0.8854, allocations: 1.509 MB / 0.5095 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.8855, allocations: 11.94 kB / 0.5095 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.8855, allocations: 8 kB / 0.5095 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.8856, allocations: 3.984 kB / 0.5095 GB, free: 13.66 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.01235/0.8979, allocations: 2.983 MB / 0.5124 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.898, allocations: 4 kB / 0.5124 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/0.8998, allocations: 175.7 kB / 0.5126 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.9018, allocations: 282 kB / 0.5129 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.902, allocations: 24 kB / 0.5129 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.9132, allocations: 3.589 MB / 0.5164 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.9132, allocations: 7.953 kB / 0.5164 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.919, allocations: 1.713 MB / 0.5181 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.9195, allocations: 144.3 kB / 0.5182 GB, free: 4.289 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.9198, allocations: 23.98 kB / 0.5182 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.921, allocations: 51.95 kB / 0.5183 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/0.9213, allocations: 80.56 kB / 0.5184 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.9215, allocations: 32 kB / 0.5184 GB, free: 4.105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006339/0.9221, allocations: 250.1 kB / 0.5186 GB, free: 3.859 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9222, allocations: 0 / 0.5186 GB, free: 3.859 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002306/0.9245, allocations: 312 kB / 0.5189 GB, free: 3.555 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.00704/0.9316, allocations: 3.32 MB / 0.5222 GB, free: 112 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3019/1.233, allocations: 1.281 MB / 0.5234 GB, free: 119.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.234, allocations: 1.031 kB / 0.5234 GB, free: 119.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.236, allocations: 0.794 MB / 0.5242 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/1.237, allocations: 89.62 kB / 0.5243 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/1.242, allocations: 1.766 MB / 0.526 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/1.243, allocations: 1.086 MB / 0.5271 GB, free: 118.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/1.244, allocations: 261.8 kB / 0.5273 GB, free: 118.2 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/1.244, allocations: 0 / 0.5273 GB, free: 118.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.928/4.172, allocations: 15.54 MB / 0.5425 GB, free: 117.8 MB / 458.7 MB