Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001609/0.001609, allocations: 178.4 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.552/1.552, allocations: 194.5 MB / 212.6 MB, free: 2.961 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001752/0.001752, allocations: 114.9 kB / 257.9 MB, free: 4.281 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2004/0.2004, allocations: 38.01 MB / 341.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 12 kB / 405 MB, free: 68.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 53.23 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4746, allocations: 94.62 MB / 0.5399 GB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.475, allocations: 93.17 kB / 0.54 GB, free: 1.223 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/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({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.1143/0.5893, allocations: 52.13 MB / 0.5909 GB, free: 3.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5893, allocations: 0 / 0.5909 GB, free: 3.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.969e-05/0.5894, allocations: 8 kB / 0.5909 GB, free: 3.242 MB / 394.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.001617/0.591, allocations: 0.7218 MB / 0.5916 GB, free: 2.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.591, allocations: 8.031 kB / 0.5916 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.5928, allocations: 124.3 kB / 0.5918 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.5934, allocations: 339.4 kB / 0.5921 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.5935, allocations: 59.25 kB / 0.5921 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.5935, allocations: 36.36 kB / 0.5922 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.5944, allocations: 0.5871 MB / 0.5927 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5945, allocations: 7.875 kB / 0.5928 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.5945, allocations: 19.94 kB / 0.5928 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.606e-05/0.5946, allocations: 36.62 kB / 0.5928 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.5953, allocations: 382.1 kB / 0.5932 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.5981, allocations: 2.619 MB / 0.5957 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.5988, allocations: 439.7 kB / 0.5962 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.5991, allocations: 206.5 kB / 0.5963 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.5992, allocations: 4 kB / 0.5964 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5992, allocations: 30.56 kB / 0.5964 GB, free: 13.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 4.098e-06/0.5992, allocations: 0 / 0.5964 GB, free: 13.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001806/0.601, allocations: 0.7804 MB / 0.5971 GB, free: 12.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.6011, allocations: 106.8 kB / 0.5972 GB, free: 12.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.6015, allocations: 324.6 kB / 0.5976 GB, free: 12.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6015, allocations: 29.7 kB / 0.5976 GB, free: 12.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.6017, allocations: 243.7 kB / 0.5978 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.6019, allocations: 122.4 kB / 0.5979 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.6019, allocations: 4 kB / 0.5979 GB, free: 11.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.602, allocations: 354.7 kB / 0.5983 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.6023, allocations: 124.8 kB / 0.5984 GB, free: 11.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.6026, allocations: 275.5 kB / 0.5987 GB, free: 10.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.6032, allocations: 452.1 kB / 0.5991 GB, free: 10.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.6032, allocations: 4 kB / 0.5991 GB, free: 10.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009008/0.6041, allocations: 0.5578 MB / 0.5996 GB, free: 9.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6041, allocations: 8 kB / 0.5996 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6042, allocations: 4.594 kB / 0.5996 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003539/0.6045, allocations: 121.8 kB / 0.5998 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.6048, allocations: 75.84 kB / 0.5998 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.6081, allocations: 2.345 MB / 0.6021 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.6085, allocations: 47.44 kB / 0.6022 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.6085, allocations: 20 kB / 0.6022 GB, free: 7 MB / 410.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 () * Number of clocked 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.000319/0.6088, allocations: 197.6 kB / 0.6024 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.6089, allocations: 31.62 kB / 0.6024 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.609, allocations: 55.94 kB / 0.6025 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.6091, allocations: 7.938 kB / 0.6025 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.6091, allocations: 7.938 kB / 0.6025 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6091, allocations: 8.047 kB / 0.6025 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.6106, allocations: 0.9387 MB / 0.6034 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6106, allocations: 7.938 kB / 0.6034 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.6107, allocations: 31.98 kB / 0.6034 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.611, allocations: 112.8 kB / 0.6035 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.6111, allocations: 8 kB / 0.6036 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.6139, allocations: 2.337 MB / 0.6058 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6139, allocations: 4.031 kB / 0.6058 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.6147, allocations: 0.6263 MB / 0.6065 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6149, allocations: 120.6 kB / 0.6066 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.6149, allocations: 8 kB / 0.6066 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.6151, allocations: 4 kB / 0.6066 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.6152, allocations: 27.91 kB / 0.6066 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6152, allocations: 11.94 kB / 0.6066 GB, free: 2.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002456/0.6154, allocations: 227 kB / 0.6068 GB, free: 1.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6154, allocations: 0 / 0.6068 GB, free: 1.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006984/0.6162, allocations: 151.8 kB / 0.607 GB, free: 1.824 MB / 410.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 () * Number of clocked 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.0001414/0.6163, allocations: 99.19 kB / 0.6071 GB, free: 1.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.6173, allocations: 0.5146 MB / 0.6076 GB, free: 1.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6173, allocations: 0 / 0.6076 GB, free: 1.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.6178, allocations: 339.3 kB / 0.6079 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.6184, allocations: 58.42 kB / 0.608 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.6201, allocations: 0.9579 MB / 0.6089 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.6207, allocations: 0.882 MB / 0.6098 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.6209, allocations: 78.88 kB / 0.6098 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.621, allocations: 19.44 kB / 0.6098 GB, free: 14.79 MB / 426.7 MB Notification: Performance of SimCode: time 9.51e-07/0.621, allocations: 0 / 0.6098 GB, free: 14.79 MB / 426.7 MB Notification: Performance of Templates: time 0.007813/0.6288, allocations: 3.389 MB / 0.6132 GB, free: 11.39 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)