Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.448/2.448, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.443e-05, allocations: 3.938 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 53.22 MB / 355.5 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5788, allocations: 94.51 MB / 450 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.5791, allocations: 79.95 kB / 450.1 MB, free: 7.121 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.1998/0.7789, allocations: 51.73 MB / 0.4901 GB, free: 2.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.779, allocations: 0 / 0.4901 GB, free: 2.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.26e-05/0.779, allocations: 8 kB / 0.4901 GB, free: 2.438 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.001644/0.7807, allocations: 0.6901 MB / 0.4908 GB, free: 1.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.7807, allocations: 12.03 kB / 0.4908 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.7809, allocations: 70.53 kB / 0.4908 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.7833, allocations: 131.3 kB / 0.491 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.7842, allocations: 334.7 kB / 0.4913 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.655e-05/0.7843, allocations: 62.69 kB / 0.4913 GB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.7844, allocations: 35.98 kB / 0.4914 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.7858, allocations: 0.5615 MB / 0.4919 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.7858, allocations: 7.938 kB / 0.4919 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.7859, allocations: 19.98 kB / 0.492 GB, free: 368 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.7861, allocations: 40.75 kB / 0.492 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009911/0.7871, allocations: 361.2 kB / 0.4923 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.7912, allocations: 2.608 MB / 0.4949 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7923, allocations: 416 kB / 0.4953 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.7928, allocations: 210.5 kB / 0.4955 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.7929, allocations: 4 kB / 0.4955 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.7929, allocations: 35.62 kB / 0.4955 GB, free: 12.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/0.793, allocations: 0 / 0.4955 GB, free: 12.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001321/0.7943, allocations: 434.1 kB / 0.4959 GB, free: 12.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.7944, allocations: 110.8 kB / 0.496 GB, free: 11.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.7949, allocations: 282.8 kB / 0.4963 GB, free: 11.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.795, allocations: 29.7 kB / 0.4963 GB, free: 11.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.7952, allocations: 251.7 kB / 0.4966 GB, free: 11.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.7954, allocations: 118.4 kB / 0.4967 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.7954, allocations: 12 kB / 0.4967 GB, free: 11.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7956, allocations: 342.8 kB / 0.497 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.7959, allocations: 124.8 kB / 0.4971 GB, free: 10.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.7964, allocations: 271.2 kB / 0.4974 GB, free: 10.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.7969, allocations: 181.1 kB / 0.4976 GB, free: 10.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7969, allocations: 0 / 0.4976 GB, free: 10.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001468/0.7984, allocations: 0.5314 MB / 0.4981 GB, free: 9.754 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.7984, allocations: 11.98 kB / 0.4981 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.7985, allocations: 8.062 kB / 0.4981 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.799, allocations: 116.8 kB / 0.4982 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.7996, allocations: 71.84 kB / 0.4983 GB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.8036, allocations: 2.337 MB / 0.5006 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.8041, allocations: 47.44 kB / 0.5006 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.8042, allocations: 16 kB / 0.5006 GB, free: 6.996 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.0001673/0.8043, allocations: 132.8 kB / 0.5008 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.8045, allocations: 31.62 kB / 0.5008 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.8046, allocations: 52.08 kB / 0.5008 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.8046, allocations: 12 kB / 0.5009 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.8047, allocations: 7.953 kB / 0.5009 GB, free: 6.754 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.8047, allocations: 4 kB / 0.5009 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.8068, allocations: 0.9386 MB / 0.5018 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8068, allocations: 4.062 kB / 0.5018 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.8071, allocations: 35.98 kB / 0.5018 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.8076, allocations: 110.2 kB / 0.5019 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.8077, allocations: 8 kB / 0.5019 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.8114, allocations: 2.323 MB / 0.5042 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.8115, allocations: 0 / 0.5042 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.8128, allocations: 0.6684 MB / 0.5049 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.813, allocations: 116.6 kB / 0.505 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.8131, allocations: 12 kB / 0.505 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.8134, allocations: 4 kB / 0.505 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.8135, allocations: 31.86 kB / 0.505 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.8136, allocations: 12 kB / 0.505 GB, free: 2.207 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.8139, allocations: 218.2 kB / 0.5052 GB, free: 1.992 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.814, allocations: 0 / 0.5052 GB, free: 1.992 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001012/0.815, allocations: 155.8 kB / 0.5054 GB, free: 1.84 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.001751/0.8167, allocations: 1.48 MB / 0.5068 GB, free: 312 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.8182, allocations: 495.2 kB / 0.5073 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8182, allocations: 0 / 0.5073 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007558/0.819, 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.0006344/0.8196, allocations: 53.95 kB / 0.5077 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.8218, allocations: 0.733 MB / 0.5084 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.8225, allocations: 0.8863 MB / 0.5092 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.8228, allocations: 74.91 kB / 0.5093 GB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.8231, allocations: 119.4 kB / 0.5094 GB, free: 13.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.392e-06/0.8231, allocations: 0 / 0.5094 GB, free: 13.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.8567, allocations: 6.883 MB / 0.5162 GB, free: 6.742 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/0.8571, allocations: 181.9 kB / 0.5163 GB, free: 6.508 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.44, allocations: 0 / 0.5163 GB, free: 6.508 MB / 458.7 MB