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.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.001402/0.001402, allocations: 115.3 kB / 19.74 MB, free: 2.137 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.001603/0.001603, allocations: 187.2 kB / 23.02 MB, free: 4.953 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.467/1.467, allocations: 225.6 MB / 251.8 MB, free: 13.03 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.06592/0.06592, allocations: 8.243 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.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.002042/0.002042, allocations: 63.89 kB / 439.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 54.4 MB / 494.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002843/0.1089, allocations: 1.647 MB / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1101, allocations: 0.6274 MB / 496.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.1101, allocations: 3.938 kB / 496.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1103, allocations: 123.7 kB / 496.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1106, allocations: 147.6 kB / 496.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.111, allocations: 111.7 kB / 496.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.1113, allocations: 227.5 kB / 497 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.1113, allocations: 5.312 kB / 497 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1115, allocations: 119.7 kB / 497.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1118, allocations: 215.5 kB / 497.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.1118, allocations: 12 kB / 497.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.112, allocations: 83.92 kB / 497.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1121, allocations: 107.6 kB / 497.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1123, allocations: 135 kB / 497.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.1127, allocations: 338.5 kB / 498 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1127, allocations: 0 / 498 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1127, allocations: 0 / 498 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.1127, allocations: 0 / 498 MB, free: 1.84 MB / 350.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.0009712/0.1137, allocations: 0.6398 MB / 498.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1137, allocations: 11.89 kB / 498.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.1138, allocations: 48.64 kB / 498.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.1143, allocations: 324.6 kB / 499 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1144, allocations: 8.375 kB / 499 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1144, allocations: 4.375 kB / 499 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.1148, allocations: 177.5 kB / 499.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1148, allocations: 0 / 499.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1148, allocations: 12 kB / 499.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1148, allocations: 0 / 499.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.1151, allocations: 107.9 kB / 499.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.1159, allocations: 487.6 kB / 499.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1162, allocations: 122.5 kB / 499.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.1164, allocations: 116.8 kB / 500 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1164, allocations: 0 / 500 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.1169, allocations: 359.7 kB / 0.4886 GB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.1169, allocations: 4 kB / 0.4886 GB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001117/0.1181, allocations: 0.578 MB / 0.4892 GB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.1182, allocations: 221.6 kB / 0.4894 GB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006686/0.1189, allocations: 0.5604 MB / 0.4899 GB, free: 13.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1189, allocations: 29.7 kB / 0.49 GB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1191, allocations: 196.1 kB / 0.4902 GB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1191, allocations: 43.7 kB / 0.4902 GB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.1192, allocations: 37.7 kB / 0.4902 GB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1194, allocations: 366.7 kB / 0.4906 GB, free: 13.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1195, allocations: 91.97 kB / 0.4907 GB, free: 13.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1197, allocations: 117.7 kB / 0.4908 GB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.1204, allocations: 0.6142 MB / 0.4914 GB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1204, allocations: 0 / 0.4914 GB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005275/0.1209, allocations: 428.7 kB / 0.4918 GB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.121, allocations: 68.8 kB / 0.4919 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.121, allocations: 80 / 0.4919 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.121, allocations: 3.938 kB / 0.4919 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.1211, allocations: 12 kB / 0.4919 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1211, allocations: 3.984 kB / 0.4919 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.1214, allocations: 51.88 kB / 0.4919 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1214, allocations: 8 kB / 0.4919 GB, free: 11.7 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.0003268/0.1217, allocations: 287.9 kB / 0.4922 GB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.1218, allocations: 51.77 kB / 0.4923 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.1219, allocations: 47.8 kB / 0.4923 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1219, allocations: 0 / 0.4923 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1219, allocations: 0 / 0.4923 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1219, allocations: 4.031 kB / 0.4923 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.1222, allocations: 320.4 kB / 0.4926 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1222, allocations: 0 / 0.4926 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.1223, allocations: 4 kB / 0.4926 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1223, allocations: 0 / 0.4926 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.1223, allocations: 15.98 kB / 0.4926 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1223, allocations: 0 / 0.4926 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1223, allocations: 4 kB / 0.4926 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.1232, allocations: 0.535 MB / 0.4932 GB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.1234, allocations: 75.7 kB / 0.4932 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.1234, allocations: 16 kB / 0.4933 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.1237, allocations: 51.89 kB / 0.4933 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.1238, allocations: 23.97 kB / 0.4933 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.1239, allocations: 7.984 kB / 0.4933 GB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004877/0.1243, allocations: 419 kB / 0.4937 GB, free: 9.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1243, allocations: 3.938 kB / 0.4937 GB, free: 9.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1247, allocations: 71.94 kB / 0.4938 GB, free: 9.699 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.0002172/0.1249, allocations: 147.7 kB / 0.4939 GB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006199/0.1255, allocations: 386.5 kB / 0.4943 GB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1255, allocations: 4 kB / 0.4943 GB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.1259, allocations: 266.7 kB / 0.4946 GB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1262, allocations: 29.97 kB / 0.4946 GB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1273, allocations: 0.7263 MB / 0.4953 GB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.1278, allocations: 0.8033 MB / 0.4961 GB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.104e-05/0.1279, allocations: 45.92 kB / 0.4961 GB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.128, allocations: 23.44 kB / 0.4962 GB, free: 7.172 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.128, allocations: 0 / 0.4962 GB, free: 7.172 MB / 366.1 MB Notification: Performance of Templates: time 0.009291/0.1372, allocations: 4.293 MB / 0.5004 GB, free: 2.902 MB / 366.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: 4.810533325187862] Failed to read output from testmodel.py, exit status != 0: 0.14510891400277615 0.160745877 0.044801664000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f812e0997b0>