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.001282/0.001282, allocations: 71.92 kB / 19.97 MB, free: 1.73 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.001486/0.001486, allocations: 173.5 kB / 23.26 MB, free: 4.859 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.478/1.478, allocations: 177.1 MB / 203.6 MB, free: 9.152 MB / 190.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.03839/0.03839, allocations: 4.479 MB / 264.4 MB, free: 12.19 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 1.302e-06/1.302e-06, allocations: 0 / 390.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.448e-05, allocations: 2.281 kB / 390.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.007026/0.00705, allocations: 5.543 MB / 395.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.01015, allocations: 1.424 MB / 397.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008578/0.01101, allocations: 20 kB / 397.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009464/0.01195, allocations: 297.8 kB / 397.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.01429, allocations: 0.5468 MB / 398 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.01739, allocations: 1.32 MB / 399.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.01954, allocations: 1.17 MB / 400.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.02013, allocations: 265.3 kB / 400.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.02138, allocations: 0.6742 MB / 401.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.02246, allocations: 490.6 kB / 401.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.02278, allocations: 96 kB / 401.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.02381, allocations: 327.5 kB / 402.3 MB, free: 412 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.02417, allocations: 247 kB / 402.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007079/0.02488, allocations: 382.9 kB / 402.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.02674, allocations: 1.343 MB / 404.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.02675, allocations: 4 kB / 404.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.02675, allocations: 0 / 404.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.02676, allocations: 0 / 404.2 MB, free: 14.43 MB / 334.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.01208/0.03884, allocations: 2.875 MB / 407.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.03888, allocations: 8.031 kB / 407.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.03915, allocations: 136.2 kB / 407.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009533/0.0401, allocations: 0.544 MB / 407.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.04023, allocations: 130.3 kB / 407.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.04039, allocations: 96.38 kB / 408 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.04285, allocations: 1.717 MB / 409.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.04287, allocations: 192 / 409.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.04299, allocations: 36.12 kB / 409.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.04301, allocations: 20 kB / 409.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.04512, allocations: 1.257 MB / 411 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.05088, allocations: 2.851 MB / 413.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.05359, allocations: 1.63 MB / 415.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.0551, allocations: 0.8355 MB / 416.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.05524, allocations: 25.3 kB / 416.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/0.0553, allocations: 51.88 kB / 416.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=148): time 4.308e-06/0.0553, allocations: 0 / 416.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.03368/0.08898, allocations: 7.532 MB / 424 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.08913, allocations: 145.8 kB / 424.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.08994, allocations: 0.5419 MB / 424.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.09017, allocations: 57.7 kB / 424.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.09044, allocations: 294.8 kB / 425 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/0.09102, allocations: 0.5072 MB / 425.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005179/0.09153, allocations: 271.6 kB / 425.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.09172, allocations: 338 kB / 426.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.0932, allocations: 0.8552 MB / 427 MB, free: 7.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.09494, allocations: 1.053 MB / 428 MB, free: 6.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.09847, allocations: 1.9 MB / 429.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.09847, allocations: 0 / 429.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01084/0.1093, allocations: 3.582 MB / 433.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1093, allocations: 7.938 kB / 433.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1093, allocations: 4 kB / 433.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/0.1198, allocations: 2.287 MB / 435.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.1208, allocations: 219.7 kB / 436 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/0.1429, allocations: 10.36 MB / 446.4 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.1441, allocations: 143.1 kB / 446.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.1442, allocations: 55.97 kB / 446.6 MB, free: 3.645 MB / 366.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.0005098/0.1447, allocations: 257.5 kB / 446.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.145, allocations: 99.39 kB / 446.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2344/0.3793, allocations: 3.554 MB / 450.5 MB, free: 64.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.3794, allocations: 16.47 kB / 450.5 MB, free: 64.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.3794, allocations: 1.219 kB / 450.5 MB, free: 64.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-05/0.3794, allocations: 11.14 kB / 450.5 MB, free: 64.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.3963, allocations: 4.628 MB / 455.1 MB, free: 64.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.3963, allocations: 0 / 455.1 MB, free: 64.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009473/0.3973, allocations: 169.2 kB / 455.3 MB, free: 64.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01495/0.4122, allocations: 2.212 MB / 457.5 MB, free: 63.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/0.4125, allocations: 35.75 kB / 457.5 MB, free: 63.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02978/0.4423, allocations: 10.23 MB / 467.7 MB, free: 57.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4423, allocations: 0 / 467.7 MB, free: 57.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.4561, allocations: 3.488 MB / 471.2 MB, free: 56.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/0.4568, allocations: 120.4 kB / 471.4 MB, free: 56.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.4572, allocations: 31.16 kB / 471.4 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.4587, allocations: 75.06 kB / 471.5 MB, free: 56.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006758/0.4593, allocations: 130.5 kB / 471.6 MB, free: 56.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.4595, allocations: 47.83 kB / 471.6 MB, free: 56.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.4602, allocations: 364.5 kB / 472 MB, free: 56.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4602, allocations: 4 kB / 472 MB, free: 56.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002082/0.4623, allocations: 0.5169 MB / 472.5 MB, free: 56.15 MB / 366.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.0003849/0.4627, allocations: 145.6 kB / 472.7 MB, free: 56.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008705/0.4714, allocations: 2.739 MB / 475.4 MB, free: 54.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.4714, allocations: 0 / 475.4 MB, free: 54.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006445/0.4778, allocations: 1.748 MB / 477.1 MB, free: 52.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.479, allocations: 113.5 kB / 477.2 MB, free: 52.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005153/0.4842, allocations: 2.168 MB / 479.4 MB, free: 50.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.4846, allocations: 461.9 kB / 479.9 MB, free: 49.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006027/0.4852, allocations: 138.6 kB / 480 MB, free: 49.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.4855, allocations: 84.47 kB / 480.1 MB, free: 49.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4855, allocations: 3.938 kB / 480.1 MB, free: 49.73 MB / 366.1 MB Notification: Performance of Templates: time 0.04808/0.5336, allocations: 32.36 MB / 0.5004 GB, free: 17.59 MB / 366.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: 5.733973938971758] Failed to read output from testmodel.py, exit status != 0: 0.5436420142650604 0.5547248450000001 0.525460967 Calling exit ...