Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 113.8 kB / 19.74 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 192.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0583/0.0583, allocations: 8.228 MB / 315.3 MB, free: 392 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 75.81 kB / 439.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 54.4 MB / 494.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.008218/0.1183, allocations: 6.524 MB / 0.4889 GB, free: 15.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004394/0.1227, allocations: 1.494 MB / 0.4904 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.124, allocations: 16 kB / 0.4904 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.1252, allocations: 313.9 kB / 0.4907 GB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.1276, allocations: 0.5511 MB / 0.4912 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.1315, allocations: 1.434 MB / 0.4926 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.134, allocations: 1.182 MB / 0.4938 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.1347, allocations: 281.3 kB / 0.4941 GB, free: 9.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.1357, allocations: 0.4904 MB / 0.4945 GB, free: 9.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.1369, allocations: 0.6497 MB / 0.4952 GB, free: 8.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.1373, allocations: 92 kB / 0.4953 GB, free: 8.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.1384, allocations: 339.8 kB / 0.4956 GB, free: 8.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.1387, allocations: 239 kB / 0.4958 GB, free: 8.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008841/0.1396, allocations: 0.5674 MB / 0.4964 GB, free: 7.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.1418, allocations: 1.327 MB / 0.4977 GB, free: 6.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1418, allocations: 3.938 kB / 0.4977 GB, free: 6.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1418, allocations: 0 / 0.4977 GB, free: 6.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.068e-05/0.1419, allocations: 0 / 0.4977 GB, free: 6.133 MB / 366.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.01288/0.1547, allocations: 2.902 MB / 0.5005 GB, free: 3.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1548, allocations: 11.89 kB / 0.5005 GB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.1552, allocations: 132.2 kB / 0.5006 GB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1563, allocations: 0.5564 MB / 0.5012 GB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.1564, allocations: 138.3 kB / 0.5013 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.1566, allocations: 92.38 kB / 0.5014 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.159, allocations: 1.311 MB / 0.5027 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.159, allocations: 0 / 0.5027 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.1592, allocations: 32 kB / 0.5027 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.1592, allocations: 20 kB / 0.5027 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2455/0.4047, allocations: 1.263 MB / 0.504 GB, free: 20.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007036/0.4117, allocations: 4.997 MB / 0.5089 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.4142, allocations: 1.631 MB / 0.5104 GB, free: 17.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.4155, allocations: 0.8338 MB / 0.5113 GB, free: 17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.4156, allocations: 35.84 kB / 0.5113 GB, free: 17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.4157, allocations: 53.66 kB / 0.5113 GB, free: 16.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 4.288e-06/0.4157, allocations: 0 / 0.5113 GB, free: 16.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.0347/0.4504, allocations: 7.823 MB / 0.519 GB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.4504, allocations: 144.4 kB / 0.5191 GB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.4512, allocations: 0.5646 MB / 0.5197 GB, free: 14.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.4514, allocations: 57.7 kB / 0.5197 GB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4516, allocations: 305.6 kB / 0.52 GB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.4519, allocations: 0.513 MB / 0.5205 GB, free: 13.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/0.4524, allocations: 278.5 kB / 0.5208 GB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.4524, allocations: 338.4 kB / 0.5211 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.4537, allocations: 0.8521 MB / 0.5219 GB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.4551, allocations: 0.9733 MB / 0.5229 GB, free: 12.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.4579, allocations: 1.898 MB / 0.5247 GB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4579, allocations: 0 / 0.5247 GB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009067/0.467, allocations: 3.598 MB / 0.5283 GB, free: 8.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.467, allocations: 4.938 kB / 0.5283 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.4671, allocations: 0 / 0.5283 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009651/0.4767, allocations: 2.345 MB / 0.5306 GB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/0.4776, allocations: 214.2 kB / 0.5308 GB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/0.4972, allocations: 10.74 MB / 0.5412 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4987, allocations: 154.9 kB / 0.5414 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.4988, allocations: 51.97 kB / 0.5414 GB, free: 13.77 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.0006507/0.4995, allocations: 253.7 kB / 0.5417 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.4998, allocations: 99.39 kB / 0.5418 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.5103, allocations: 3.562 MB / 0.5453 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.5103, allocations: 19.94 kB / 0.5453 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5104, allocations: 0 / 0.5453 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-05/0.5104, allocations: 11.97 kB / 0.5453 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.5239, allocations: 5.047 MB / 0.5502 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.5239, allocations: 0 / 0.5502 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.5245, allocations: 167.7 kB / 0.5504 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/0.5351, allocations: 2.224 MB / 0.5526 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/0.5354, allocations: 32 kB / 0.5526 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/0.5598, allocations: 10.59 MB / 0.5629 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5598, allocations: 4 kB / 0.5629 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.5711, allocations: 3.478 MB / 0.5663 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.5715, allocations: 130.8 kB / 0.5665 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/0.5719, allocations: 24 kB / 0.5665 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.5732, allocations: 74.8 kB / 0.5665 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007886/0.574, allocations: 134.4 kB / 0.5667 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/0.5743, allocations: 55.98 kB / 0.5667 GB, free: 3.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007246/0.575, allocations: 375.1 kB / 0.5671 GB, free: 3.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.575, allocations: 0 / 0.5671 GB, free: 3.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002043/0.577, allocations: 0.5232 MB / 0.5676 GB, free: 2.805 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.0004597/0.5775, allocations: 170.5 kB / 0.5678 GB, free: 2.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.5851, allocations: 2.733 MB / 0.5704 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5851, allocations: 4 kB / 0.5704 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005596/0.5907, allocations: 1.744 MB / 0.5721 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5922, allocations: 126.8 kB / 0.5723 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.5973, allocations: 2.085 MB / 0.5743 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009875/0.5983, allocations: 1.054 MB / 0.5753 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000604/0.5989, allocations: 131.2 kB / 0.5754 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.5992, allocations: 87.39 kB / 0.5755 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5992, allocations: 0 / 0.5755 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.07122/0.6704, allocations: 37.23 MB / 0.6119 GB, free: 5.512 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.194330175407231] Failed to read output from testmodel.py, exit status != 0: 0.6816648077219725 0.701031361 0.55571051 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa64da757b0>