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.001728/0.001728, allocations: 178.3 kB / 16.38 MB, free: 5.766 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.208/1.208, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001581/0.001581, allocations: 102.9 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.158/0.158, allocations: 38 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09099, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.3854, allocations: 94.6 MB / 0.5387 GB, free: 1.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.3856, allocations: 90.05 kB / 0.5388 GB, free: 1.559 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.1052/0.4908, allocations: 52.1 MB / 0.5896 GB, free: 3.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4908, allocations: 4 kB / 0.5896 GB, free: 3.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.4909, allocations: 8 kB / 0.5897 GB, free: 3.652 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.001105/0.492, allocations: 0.7215 MB / 0.5904 GB, free: 2.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.492, allocations: 19.95 kB / 0.5904 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.4934, allocations: 127.3 kB / 0.5905 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.4939, allocations: 330.3 kB / 0.5908 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.494, allocations: 58.64 kB / 0.5909 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.494, allocations: 47.92 kB / 0.5909 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.4948, allocations: 0.571 MB / 0.5915 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4948, allocations: 0 / 0.5915 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.4949, allocations: 23.98 kB / 0.5915 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/0.4949, allocations: 36.62 kB / 0.5915 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.4955, allocations: 382.1 kB / 0.5919 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.4979, allocations: 2.615 MB / 0.5944 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.4985, allocations: 431.9 kB / 0.5949 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4985, allocations: 0 / 0.5949 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4986, allocations: 42.56 kB / 0.5949 GB, free: 13.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.4986, allocations: 4 kB / 0.5949 GB, free: 13.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001652/0.5002, allocations: 0.7571 MB / 0.5956 GB, free: 13.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.5003, allocations: 114.8 kB / 0.5958 GB, free: 13.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.5006, allocations: 279.8 kB / 0.596 GB, free: 12.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.5006, allocations: 29.7 kB / 0.596 GB, free: 12.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.5008, allocations: 247.7 kB / 0.5963 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.5009, allocations: 114.3 kB / 0.5964 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.5009, allocations: 8 kB / 0.5964 GB, free: 12.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5011, allocations: 350.8 kB / 0.5967 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.5013, allocations: 120.8 kB / 0.5968 GB, free: 11.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.5016, allocations: 290.2 kB / 0.5971 GB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.5019, allocations: 177.2 kB / 0.5973 GB, free: 11.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5019, allocations: 0 / 0.5973 GB, free: 11.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008009/0.5027, allocations: 0.5625 MB / 0.5978 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5027, allocations: 4 kB / 0.5978 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5027, allocations: 8 kB / 0.5979 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.5031, allocations: 120.8 kB / 0.598 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.5034, allocations: 75.91 kB / 0.598 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.5059, allocations: 2.385 MB / 0.6004 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.5061, allocations: 39.53 kB / 0.6004 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.5062, allocations: 23.95 kB / 0.6004 GB, free: 7.973 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.0002446/0.5064, allocations: 197.7 kB / 0.6006 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.5065, allocations: 43.53 kB / 0.6007 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.492e-05/0.5066, allocations: 51.95 kB / 0.6007 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5066, allocations: 4 kB / 0.6007 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.5066, allocations: 4 kB / 0.6007 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5067, allocations: 3.984 kB / 0.6007 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.5079, allocations: 0.9426 MB / 0.6016 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5079, allocations: 7.938 kB / 0.6017 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.5081, allocations: 39.88 kB / 0.6017 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.5083, allocations: 112.8 kB / 0.6018 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.5084, allocations: 4 kB / 0.6018 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.5107, allocations: 2.37 MB / 0.6041 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5107, allocations: 4.031 kB / 0.6041 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.5115, allocations: 0.6714 MB / 0.6048 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.5116, allocations: 116.7 kB / 0.6049 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.5117, allocations: 8 kB / 0.6049 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.5118, allocations: 4 kB / 0.6049 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.5119, allocations: 27.86 kB / 0.6049 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.5119, allocations: 12 kB / 0.6049 GB, free: 3.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.5121, allocations: 219 kB / 0.6051 GB, free: 2.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5121, allocations: 4 kB / 0.6051 GB, free: 2.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006273/0.5128, allocations: 159.8 kB / 0.6053 GB, free: 2.695 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.0001132/0.5129, allocations: 108.2 kB / 0.6054 GB, free: 2.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.5137, allocations: 0.5154 MB / 0.6059 GB, free: 2.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5137, allocations: 0 / 0.6059 GB, free: 2.051 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.5141, allocations: 338.8 kB / 0.6062 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.5145, allocations: 49.84 kB / 0.6063 GB, free: 1.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.5157, allocations: 0.9517 MB / 0.6072 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.5162, allocations: 0.8941 MB / 0.6081 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.5164, allocations: 70.91 kB / 0.6081 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.5165, allocations: 23.44 kB / 0.6082 GB, free: 15.65 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5165, allocations: 0 / 0.6082 GB, free: 15.65 MB / 426.7 MB Notification: Performance of Templates: time 0.006706/0.5232, allocations: 3.379 MB / 0.6115 GB, free: 12.27 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)