Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.352/2.352, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.303e-05, allocations: 5.656 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.573, allocations: 94.5 MB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5733, allocations: 90.47 kB / 449.2 MB, free: 7.391 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems 1.0.0/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems 1.0.0/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems 1.0.0/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1863/0.7597, allocations: 51.72 MB / 0.4892 GB, free: 2.723 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.7597, allocations: 0 / 0.4892 GB, free: 2.723 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.7598, allocations: 8 kB / 0.4892 GB, free: 2.715 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001434/0.7612, allocations: 0.6861 MB / 0.4898 GB, free: 1.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.7613, allocations: 12.03 kB / 0.4899 GB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.7614, allocations: 82.52 kB / 0.4899 GB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.7635, allocations: 123.3 kB / 0.49 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.7642, allocations: 334.7 kB / 0.4904 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/0.7643, allocations: 58.7 kB / 0.4904 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.7644, allocations: 35.98 kB / 0.4905 GB, free: 1.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.7656, allocations: 0.5732 MB / 0.491 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.7657, allocations: 4 kB / 0.491 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.7657, allocations: 15.98 kB / 0.491 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.7659, allocations: 40.75 kB / 0.4911 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.7668, allocations: 361.2 kB / 0.4914 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.7705, allocations: 2.62 MB / 0.494 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.7716, allocations: 408 kB / 0.4944 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.7721, allocations: 209.3 kB / 0.4946 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.7722, allocations: 8 kB / 0.4946 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.7722, allocations: 35.62 kB / 0.4946 GB, free: 12.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.546e-06/0.7722, allocations: 0 / 0.4946 GB, free: 12.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.00128/0.7735, allocations: 430.2 kB / 0.495 GB, free: 12.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.7736, allocations: 106.8 kB / 0.4951 GB, free: 12.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.7741, allocations: 282.8 kB / 0.4954 GB, free: 11.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.7741, allocations: 29.7 kB / 0.4954 GB, free: 11.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.7743, allocations: 302.1 kB / 0.4957 GB, free: 11.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.7745, allocations: 118.4 kB / 0.4958 GB, free: 11.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.7746, allocations: 8 kB / 0.4958 GB, free: 11.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7747, allocations: 322.8 kB / 0.4961 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.775, allocations: 128.9 kB / 0.4963 GB, free: 11.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.7755, allocations: 275.1 kB / 0.4965 GB, free: 10.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.7759, allocations: 185.2 kB / 0.4967 GB, free: 10.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7759, allocations: 0 / 0.4967 GB, free: 10.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001367/0.7773, allocations: 0.5155 MB / 0.4972 GB, free: 10.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.7774, allocations: 8 kB / 0.4972 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.7774, allocations: 4 kB / 0.4972 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005185/0.7779, allocations: 121.4 kB / 0.4973 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.7784, allocations: 79.78 kB / 0.4974 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.7822, allocations: 2.341 MB / 0.4997 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.7827, allocations: 43.53 kB / 0.4997 GB, free: 7.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.7828, allocations: 24.06 kB / 0.4998 GB, free: 7.246 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.7829, allocations: 128.8 kB / 0.4999 GB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7831, allocations: 43.47 kB / 0.4999 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.7832, allocations: 52.02 kB / 0.5 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7832, allocations: 4 kB / 0.5 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.7832, allocations: 7.953 kB / 0.5 GB, free: 7.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.7832, allocations: 0 / 0.5 GB, free: 7.004 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.7853, allocations: 0.9271 MB / 0.5009 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7853, allocations: 0 / 0.5009 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.7856, allocations: 39.92 kB / 0.5009 GB, free: 5.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.7861, allocations: 113.9 kB / 0.501 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.7861, allocations: 4 kB / 0.501 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.7897, allocations: 2.323 MB / 0.5033 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7897, allocations: 7.969 kB / 0.5033 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.791, allocations: 0.6684 MB / 0.504 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.7912, allocations: 112.7 kB / 0.5041 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.7912, allocations: 8 kB / 0.5041 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.7916, allocations: 8 kB / 0.5041 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.7917, allocations: 31.91 kB / 0.5041 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.7917, allocations: 12 kB / 0.5041 GB, free: 2.469 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.792, allocations: 218.2 kB / 0.5043 GB, free: 2.254 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7921, allocations: 0 / 0.5043 GB, free: 2.254 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009783/0.793, allocations: 159.7 kB / 0.5045 GB, free: 2.098 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/0.7947, allocations: 1.477 MB / 0.5059 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.796, allocations: 487.2 kB / 0.5064 GB, free: 84 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.796, allocations: 0 / 0.5064 GB, free: 84 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.7967, allocations: 341.8 kB / 0.5067 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.7973, allocations: 57.7 kB / 0.5068 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.7994, allocations: 0.7857 MB / 0.5075 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.8, allocations: 0.8902 MB / 0.5084 GB, free: 13.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.8002, allocations: 119.4 kB / 0.5085 GB, free: 13.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8002, allocations: 0 / 0.5085 GB, free: 13.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.726/3.527, allocations: 7.857 MB / 0.5162 GB, free: 5.934 MB / 458.7 MB