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.001323/0.001323, allocations: 105 kB / 20.49 MB, free: 1.457 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.001544/0.001544, allocations: 218.1 kB / 23.8 MB, free: 4.652 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.438/1.438, allocations: 230.6 MB / 257.6 MB, free: 8.055 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.03603/0.03603, allocations: 6.133 MB / 320.1 MB, free: 12.98 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.001548/0.001548, allocations: 47.92 kB / 445.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09348, allocations: 55.02 MB / 0.489 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002883/0.09636, allocations: 1.674 MB / 0.4907 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.09754, allocations: 0.6586 MB / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.0976, allocations: 0 / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.09781, allocations: 119.7 kB / 0.4914 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.09809, allocations: 143.6 kB / 0.4916 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.09845, allocations: 107.8 kB / 0.4917 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.09875, allocations: 227.5 kB / 0.4919 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/0.09882, allocations: 9.297 kB / 0.4919 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.09903, allocations: 123.6 kB / 0.492 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.09931, allocations: 215.5 kB / 0.4922 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.09935, allocations: 15.94 kB / 0.4922 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.0995, allocations: 83.92 kB / 0.4923 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.09961, allocations: 103.7 kB / 0.4924 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.09976, allocations: 135 kB / 0.4925 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.1002, allocations: 334.6 kB / 0.4929 GB, free: 9.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1002, allocations: 4 kB / 0.4929 GB, free: 9.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1002, allocations: 0 / 0.4929 GB, free: 9.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1002, allocations: 0 / 0.4929 GB, free: 9.883 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.0009865/0.1012, allocations: 0.6436 MB / 0.4935 GB, free: 9.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1012, allocations: 8.031 kB / 0.4935 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.1013, allocations: 48.66 kB / 0.4935 GB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.1019, allocations: 316.6 kB / 0.4938 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1019, allocations: 12.31 kB / 0.4939 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1019, allocations: 12.36 kB / 0.4939 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.1023, allocations: 173.5 kB / 0.494 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1023, allocations: 0 / 0.494 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.1023, allocations: 8 kB / 0.494 GB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1023, allocations: 0 / 0.494 GB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.1026, allocations: 107.9 kB / 0.4941 GB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.1034, allocations: 483.6 kB / 0.4946 GB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1037, allocations: 122.5 kB / 0.4947 GB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.1039, allocations: 112.8 kB / 0.4948 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1039, allocations: 4 kB / 0.4948 GB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005185/0.1044, allocations: 366.6 kB / 0.4952 GB, free: 7.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.1044, allocations: 0 / 0.4952 GB, free: 7.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001054/0.1055, allocations: 0.5747 MB / 0.4957 GB, free: 6.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.1056, allocations: 221.6 kB / 0.4959 GB, free: 6.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.1063, allocations: 0.5643 MB / 0.4965 GB, free: 5.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1063, allocations: 25.7 kB / 0.4965 GB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1065, allocations: 196.1 kB / 0.4967 GB, free: 5.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.1065, allocations: 47.75 kB / 0.4968 GB, free: 5.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-05/0.1066, allocations: 37.7 kB / 0.4968 GB, free: 5.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1068, allocations: 362.7 kB / 0.4971 GB, free: 5.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.107, allocations: 99.95 kB / 0.4972 GB, free: 5.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1071, allocations: 117.7 kB / 0.4973 GB, free: 5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/0.1079, allocations: 0.6072 MB / 0.4979 GB, free: 4.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1079, allocations: 0 / 0.4979 GB, free: 4.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005162/0.1084, allocations: 432.5 kB / 0.4984 GB, free: 3.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.1084, allocations: 67.39 kB / 0.4984 GB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.1085, allocations: 3.938 kB / 0.4984 GB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1085, allocations: 7.984 kB / 0.4984 GB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.1085, allocations: 16.03 kB / 0.4984 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.1085, allocations: 0 / 0.4984 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.1088, allocations: 43.91 kB / 0.4985 GB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1089, allocations: 8 kB / 0.4985 GB, free: 3.746 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.0003237/0.1092, allocations: 302.6 kB / 0.4988 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1093, allocations: 47.72 kB / 0.4988 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.1094, allocations: 47.84 kB / 0.4989 GB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1094, allocations: 0 / 0.4989 GB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1094, allocations: 3.938 kB / 0.4989 GB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1094, allocations: 0 / 0.4989 GB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.1097, allocations: 316.4 kB / 0.4992 GB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1097, allocations: 0 / 0.4992 GB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.1097, allocations: 8 kB / 0.4992 GB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1097, allocations: 4.031 kB / 0.4992 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.1097, allocations: 15.98 kB / 0.4992 GB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1097, allocations: 0 / 0.4992 GB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1097, allocations: 0 / 0.4992 GB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.1106, allocations: 0.5376 MB / 0.4997 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.1108, allocations: 71.67 kB / 0.4998 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.1108, allocations: 16 kB / 0.4998 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.1112, allocations: 51.94 kB / 0.4999 GB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.1112, allocations: 27.91 kB / 0.4999 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.1113, allocations: 8 kB / 0.4999 GB, free: 2.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004995/0.1118, allocations: 415 kB / 0.5003 GB, free: 1.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1118, allocations: 0 / 0.5003 GB, free: 1.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.1121, allocations: 75.94 kB / 0.5004 GB, free: 1.742 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.0001937/0.1123, allocations: 143.5 kB / 0.5005 GB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006004/0.1129, allocations: 382.8 kB / 0.5009 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1129, allocations: 0 / 0.5009 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.1133, allocations: 258.7 kB / 0.5011 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.1135, allocations: 33.91 kB / 0.5011 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1148, allocations: 0.7704 MB / 0.5019 GB, free: 84 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.1152, allocations: 0.8111 MB / 0.5027 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.1153, allocations: 23.44 kB / 0.5027 GB, free: 15.22 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1153, allocations: 0 / 0.5027 GB, free: 15.22 MB / 382.1 MB Notification: Performance of Templates: time 0.007452/0.1227, allocations: 4.279 MB / 0.5069 GB, free: 10.96 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: 7.1224550870247185] Failed to read output from testmodel.py, exit status != 0: 0.13054567319341004 0.291703461 0.18856086300000002 Calling exit ...