Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.525/2.525, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.319e-05, allocations: 4 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 53.24 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.597, allocations: 94.5 MB / 450 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.5974, allocations: 85.86 kB / 450.1 MB, free: 7.109 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems latest/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 latest/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 latest/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.1889/0.7863, allocations: 51.73 MB / 0.4901 GB, free: 2.441 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7864, allocations: 0 / 0.4901 GB, free: 2.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.7864, allocations: 8 kB / 0.4901 GB, free: 2.434 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.001477/0.7879, allocations: 0.6862 MB / 0.4908 GB, free: 1.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.788, allocations: 12.03 kB / 0.4908 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.7881, allocations: 82.52 kB / 0.4908 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.7903, allocations: 119.3 kB / 0.491 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007298/0.791, allocations: 338.7 kB / 0.4913 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-05/0.7912, allocations: 66.61 kB / 0.4913 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.7913, allocations: 35.98 kB / 0.4914 GB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.7926, allocations: 0.5759 MB / 0.4919 GB, free: 376 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.7926, allocations: 3.938 kB / 0.4919 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.7927, allocations: 15.98 kB / 0.492 GB, free: 356 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.7928, allocations: 40.75 kB / 0.492 GB, free: 316 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.7938, allocations: 365.2 kB / 0.4923 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.7977, allocations: 2.612 MB / 0.4949 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.7989, allocations: 408 kB / 0.4953 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.7994, allocations: 214.5 kB / 0.4955 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.7995, allocations: 4 kB / 0.4955 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.7995, allocations: 35.62 kB / 0.4955 GB, free: 12.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.797e-06/0.7995, allocations: 0 / 0.4955 GB, free: 12.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001326/0.8009, allocations: 426.2 kB / 0.4959 GB, free: 12.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.801, allocations: 110.8 kB / 0.496 GB, free: 11.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.8015, allocations: 282.8 kB / 0.4963 GB, free: 11.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.8015, allocations: 29.7 kB / 0.4963 GB, free: 11.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.8017, allocations: 251.7 kB / 0.4966 GB, free: 11.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.8019, allocations: 114.4 kB / 0.4967 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.802, allocations: 8 kB / 0.4967 GB, free: 11.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8021, allocations: 350.8 kB / 0.497 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.8025, allocations: 124.8 kB / 0.4972 GB, free: 10.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.8029, allocations: 267.2 kB / 0.4974 GB, free: 10.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.8034, allocations: 181.1 kB / 0.4976 GB, free: 10.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.8034, allocations: 0 / 0.4976 GB, free: 10.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001474/0.8049, allocations: 0.5348 MB / 0.4981 GB, free: 9.746 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.8049, allocations: 11.98 kB / 0.4981 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.805, allocations: 4 kB / 0.4981 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.8055, allocations: 117.4 kB / 0.4982 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.806, allocations: 75.84 kB / 0.4983 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.81, allocations: 2.329 MB / 0.5006 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.8105, allocations: 59.5 kB / 0.5006 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.8106, allocations: 20 kB / 0.5007 GB, free: 6.98 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.0001806/0.8108, allocations: 128.8 kB / 0.5008 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.8109, allocations: 35.62 kB / 0.5008 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.8111, allocations: 48.08 kB / 0.5009 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.8111, allocations: 8.031 kB / 0.5009 GB, free: 6.754 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/0.8111, allocations: 11.89 kB / 0.5009 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.8112, allocations: 0 / 0.5009 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.8135, allocations: 0.9386 MB / 0.5018 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.8136, allocations: 0 / 0.5018 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.8139, allocations: 31.98 kB / 0.5018 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.8144, allocations: 113.9 kB / 0.5019 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.8144, allocations: 11.94 kB / 0.5019 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.8183, allocations: 2.327 MB / 0.5042 GB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8184, allocations: 0 / 0.5042 GB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.8197, allocations: 0.6645 MB / 0.5049 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.8199, allocations: 120.6 kB / 0.505 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.8199, allocations: 8 kB / 0.505 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.8202, allocations: 4 kB / 0.505 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8204, allocations: 35.86 kB / 0.505 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.8204, allocations: 8 kB / 0.505 GB, free: 2.199 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003664/0.8208, allocations: 222.2 kB / 0.5052 GB, free: 1.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8208, allocations: 0 / 0.5052 GB, free: 1.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001009/0.8218, allocations: 155.8 kB / 0.5054 GB, free: 1.828 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.00165/0.8235, allocations: 1.48 MB / 0.5068 GB, free: 300 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.8249, allocations: 487.2 kB / 0.5073 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.825, allocations: 4.125 kB / 0.5073 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007347/0.8257, allocations: 325.8 kB / 0.5076 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.8264, allocations: 59.77 kB / 0.5077 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.8285, allocations: 0.7294 MB / 0.5084 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.8292, allocations: 0.8863 MB / 0.5093 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.8295, allocations: 70.91 kB / 0.5093 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.8298, allocations: 119.4 kB / 0.5094 GB, free: 13.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8298, allocations: 0 / 0.5094 GB, free: 13.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.8632, allocations: 6.888 MB / 0.5162 GB, free: 6.734 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/0.8636, allocations: 177.5 kB / 0.5163 GB, free: 6.512 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.359, allocations: 0 / 0.5163 GB, free: 6.512 MB / 458.7 MB