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.001401/0.001402, allocations: 182 kB / 13.64 MB, free: 1.676 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.89/1.89, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.002034/0.002034, allocations: 120.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1817/0.1817, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.65e-05, allocations: 4 kB / 397.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3481, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.7632, allocations: 94.5 MB / 0.5325 GB, free: 88.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.7636, allocations: 83 kB / 0.5326 GB, free: 88.46 MB / 378.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.09735/0.8609, allocations: 51.81 MB / 0.5832 GB, free: 44.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.861, allocations: 0 / 0.5832 GB, free: 44.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.861, allocations: 8 kB / 0.5832 GB, free: 44.35 MB / 378.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.0009909/0.862, allocations: 0.6784 MB / 0.5838 GB, free: 43.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.8621, allocations: 15.97 kB / 0.5838 GB, free: 43.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.8637, allocations: 123.3 kB / 0.584 GB, free: 43.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.8641, allocations: 338.2 kB / 0.5843 GB, free: 43.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.8642, allocations: 54.66 kB / 0.5843 GB, free: 43.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.8643, allocations: 47.95 kB / 0.5844 GB, free: 43.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.8649, allocations: 0.5674 MB / 0.5849 GB, free: 42.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.865, allocations: 11.94 kB / 0.5849 GB, free: 42.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.865, allocations: 15.98 kB / 0.585 GB, free: 42.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.911e-05/0.8651, allocations: 40.75 kB / 0.585 GB, free: 42.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.8656, allocations: 370.7 kB / 0.5853 GB, free: 41.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.8675, allocations: 2.608 MB / 0.5879 GB, free: 39.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.8681, allocations: 424 kB / 0.5883 GB, free: 38.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.8683, allocations: 206 kB / 0.5885 GB, free: 38.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.8683, allocations: 4 kB / 0.5885 GB, free: 38.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.8684, allocations: 38.56 kB / 0.5885 GB, free: 38.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/0.8684, allocations: 3.938 kB / 0.5885 GB, free: 38.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006892/0.8691, allocations: 422.3 kB / 0.5889 GB, free: 38.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.8691, allocations: 114.9 kB / 0.5891 GB, free: 37.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.8694, allocations: 282.7 kB / 0.5893 GB, free: 37.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.8694, allocations: 29.7 kB / 0.5893 GB, free: 37.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.8695, allocations: 243.8 kB / 0.5896 GB, free: 37.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.8696, allocations: 122.2 kB / 0.5897 GB, free: 37.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.8696, allocations: 12 kB / 0.5897 GB, free: 37.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.8697, allocations: 342.8 kB / 0.59 GB, free: 36.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.8698, allocations: 128.8 kB / 0.5902 GB, free: 36.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.87, allocations: 276.1 kB / 0.5904 GB, free: 36.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.8703, allocations: 173.2 kB / 0.5906 GB, free: 36.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8703, allocations: 4 kB / 0.5906 GB, free: 36.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000669/0.871, allocations: 0.5505 MB / 0.5911 GB, free: 35.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.871, allocations: 8 kB / 0.5911 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.871, allocations: 7.938 kB / 0.5911 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.8713, allocations: 121.3 kB / 0.5913 GB, free: 35.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.8715, allocations: 75.84 kB / 0.5913 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.8735, allocations: 2.34 MB / 0.5936 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.8737, allocations: 39.53 kB / 0.5937 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.8737, allocations: 20 kB / 0.5937 GB, free: 32.95 MB / 378.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 9.596e-05/0.8738, allocations: 136.6 kB / 0.5938 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.8739, allocations: 43.53 kB / 0.5938 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.721e-05/0.874, allocations: 44.08 kB / 0.5939 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.874, allocations: 4 kB / 0.5939 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.874, allocations: 8 kB / 0.5939 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.8741, allocations: 7.938 kB / 0.5939 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.8751, allocations: 0.9379 MB / 0.5948 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8751, allocations: 4 kB / 0.5948 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.8752, allocations: 27.98 kB / 0.5949 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.8755, allocations: 112.9 kB / 0.595 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.8755, allocations: 4 kB / 0.595 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.8772, allocations: 2.332 MB / 0.5972 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8772, allocations: 3.953 kB / 0.5972 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.8778, allocations: 0.6689 MB / 0.5979 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.8779, allocations: 112.7 kB / 0.598 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.8779, allocations: 11.92 kB / 0.598 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.8781, allocations: 8 kB / 0.598 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.8782, allocations: 27.92 kB / 0.5981 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.8782, allocations: 8 kB / 0.5981 GB, free: 28.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.8784, allocations: 222.2 kB / 0.5983 GB, free: 27.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8784, allocations: 0 / 0.5983 GB, free: 27.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007234/0.8791, allocations: 163.7 kB / 0.5984 GB, free: 27.79 MB / 378.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.0001165/0.8792, allocations: 99.19 kB / 0.5985 GB, free: 27.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/0.88, allocations: 0.5031 MB / 0.599 GB, free: 27.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.88, allocations: 0 / 0.599 GB, free: 27.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.8804, allocations: 331.3 kB / 0.5993 GB, free: 26.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.8808, allocations: 57.62 kB / 0.5994 GB, free: 26.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.8818, allocations: 0.5988 MB / 0.6 GB, free: 26.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.8821, allocations: 0.8863 MB / 0.6008 GB, free: 25.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.8823, allocations: 78.84 kB / 0.6009 GB, free: 25.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.8824, allocations: 23.44 kB / 0.6009 GB, free: 25.13 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.8824, allocations: 0 / 0.6009 GB, free: 25.13 MB / 378.7 MB Notification: Performance of Templates: time 0.007051/0.8894, allocations: 3.381 MB / 0.6042 GB, free: 21.75 MB / 378.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)