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.001675/0.001675, allocations: 96.36 kB / 20.49 MB, free: 1.348 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.001943/0.001943, allocations: 207 kB / 23.78 MB, free: 4.504 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.0422/0.0422, allocations: 6.139 MB / 320.1 MB, free: 12.7 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.001597/0.001597, allocations: 47.92 kB / 445.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 55.02 MB / 0.489 GB, free: 13.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.008961/0.148, allocations: 5.537 MB / 0.4944 GB, free: 7.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.1515, allocations: 1.432 MB / 0.4958 GB, free: 6.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.152, allocations: 16 kB / 0.4958 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.1528, allocations: 298 kB / 0.4961 GB, free: 6.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1541, allocations: 0.5161 MB / 0.4966 GB, free: 5.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.157, allocations: 1.327 MB / 0.4979 GB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.1586, allocations: 1.132 MB / 0.499 GB, free: 3.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.1591, allocations: 277.4 kB / 0.4992 GB, free: 2.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/0.1597, allocations: 494.1 kB / 0.4997 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.1605, allocations: 0.6146 MB / 0.5003 GB, free: 1.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1607, allocations: 96 kB / 0.5004 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.1614, allocations: 343.7 kB / 0.5007 GB, free: 1.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.1617, allocations: 243 kB / 0.501 GB, free: 1.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.1621, allocations: 465.7 kB / 0.5014 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.1638, allocations: 1.319 MB / 0.5027 GB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1638, allocations: 0 / 0.5027 GB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1638, allocations: 0 / 0.5027 GB, free: 15.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1638, allocations: 3.938 kB / 0.5027 GB, free: 15.26 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.01252/0.1763, allocations: 2.895 MB / 0.5055 GB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1763, allocations: 8.031 kB / 0.5055 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.1766, allocations: 128.2 kB / 0.5057 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009686/0.1776, allocations: 0.5485 MB / 0.5062 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.1777, allocations: 134.3 kB / 0.5063 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.1779, allocations: 92.31 kB / 0.5064 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.1804, allocations: 1.717 MB / 0.5081 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1805, allocations: 4 kB / 0.5081 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1806, allocations: 36 kB / 0.5081 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.1806, allocations: 24 kB / 0.5082 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.1826, allocations: 1.253 MB / 0.5094 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006156/0.1888, allocations: 2.858 MB / 0.5122 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.1913, allocations: 1.618 MB / 0.5137 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.1926, allocations: 0.8312 MB / 0.5146 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.1927, allocations: 29.3 kB / 0.5146 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.1927, allocations: 51.88 kB / 0.5146 GB, free: 2.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.566e-06/0.1928, allocations: 0 / 0.5146 GB, free: 2.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2822/0.475, allocations: 7.525 MB / 0.522 GB, free: 29.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.475, allocations: 150 kB / 0.5221 GB, free: 29.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.4758, allocations: 0.5409 MB / 0.5227 GB, free: 29.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002132/0.4761, allocations: 56.95 kB / 0.5227 GB, free: 29.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.4763, allocations: 295.7 kB / 0.523 GB, free: 29.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.4766, allocations: 0.5135 MB / 0.5235 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005233/0.4772, allocations: 273.9 kB / 0.5238 GB, free: 28.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.4772, allocations: 338.2 kB / 0.5241 GB, free: 28.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.4786, allocations: 0.846 MB / 0.5249 GB, free: 28.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.4803, allocations: 1.049 MB / 0.5259 GB, free: 28.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/0.4832, allocations: 1.911 MB / 0.5278 GB, free: 27.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.4832, allocations: 5.219 kB / 0.5278 GB, free: 27.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01099/0.4942, allocations: 3.578 MB / 0.5313 GB, free: 26.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.4942, allocations: 4.844 kB / 0.5313 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.4943, allocations: 2.047 kB / 0.5313 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/0.5047, allocations: 2.292 MB / 0.5335 GB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5058, allocations: 225.2 kB / 0.5338 GB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/0.5246, allocations: 10.35 MB / 0.5439 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.5257, allocations: 141.2 kB / 0.544 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5258, allocations: 49.58 kB / 0.544 GB, free: 19.25 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.0004146/0.5262, allocations: 256.3 kB / 0.5443 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5264, allocations: 102.5 kB / 0.5444 GB, free: 18.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/0.5351, allocations: 3.563 MB / 0.5479 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.5351, allocations: 15.28 kB / 0.5479 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5351, allocations: 5.5 kB / 0.5479 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.5351, allocations: 7.969 kB / 0.5479 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009657/0.5448, allocations: 4.628 MB / 0.5524 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.5448, allocations: 2.953 kB / 0.5524 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.5453, allocations: 171.7 kB / 0.5526 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008815/0.5541, allocations: 2.209 MB / 0.5547 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.5543, allocations: 39.98 kB / 0.5548 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/0.5703, allocations: 10.22 MB / 0.5648 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5703, allocations: 0 / 0.5648 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.5808, allocations: 3.493 MB / 0.5682 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.5812, allocations: 126.8 kB / 0.5683 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.5814, allocations: 28 kB / 0.5683 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008941/0.5823, allocations: 72.5 kB / 0.5684 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/0.5828, allocations: 142.4 kB / 0.5685 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.583, allocations: 44 kB / 0.5686 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005307/0.5835, allocations: 358.8 kB / 0.5689 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5835, allocations: 4 kB / 0.5689 GB, free: 11.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001584/0.5851, allocations: 0.5076 MB / 0.5694 GB, free: 11.26 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.0003419/0.5854, allocations: 153.6 kB / 0.5695 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006662/0.5921, allocations: 2.743 MB / 0.5722 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5921, allocations: 0 / 0.5722 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00518/0.5973, allocations: 1.749 MB / 0.5739 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5985, allocations: 128.2 kB / 0.5741 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/0.6032, allocations: 2.197 MB / 0.5762 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.6037, allocations: 461.9 kB / 0.5766 GB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004611/0.6042, allocations: 131.2 kB / 0.5768 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.6044, allocations: 83.41 kB / 0.5768 GB, free: 3.566 MB / 398.1 MB Notification: Performance of SimCode: time 1.031e-06/0.6044, allocations: 0 / 0.5768 GB, free: 3.566 MB / 398.1 MB Notification: Performance of Templates: time 0.05505/0.6595, allocations: 34.26 MB / 0.6103 GB, free: 1.516 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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.972961214996758] Failed to read output from testmodel.py, exit status != 0: 0.6683369930105982 0.684073471 0.5169961710000001 Calling exit ...