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.001301/0.001301, allocations: 75.75 kB / 20.55 MB, free: 1.082 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.001656/0.001656, allocations: 159.4 kB / 23.8 MB, free: 4.168 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.426/1.426, allocations: 177.2 MB / 204.2 MB, free: 8.938 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.03456/0.03456, allocations: 4.483 MB / 265 MB, free: 12.23 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.001765/0.001765, allocations: 51.92 kB / 390.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.1002, allocations: 55 MB / 445.6 MB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003097/0.1033, allocations: 1.629 MB / 447.2 MB, free: 5.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1046, allocations: 0.608 MB / 447.8 MB, free: 4.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.1047, allocations: 3.938 kB / 447.8 MB, free: 4.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1049, allocations: 119.8 kB / 447.9 MB, free: 4.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1052, allocations: 151.5 kB / 448.1 MB, free: 4.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.1056, allocations: 107.8 kB / 448.2 MB, free: 4.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1059, allocations: 223.5 kB / 448.4 MB, free: 4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.106, allocations: 9.297 kB / 448.4 MB, free: 3.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.1062, allocations: 111.7 kB / 448.5 MB, free: 3.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.1065, allocations: 211.5 kB / 448.7 MB, free: 3.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1066, allocations: 12 kB / 448.7 MB, free: 3.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.1068, allocations: 87.86 kB / 448.8 MB, free: 3.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1069, allocations: 107.7 kB / 448.9 MB, free: 3.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.107, allocations: 99.27 kB / 449 MB, free: 3.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1074, allocations: 334.6 kB / 449.4 MB, free: 3.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1075, allocations: 0 / 449.4 MB, free: 3.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.1075, allocations: 3.984 kB / 449.4 MB, free: 3.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1075, allocations: 0 / 449.4 MB, free: 3.039 MB / 414.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.001027/0.1085, allocations: 0.6398 MB / 450 MB, free: 2.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1085, allocations: 16.03 kB / 450 MB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1086, allocations: 40.7 kB / 450.1 MB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.1092, allocations: 328.5 kB / 450.4 MB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1093, allocations: 4.375 kB / 450.4 MB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1093, allocations: 4.375 kB / 450.4 MB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.1098, allocations: 300.3 kB / 450.7 MB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1098, allocations: 0 / 450.7 MB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1098, allocations: 4 kB / 450.7 MB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1098, allocations: 0 / 450.7 MB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.1101, allocations: 175.3 kB / 450.9 MB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.1109, allocations: 428.2 kB / 451.3 MB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.1112, allocations: 185.9 kB / 451.5 MB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.1115, allocations: 180.2 kB / 451.6 MB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.1115, allocations: 0 / 451.6 MB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006082/0.1121, allocations: 497.3 kB / 452.1 MB, free: 40 kB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.1121, allocations: 3.938 kB / 452.1 MB, free: 36 kB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001246/0.1134, allocations: 0.7096 MB / 452.8 MB, free: 15.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.1135, allocations: 225.6 kB / 453 MB, free: 15.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.1142, allocations: 0.5604 MB / 453.6 MB, free: 14.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1142, allocations: 29.7 kB / 453.6 MB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1144, allocations: 196.1 kB / 453.8 MB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.1145, allocations: 43.78 kB / 453.9 MB, free: 14.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.1145, allocations: 37.7 kB / 453.9 MB, free: 14.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1147, allocations: 366.7 kB / 454.3 MB, free: 13.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1149, allocations: 155.4 kB / 454.4 MB, free: 13.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.1151, allocations: 210.8 kB / 454.6 MB, free: 13.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/0.1159, allocations: 0.6298 MB / 455.3 MB, free: 12.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1159, allocations: 7.969 kB / 455.3 MB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006876/0.1166, allocations: 0.4942 MB / 455.8 MB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.1166, allocations: 67.39 kB / 455.8 MB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1166, allocations: 4 kB / 455.8 MB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1166, allocations: 4 kB / 455.8 MB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.1167, allocations: 11.98 kB / 455.8 MB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1167, allocations: 8 kB / 455.8 MB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.117, allocations: 51.84 kB / 455.9 MB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1171, allocations: 8 kB / 455.9 MB, free: 12 MB / 430.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.0003796/0.1174, allocations: 288.3 kB / 456.2 MB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.1175, allocations: 47.72 kB / 456.2 MB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/0.1176, allocations: 51.84 kB / 456.3 MB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1176, allocations: 0 / 456.3 MB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1176, allocations: 4 kB / 456.3 MB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1176, allocations: 0 / 456.3 MB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.1179, allocations: 257.1 kB / 456.5 MB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1179, allocations: 0 / 456.5 MB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.1179, allocations: 0 / 456.5 MB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1179, allocations: 4 kB / 456.5 MB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1179, allocations: 7.984 kB / 456.6 MB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1179, allocations: 3.938 kB / 456.6 MB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1179, allocations: 0 / 456.6 MB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/0.1188, allocations: 0.6126 MB / 457.2 MB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.119, allocations: 83.59 kB / 457.3 MB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.1191, allocations: 20 kB / 457.3 MB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.1194, allocations: 39.95 kB / 457.3 MB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.1195, allocations: 23.97 kB / 457.3 MB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.1195, allocations: 15.98 kB / 457.3 MB, free: 10.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000563/0.1201, allocations: 407.1 kB / 457.7 MB, free: 10.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1201, allocations: 0 / 457.7 MB, free: 10.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.1204, allocations: 79.94 kB / 457.8 MB, free: 9.984 MB / 430.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.0002233/0.1206, allocations: 139.5 kB / 458 MB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.1213, allocations: 0.5208 MB / 458.5 MB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1213, allocations: 0 / 458.5 MB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.1218, allocations: 334.1 kB / 458.8 MB, free: 8.906 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.122, allocations: 33.91 kB / 458.8 MB, free: 8.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1233, allocations: 0.7916 MB / 459.6 MB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1235, allocations: 200.4 kB / 459.8 MB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1236, allocations: 41.94 kB / 459.9 MB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.1237, allocations: 24.5 kB / 459.9 MB, free: 7.758 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1237, allocations: 0 / 459.9 MB, free: 7.758 MB / 430.1 MB Notification: Performance of Templates: time 0.009876/0.1336, allocations: 4.447 MB / 464.3 MB, free: 3.348 MB / 430.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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.363273411989212] Failed to read output from testmodel.py, exit status != 0: 0.14256024407222867 0.157682593 0.047146561000000003 Calling exit ...