Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 184.2 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 95.98 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3374/0.3374, allocations: 37.98 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.971e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4797/0.5833, allocations: 99.5 MB / 0.5592 GB, free: 4.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.5837, allocations: 83.95 kB / 0.5593 GB, free: 4.145 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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.1848/0.7686, allocations: 51.81 MB / 0.6099 GB, free: 15.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7686, allocations: 3.938 kB / 0.6099 GB, free: 15.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.7686, allocations: 12 kB / 0.6099 GB, free: 15.35 MB / 458.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.001504/0.7702, allocations: 0.6822 MB / 0.6106 GB, free: 14.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.7702, allocations: 16.02 kB / 0.6106 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.7725, allocations: 119.4 kB / 0.6107 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.7734, allocations: 334.2 kB / 0.611 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.255e-05/0.7735, allocations: 58.62 kB / 0.6111 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.12e-05/0.7736, allocations: 39.98 kB / 0.6111 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.7749, allocations: 0.5674 MB / 0.6117 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.775, allocations: 4 kB / 0.6117 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.7751, allocations: 23.98 kB / 0.6117 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.7752, allocations: 40.75 kB / 0.6117 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.7763, allocations: 382.6 kB / 0.6121 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.7802, allocations: 2.604 MB / 0.6146 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.7814, allocations: 424 kB / 0.615 GB, free: 9.766 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.7819, allocations: 206.6 kB / 0.6152 GB, free: 9.555 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.782, allocations: 4 kB / 0.6152 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.782, allocations: 42.5 kB / 0.6153 GB, free: 9.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 3.767e-06/0.782, allocations: 0 / 0.6153 GB, free: 9.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001331/0.7834, allocations: 422.3 kB / 0.6157 GB, free: 9.078 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.7835, allocations: 114.7 kB / 0.6158 GB, free: 8.941 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.784, allocations: 290.7 kB / 0.6161 GB, free: 8.652 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.784, allocations: 29.7 kB / 0.6161 GB, free: 8.617 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.7842, allocations: 298.3 kB / 0.6164 GB, free: 8.324 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.7844, allocations: 126.2 kB / 0.6165 GB, free: 8.199 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.7845, allocations: 8 kB / 0.6165 GB, free: 8.191 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7846, allocations: 322.8 kB / 0.6168 GB, free: 7.867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.785, allocations: 128.8 kB / 0.6169 GB, free: 7.738 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.7854, allocations: 272.1 kB / 0.6172 GB, free: 7.402 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.7859, allocations: 185.1 kB / 0.6174 GB, free: 7.223 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.7859, allocations: 4 kB / 0.6174 GB, free: 7.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001426/0.7874, allocations: 0.5274 MB / 0.6179 GB, free: 6.684 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.7874, allocations: 4 kB / 0.6179 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.7874, allocations: 11.95 kB / 0.6179 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.788, allocations: 120.7 kB / 0.618 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.7885, allocations: 68.25 kB / 0.6181 GB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.7924, allocations: 2.342 MB / 0.6204 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.7929, allocations: 47.53 kB / 0.6204 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.793, allocations: 16 kB / 0.6204 GB, free: 3.93 MB / 458.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.0001632/0.7932, allocations: 136.9 kB / 0.6206 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.7933, allocations: 39.52 kB / 0.6206 GB, free: 3.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.7935, allocations: 52.08 kB / 0.6207 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.7935, allocations: 4 kB / 0.6207 GB, free: 3.691 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.7935, allocations: 4 kB / 0.6207 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7935, allocations: 3.984 kB / 0.6207 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.7957, allocations: 0.9314 MB / 0.6216 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.7957, allocations: 0 / 0.6216 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.796, allocations: 31.98 kB / 0.6216 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.7965, allocations: 110.3 kB / 0.6217 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.7965, allocations: 19.95 kB / 0.6217 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/0.8005, allocations: 2.325 MB / 0.624 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8005, allocations: 4.031 kB / 0.624 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.8019, allocations: 0.6671 MB / 0.6247 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.8022, allocations: 112.7 kB / 0.6248 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.8023, allocations: 11.98 kB / 0.6248 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.8026, allocations: 8 kB / 0.6248 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.8027, allocations: 19.97 kB / 0.6248 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.8027, allocations: 12 kB / 0.6248 GB, free: 15.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000399/0.8031, allocations: 226.1 kB / 0.625 GB, free: 14.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8031, allocations: 4 kB / 0.625 GB, free: 14.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009533/0.8041, allocations: 159.7 kB / 0.6252 GB, free: 14.77 MB / 474.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.0001666/0.8043, allocations: 103.2 kB / 0.6253 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.8056, allocations: 0.5111 MB / 0.6258 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8057, allocations: 0 / 0.6258 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000762/0.8064, allocations: 338.4 kB / 0.6261 GB, free: 13.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.8071, allocations: 49.95 kB / 0.6262 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.8087, allocations: 0.659 MB / 0.6268 GB, free: 13.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.8094, allocations: 0.8863 MB / 0.6277 GB, free: 12.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.8095, allocations: 27.44 kB / 0.6277 GB, free: 12.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/0.8095, allocations: 0 / 0.6277 GB, free: 12.1 MB / 474.7 MB Notification: Performance of Templates: time 0.01394/0.8235, allocations: 5.917 MB / 0.6335 GB, free: 6.172 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)