Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.001238/0.001238, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.001386/0.001386, allocations: 210.5 kB / 23.79 MB, free: 4.414 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.371/1.371, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.03537/0.03537, allocations: 6.147 MB / 320.1 MB, free: 12.74 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.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 51.92 kB / 445.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09848, allocations: 55.02 MB / 0.4889 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002691/0.1012, allocations: 1.624 MB / 0.4905 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1023, allocations: 0.608 MB / 0.4911 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.1023, allocations: 4 kB / 0.4911 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1025, allocations: 123.7 kB / 0.4912 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1028, allocations: 135.6 kB / 0.4914 GB, free: 10.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1031, allocations: 115.7 kB / 0.4915 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1034, allocations: 227.5 kB / 0.4917 GB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.1035, allocations: 21.16 kB / 0.4917 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1036, allocations: 111.8 kB / 0.4918 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1039, allocations: 215.4 kB / 0.492 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.104, allocations: 12 kB / 0.492 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1041, allocations: 79.94 kB / 0.4921 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1042, allocations: 103.7 kB / 0.4922 GB, free: 10.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1043, allocations: 107.2 kB / 0.4923 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.1047, allocations: 334.5 kB / 0.4926 GB, free: 9.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1048, allocations: 0 / 0.4926 GB, free: 9.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1048, allocations: 4 kB / 0.4926 GB, free: 9.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1048, allocations: 4 kB / 0.4926 GB, free: 9.66 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009227/0.1057, allocations: 0.632 MB / 0.4933 GB, free: 8.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1057, allocations: 12.03 kB / 0.4933 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.1058, allocations: 44.66 kB / 0.4933 GB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.1063, allocations: 324.6 kB / 0.4936 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1063, allocations: 4.375 kB / 0.4936 GB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.1063, allocations: 8.375 kB / 0.4936 GB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.1068, allocations: 299.2 kB / 0.4939 GB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1068, allocations: 4 kB / 0.4939 GB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1068, allocations: 4 kB / 0.4939 GB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1068, allocations: 3.938 kB / 0.4939 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.1071, allocations: 175.3 kB / 0.4941 GB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.1078, allocations: 420.3 kB / 0.4945 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1081, allocations: 189.9 kB / 0.4947 GB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1083, allocations: 180.2 kB / 0.4949 GB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.1083, allocations: 3.984 kB / 0.4949 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.1089, allocations: 494.5 kB / 0.4953 GB, free: 6.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.1089, allocations: 0 / 0.4953 GB, free: 6.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001086/0.11, allocations: 0.709 MB / 0.496 GB, free: 5.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.1101, allocations: 221.6 kB / 0.4962 GB, free: 5.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.1108, allocations: 0.5681 MB / 0.4968 GB, free: 5.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1108, allocations: 33.69 kB / 0.4968 GB, free: 5.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.111, allocations: 192.1 kB / 0.497 GB, free: 4.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.111, allocations: 39.83 kB / 0.497 GB, free: 4.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.1111, allocations: 37.7 kB / 0.4971 GB, free: 4.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1112, allocations: 366.7 kB / 0.4974 GB, free: 4.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.1114, allocations: 163.4 kB / 0.4976 GB, free: 4.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1116, allocations: 204.4 kB / 0.4978 GB, free: 3.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.1123, allocations: 0.6306 MB / 0.4984 GB, free: 3.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1123, allocations: 0 / 0.4984 GB, free: 3.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005531/0.1129, allocations: 0.5038 MB / 0.4989 GB, free: 2.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.113, allocations: 71.39 kB / 0.499 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.113, allocations: 3.938 kB / 0.499 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.113, allocations: 0 / 0.499 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.113, allocations: 15.98 kB / 0.499 GB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.113, allocations: 0 / 0.499 GB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.1133, allocations: 51.88 kB / 0.499 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1133, allocations: 8 kB / 0.499 GB, free: 2.617 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003101/0.1136, allocations: 288.1 kB / 0.4993 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.1137, allocations: 47.72 kB / 0.4994 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.1138, allocations: 43.86 kB / 0.4994 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1138, allocations: 0 / 0.4994 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1138, allocations: 7.984 kB / 0.4994 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1138, allocations: 0 / 0.4994 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.114, allocations: 249.1 kB / 0.4996 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.114, allocations: 0 / 0.4996 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.1141, allocations: 11.94 kB / 0.4997 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1141, allocations: 0 / 0.4997 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1141, allocations: 4 kB / 0.4997 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1141, allocations: 11.98 kB / 0.4997 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1141, allocations: 0 / 0.4997 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.115, allocations: 0.6147 MB / 0.5003 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.1151, allocations: 75.61 kB / 0.5003 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.1152, allocations: 19.98 kB / 0.5004 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.1155, allocations: 39.95 kB / 0.5004 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.1156, allocations: 23.97 kB / 0.5004 GB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.1156, allocations: 12 kB / 0.5004 GB, free: 1.094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004551/0.116, allocations: 415 kB / 0.5008 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.116, allocations: 0 / 0.5008 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1163, allocations: 79.94 kB / 0.5009 GB, free: 0.6172 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.1165, allocations: 143.6 kB / 0.501 GB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.1172, allocations: 0.5094 MB / 0.5015 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1172, allocations: 0 / 0.5015 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.1176, allocations: 334.1 kB / 0.5019 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1179, allocations: 40.5 kB / 0.5019 GB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1192, allocations: 0.8362 MB / 0.5027 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1194, allocations: 204.2 kB / 0.5029 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.1195, allocations: 23.42 kB / 0.5029 GB, free: 14.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1195, allocations: 0 / 0.5029 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Templates: time 0.007137/0.1266, allocations: 4.4 MB / 0.5072 GB, free: 10 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.592392371967435] Failed to read output from testmodel.py, exit status != 0: 0.13428290002048016 0.30400644400000004 0.196399035 Calling exit ...