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.001492/0.001492, allocations: 182.8 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.934/1.934, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001858/0.001858, allocations: 108.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1854/0.1854, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.941e-05, allocations: 4 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3873, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.5622, allocations: 90.61 MB / 0.5287 GB, free: 2.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.5626, allocations: 79.95 kB / 0.5288 GB, free: 2.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4095/0.9721, allocations: 57.45 MB / 0.5849 GB, free: 42.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.9722, allocations: 0 / 0.5849 GB, free: 42.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.356e-05/0.9722, allocations: 12 kB / 0.5849 GB, free: 42.92 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001799/0.974, allocations: 1.003 MB / 0.5858 GB, free: 41.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9741, allocations: 8.031 kB / 0.5859 GB, free: 41.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/0.9776, allocations: 426.4 kB / 0.5863 GB, free: 41.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.9786, allocations: 0.4893 MB / 0.5867 GB, free: 40.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.9787, allocations: 57.98 kB / 0.5868 GB, free: 40.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.9788, allocations: 75.89 kB / 0.5869 GB, free: 40.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.9806, allocations: 1.18 MB / 0.588 GB, free: 39.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.9806, allocations: 3.938 kB / 0.588 GB, free: 39.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.9807, allocations: 31.98 kB / 0.5881 GB, free: 39.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/0.981, allocations: 109.9 kB / 0.5882 GB, free: 39.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.9826, allocations: 1.234 MB / 0.5894 GB, free: 38.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/0.9874, allocations: 3.716 MB / 0.593 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.9888, allocations: 1.062 MB / 0.594 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.9895, allocations: 0.6176 MB / 0.5946 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.9896, allocations: 32.83 kB / 0.5947 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.9896, allocations: 39.34 kB / 0.5947 GB, free: 32.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.745e-06/0.9896, allocations: 0 / 0.5947 GB, free: 32.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.003003/0.9926, allocations: 2.001 MB / 0.5967 GB, free: 30.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.9927, allocations: 93.81 kB / 0.5967 GB, free: 30.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.993, allocations: 323.6 kB / 0.5971 GB, free: 30.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.9931, allocations: 45.64 kB / 0.5971 GB, free: 30.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.9932, allocations: 332.1 kB / 0.5974 GB, free: 29.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.9934, allocations: 319.3 kB / 0.5977 GB, free: 29.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.9934, allocations: 16 kB / 0.5977 GB, free: 29.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.9935, allocations: 366.8 kB / 0.5981 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.9941, allocations: 433.8 kB / 0.5985 GB, free: 28.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.9947, allocations: 0.5416 MB / 0.599 GB, free: 28.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.9953, allocations: 0.5162 MB / 0.5995 GB, free: 27.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9953, allocations: 0 / 0.5995 GB, free: 27.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002032/0.9973, allocations: 1.411 MB / 0.6009 GB, free: 26.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.9974, allocations: 4 kB / 0.6009 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9974, allocations: 4 kB / 0.6009 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008254/0.9982, allocations: 336.1 kB / 0.6012 GB, free: 25.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.999, allocations: 191.7 kB / 0.6014 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/1.003, allocations: 3.888 MB / 0.6052 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/1.004, allocations: 63.92 kB / 0.6053 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/1.004, allocations: 43.92 kB / 0.6053 GB, free: 21.43 MB / 378.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 () * 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.0001775/1.004, allocations: 152.5 kB / 0.6055 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.005, allocations: 59.25 kB / 0.6055 GB, free: 21.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.007, allocations: 1.505 MB / 0.607 GB, free: 19.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.007, allocations: 12 kB / 0.607 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.007, allocations: 4 kB / 0.607 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.007, allocations: 7.969 kB / 0.607 GB, free: 19.68 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004332/1.011, allocations: 2.98 MB / 0.6099 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.011, allocations: 4 kB / 0.6099 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/1.012, allocations: 168.2 kB / 0.6101 GB, free: 16.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006789/1.013, allocations: 276.6 kB / 0.6104 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/1.013, allocations: 31.98 kB / 0.6104 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/1.017, allocations: 3.606 MB / 0.6139 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.017, allocations: 7.938 kB / 0.6139 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/1.019, allocations: 1.697 MB / 0.6156 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/1.019, allocations: 144.3 kB / 0.6157 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/1.019, allocations: 31.98 kB / 0.6157 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/1.02, allocations: 47.95 kB / 0.6158 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.02, allocations: 80.56 kB / 0.6159 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/1.02, allocations: 28 kB / 0.6159 GB, free: 10.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003077/1.02, allocations: 262.1 kB / 0.6161 GB, free: 9.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.02, allocations: 0 / 0.6161 GB, free: 9.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001028/1.021, allocations: 320.9 kB / 0.6164 GB, free: 9.578 MB / 378.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 () * 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.0002227/1.022, allocations: 143 kB / 0.6166 GB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/1.023, allocations: 1.322 MB / 0.6179 GB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.023, allocations: 0 / 0.6179 GB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009748/1.024, allocations: 0.8117 MB / 0.6187 GB, free: 7.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/1.025, allocations: 90.03 kB / 0.6187 GB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/1.027, allocations: 1.493 MB / 0.6202 GB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/1.028, allocations: 1.105 MB / 0.6213 GB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004433/1.028, allocations: 180.7 kB / 0.6215 GB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/1.028, allocations: 55.42 kB / 0.6215 GB, free: 4.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.385e-06/1.028, allocations: 0 / 0.6215 GB, free: 4.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01602/1.044, allocations: 9.066 MB / 0.6304 GB, free: 11.18 MB / 394.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)