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.001939/0.001939, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.002818/0.002818, allocations: 222.1 kB / 23.03 MB, free: 5.016 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.06535/0.06535, allocations: 6.14 MB / 319.4 MB, free: 12.8 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.001694/0.001694, allocations: 48.02 kB / 444.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1339, allocations: 55.03 MB / 500 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.00809/0.1419, allocations: 5.548 MB / 0.4937 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1457, allocations: 1.42 MB / 0.495 GB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.1462, allocations: 19.94 kB / 0.4951 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.147, allocations: 302 kB / 0.4954 GB, free: 6.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.1485, allocations: 0.52 MB / 0.4959 GB, free: 5.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.1517, allocations: 1.321 MB / 0.4972 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.1537, allocations: 1.124 MB / 0.4982 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.1542, allocations: 249.4 kB / 0.4985 GB, free: 2.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007617/0.155, allocations: 494.1 kB / 0.499 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.1558, allocations: 0.5443 MB / 0.4995 GB, free: 1.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.156, allocations: 92 kB / 0.4996 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000882/0.1569, allocations: 335.8 kB / 0.4999 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.1571, allocations: 246.9 kB / 0.5001 GB, free: 1.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.1576, allocations: 457.7 kB / 0.5006 GB, free: 0.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.1596, allocations: 1.323 MB / 0.5019 GB, free: 15.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1596, allocations: 0 / 0.5019 GB, free: 15.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1596, allocations: 0 / 0.5019 GB, free: 15.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.1596, allocations: 0 / 0.5019 GB, free: 15.5 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.0122/0.1718, allocations: 2.887 MB / 0.5047 GB, free: 12.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.1719, allocations: 12.03 kB / 0.5047 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.1722, allocations: 128.2 kB / 0.5048 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.1733, allocations: 0.5525 MB / 0.5054 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.1735, allocations: 138.3 kB / 0.5055 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.1737, allocations: 92.38 kB / 0.5056 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.1764, allocations: 1.724 MB / 0.5073 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.1764, allocations: 0 / 0.5073 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.1765, allocations: 36 kB / 0.5073 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.1766, allocations: 24 kB / 0.5073 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.1788, allocations: 1.261 MB / 0.5085 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006422/0.1852, allocations: 2.855 MB / 0.5113 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.1879, allocations: 1.61 MB / 0.5129 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.1893, allocations: 0.8273 MB / 0.5137 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.1895, allocations: 33.28 kB / 0.5137 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.1895, allocations: 55.81 kB / 0.5138 GB, free: 3.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.607e-06/0.1895, allocations: 0 / 0.5138 GB, free: 3.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.3172/0.5067, allocations: 7.526 MB / 0.5211 GB, free: 29.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.5068, allocations: 145.4 kB / 0.5213 GB, free: 29.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.5079, allocations: 0.5372 MB / 0.5218 GB, free: 29.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.5082, allocations: 59.64 kB / 0.5219 GB, free: 29.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.5085, allocations: 300.1 kB / 0.5222 GB, free: 29.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/0.509, allocations: 0.5104 MB / 0.5227 GB, free: 29.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.5096, allocations: 277.3 kB / 0.5229 GB, free: 29.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5098, allocations: 336 kB / 0.5232 GB, free: 28.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.5115, allocations: 0.8479 MB / 0.5241 GB, free: 28.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.5133, allocations: 1.048 MB / 0.5251 GB, free: 28.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.5167, allocations: 1.907 MB / 0.527 GB, free: 27.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.5167, allocations: 0 / 0.527 GB, free: 27.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01015/0.5268, allocations: 3.586 MB / 0.5305 GB, free: 26.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.5269, allocations: 6.625 kB / 0.5305 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5269, allocations: 1.859 kB / 0.5305 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009865/0.5367, allocations: 2.293 MB / 0.5327 GB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.5377, allocations: 214.2 kB / 0.5329 GB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/0.559, allocations: 10.36 MB / 0.543 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.5603, allocations: 145 kB / 0.5432 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.5605, allocations: 53.3 kB / 0.5432 GB, free: 19.48 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.0006801/0.5612, allocations: 249.1 kB / 0.5434 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.5615, allocations: 100.9 kB / 0.5435 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009065/0.5706, allocations: 3.565 MB / 0.547 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.5706, allocations: 15.38 kB / 0.547 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5706, allocations: 0 / 0.547 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.5706, allocations: 11.97 kB / 0.5471 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.5809, allocations: 4.628 MB / 0.5516 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5809, allocations: 4 kB / 0.5516 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.5814, allocations: 173.4 kB / 0.5517 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008749/0.5902, allocations: 2.212 MB / 0.5539 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.5904, allocations: 35.98 kB / 0.5539 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.6088, allocations: 10.22 MB / 0.5639 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6088, allocations: 0 / 0.5639 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.6193, allocations: 3.493 MB / 0.5673 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.6197, allocations: 122.9 kB / 0.5674 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.6199, allocations: 24 kB / 0.5675 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.621, allocations: 73.14 kB / 0.5675 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004779/0.6214, allocations: 138.4 kB / 0.5677 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.6216, allocations: 47.98 kB / 0.5677 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006178/0.6222, allocations: 362.8 kB / 0.5681 GB, free: 12.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6222, allocations: 4 kB / 0.5681 GB, free: 12.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001773/0.624, allocations: 0.5076 MB / 0.5686 GB, free: 11.57 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.0003878/0.6244, allocations: 156.7 kB / 0.5687 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007226/0.6316, allocations: 2.747 MB / 0.5714 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6316, allocations: 4 kB / 0.5714 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005095/0.6367, allocations: 1.745 MB / 0.5731 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6378, allocations: 112.5 kB / 0.5732 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.643, allocations: 2.203 MB / 0.5754 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.6437, allocations: 461.9 kB / 0.5758 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005493/0.6443, allocations: 135.2 kB / 0.5759 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.6445, allocations: 85.16 kB / 0.576 GB, free: 3.867 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6445, allocations: 0 / 0.576 GB, free: 3.867 MB / 398.1 MB Notification: Performance of Templates: time 0.05516/0.6997, allocations: 33.87 MB / 0.6091 GB, free: 2.207 MB / 430.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.370998527854681] Failed to read output from testmodel.py, exit status != 0: 0.7085456848144531 0.724963272 0.561792081 Calling exit ...