Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001115/0.001115, allocations: 179.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.562/1.562, allocations: 194.5 MB / 212.6 MB, free: 2.957 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.001556/0.001556, allocations: 119.7 kB / 257.9 MB, free: 4.285 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2276/0.2276, allocations: 38.02 MB / 341.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 12 kB / 405 MB, free: 68.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1046, allocations: 53.23 MB / 458.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.5205, allocations: 90.71 MB / 0.5361 GB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5208, allocations: 90.19 kB / 0.5362 GB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1323/0.6532, allocations: 57.82 MB / 0.5927 GB, free: 1.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6532, allocations: 4 kB / 0.5927 GB, free: 1.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.112e-05/0.6533, allocations: 16 kB / 0.5927 GB, free: 1.73 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001749/0.655, allocations: 1.047 MB / 0.5937 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6551, allocations: 8.031 kB / 0.5937 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.6582, allocations: 431.3 kB / 0.5941 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.659, allocations: 0.4973 MB / 0.5946 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.6591, allocations: 54.38 kB / 0.5947 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6592, allocations: 76.27 kB / 0.5947 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.6609, allocations: 1.207 MB / 0.5959 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.661, allocations: 192 / 0.5959 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.6611, allocations: 35.92 kB / 0.5959 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/0.6613, allocations: 109.9 kB / 0.596 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.6631, allocations: 1.261 MB / 0.5973 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005379/0.6685, allocations: 3.712 MB / 0.6009 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.6702, allocations: 1.08 MB / 0.602 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.671, allocations: 0.6254 MB / 0.6026 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.671, allocations: 17.12 kB / 0.6026 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.6711, allocations: 43.56 kB / 0.6026 GB, free: 7.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.906e-06/0.6711, allocations: 7.938 kB / 0.6026 GB, free: 7.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.006169/0.6773, allocations: 3.084 MB / 0.6056 GB, free: 4.156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.6774, allocations: 94.11 kB / 0.6057 GB, free: 4.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.6778, allocations: 373.6 kB / 0.6061 GB, free: 3.672 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.6778, allocations: 41.7 kB / 0.6061 GB, free: 3.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.678, allocations: 324 kB / 0.6064 GB, free: 3.301 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.6783, allocations: 315.3 kB / 0.6067 GB, free: 2.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.6783, allocations: 20 kB / 0.6068 GB, free: 2.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.6785, allocations: 366.8 kB / 0.6071 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/0.6791, allocations: 445.7 kB / 0.6075 GB, free: 2.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.6798, allocations: 0.5509 MB / 0.6081 GB, free: 1.586 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.6813, allocations: 1.063 MB / 0.6091 GB, free: 500 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6813, allocations: 8 kB / 0.6091 GB, free: 492 kB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00232/0.6836, allocations: 1.427 MB / 0.6105 GB, free: 15.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.6837, allocations: 8 kB / 0.6105 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6837, allocations: 0 / 0.6105 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/0.6846, allocations: 343.1 kB / 0.6108 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.6853, allocations: 191.7 kB / 0.611 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.6906, allocations: 3.912 MB / 0.6148 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/0.6912, allocations: 63.92 kB / 0.6149 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.6913, allocations: 36.05 kB / 0.6149 GB, free: 10.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005447/0.6919, allocations: 301.5 kB / 0.6152 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.692, allocations: 63.19 kB / 0.6153 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.6947, allocations: 1.52 MB / 0.6168 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6947, allocations: 12 kB / 0.6168 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.6947, allocations: 8 kB / 0.6168 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6947, allocations: 7.922 kB / 0.6168 GB, free: 8.418 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.6996, allocations: 3.001 MB / 0.6197 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6996, allocations: 4 kB / 0.6197 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.7002, allocations: 168.1 kB / 0.6199 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007851/0.701, allocations: 283.7 kB / 0.6202 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.7011, allocations: 31.98 kB / 0.6202 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.7059, allocations: 3.618 MB / 0.6237 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.7059, allocations: 7.938 kB / 0.6237 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.7084, allocations: 1.538 MB / 0.6252 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.7086, allocations: 152.2 kB / 0.6254 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.7087, allocations: 20 kB / 0.6254 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.7091, allocations: 47.94 kB / 0.6254 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.7093, allocations: 84.78 kB / 0.6255 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.7094, allocations: 35.98 kB / 0.6256 GB, free: 15.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003321/0.7097, allocations: 255.2 kB / 0.6258 GB, free: 14.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7097, allocations: 0 / 0.6258 GB, free: 14.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001054/0.7108, allocations: 332.9 kB / 0.6261 GB, free: 14.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.711, allocations: 123.1 kB / 0.6262 GB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.7132, allocations: 1.351 MB / 0.6276 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7132, allocations: 4.125 kB / 0.6276 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.7144, allocations: 0.8239 MB / 0.6284 GB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.7152, allocations: 111.6 kB / 0.6285 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.7183, allocations: 2.144 MB / 0.6306 GB, free: 9.848 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.7192, allocations: 1.087 MB / 0.6316 GB, free: 8.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.7196, allocations: 188.7 kB / 0.6318 GB, free: 8.547 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.7198, allocations: 55.42 kB / 0.6319 GB, free: 8.492 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7198, allocations: 0 / 0.6319 GB, free: 8.492 MB / 442.7 MB Notification: Performance of Templates: time 0.01499/0.7348, allocations: 9.065 MB / 0.6407 GB, free: 15.44 MB / 458.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)