Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 110.1 kB / 19.74 MB, free: 2.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002495/0.002495, allocations: 213.6 kB / 23.04 MB, free: 5.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0359/0.0359, allocations: 6.138 MB / 319.4 MB, free: 13.04 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 47.92 kB / 445 MB, free: 4.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1301, allocations: 55.03 MB / 0.4883 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.008576/0.1387, allocations: 6.291 MB / 0.4945 GB, free: 7.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.1421, allocations: 1.506 MB / 0.4959 GB, free: 5.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.143, allocations: 20 kB / 0.4959 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.144, allocations: 298 kB / 0.4962 GB, free: 5.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.1458, allocations: 0.52 MB / 0.4967 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.1491, allocations: 1.421 MB / 0.4981 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.1511, allocations: 1.128 MB / 0.4992 GB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.1516, allocations: 285.3 kB / 0.4995 GB, free: 2.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.1523, allocations: 498.1 kB / 0.5 GB, free: 1.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008273/0.1531, allocations: 0.6107 MB / 0.5006 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.1533, allocations: 96 kB / 0.5007 GB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007932/0.1541, allocations: 351.7 kB / 0.501 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.1543, allocations: 243 kB / 0.5012 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.1548, allocations: 0.548 MB / 0.5018 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.1565, allocations: 1.307 MB / 0.503 GB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1565, allocations: 0 / 0.503 GB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1565, allocations: 0 / 0.503 GB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1566, allocations: 0 / 0.503 GB, free: 14.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0123/0.1688, allocations: 2.899 MB / 0.5059 GB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1689, allocations: 12.03 kB / 0.5059 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.1692, allocations: 132.1 kB / 0.506 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1703, allocations: 0.5526 MB / 0.5065 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.1704, allocations: 134.3 kB / 0.5067 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.1706, allocations: 96.38 kB / 0.5068 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.1729, allocations: 1.311 MB / 0.508 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.173, allocations: 0 / 0.508 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.1731, allocations: 36 kB / 0.5081 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.1731, allocations: 20 kB / 0.5081 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.1753, allocations: 1.265 MB / 0.5093 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007104/0.1824, allocations: 3.847 MB / 0.5131 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.1851, allocations: 1.634 MB / 0.5147 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.1865, allocations: 0.8312 MB / 0.5155 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.1866, allocations: 37.2 kB / 0.5155 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.615e-05/0.1867, allocations: 51.88 kB / 0.5156 GB, free: 1.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.276e-06/0.1867, allocations: 0 / 0.5156 GB, free: 1.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2572/0.4439, allocations: 7.526 MB / 0.5229 GB, free: 29.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.444, allocations: 145.7 kB / 0.5231 GB, free: 29.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4454, allocations: 0.5372 MB / 0.5236 GB, free: 29.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.4456, allocations: 58.89 kB / 0.5237 GB, free: 29.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.4459, allocations: 297.5 kB / 0.5239 GB, free: 28.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005481/0.4465, allocations: 0.5161 MB / 0.5244 GB, free: 28.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005722/0.4471, allocations: 277.2 kB / 0.5247 GB, free: 28.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.4471, allocations: 338.7 kB / 0.525 GB, free: 28.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.4485, allocations: 0.8469 MB / 0.5259 GB, free: 28.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.45, allocations: 0.9712 MB / 0.5268 GB, free: 28.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.4527, allocations: 1.91 MB / 0.5287 GB, free: 27.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4527, allocations: 4 kB / 0.5287 GB, free: 27.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01009/0.4628, allocations: 3.585 MB / 0.5322 GB, free: 26.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4629, allocations: 5.594 kB / 0.5322 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4629, allocations: 4 kB / 0.5322 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009591/0.4725, allocations: 2.291 MB / 0.5344 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.4733, allocations: 216 kB / 0.5346 GB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.4923, allocations: 10.72 MB / 0.5451 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4933, allocations: 142.7 kB / 0.5452 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/0.4934, allocations: 47.48 kB / 0.5453 GB, free: 18.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.0003825/0.4938, allocations: 256.8 kB / 0.5455 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.494, allocations: 104.5 kB / 0.5456 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00856/0.5025, allocations: 3.554 MB / 0.5491 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.5025, allocations: 16.53 kB / 0.5491 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5026, allocations: 0 / 0.5491 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.5026, allocations: 11.62 kB / 0.5491 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009622/0.5122, allocations: 5.058 MB / 0.5541 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5122, allocations: 0 / 0.5541 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.5127, allocations: 163.8 kB / 0.5542 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00849/0.5212, allocations: 2.219 MB / 0.5564 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.5213, allocations: 42 kB / 0.5564 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.5382, allocations: 10.59 MB / 0.5668 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5382, allocations: 0 / 0.5668 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009975/0.5482, allocations: 3.493 MB / 0.5702 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.5486, allocations: 118.9 kB / 0.5703 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.5488, allocations: 24 kB / 0.5703 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/0.5497, allocations: 85.55 kB / 0.5704 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006901/0.5504, allocations: 142.3 kB / 0.5705 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.5505, allocations: 44 kB / 0.5706 GB, free: 10.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007623/0.5513, allocations: 362.8 kB / 0.5709 GB, free: 9.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5513, allocations: 0 / 0.5709 GB, free: 9.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002309/0.5536, allocations: 0.5076 MB / 0.5714 GB, free: 9.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005494/0.5541, allocations: 149.6 kB / 0.5716 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007342/0.5615, allocations: 2.751 MB / 0.5743 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.5615, allocations: 4 kB / 0.5743 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.5662, allocations: 1.75 MB / 0.576 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.5671, allocations: 115.3 kB / 0.5761 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.5721, allocations: 2.186 MB / 0.5782 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/0.573, allocations: 1.05 MB / 0.5792 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004824/0.5735, allocations: 133.8 kB / 0.5794 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5737, allocations: 87.41 kB / 0.5794 GB, free: 1.047 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5737, allocations: 1.531 kB / 0.5794 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Templates: time 0.06361/0.6373, allocations: 37.22 MB / 0.6158 GB, free: 11.97 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.015211557038128] Failed to read output from testmodel.py, exit status != 0: 0.6464881740976125 0.663515618 0.5035111769999999 Calling exit ...