Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.001312/0.001312, allocations: 73.09 kB / 19.97 MB, free: 1.734 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.001864/0.001864, allocations: 172.7 kB / 23.26 MB, free: 4.852 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.507/1.507, allocations: 177.1 MB / 203.6 MB, free: 9.172 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.03759/0.03759, allocations: 4.476 MB / 264.4 MB, free: 12.2 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.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 390.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.64e-05, allocations: 2.281 kB / 390.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002874/0.0029, allocations: 1.634 MB / 391.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.004149, allocations: 0.604 MB / 392.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.004229, allocations: 3.938 kB / 392.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.004367, allocations: 23.91 kB / 392.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.004545, allocations: 51.62 kB / 392.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.004977, allocations: 111.7 kB / 392.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.005257, allocations: 187.5 kB / 392.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.005351, allocations: 13.16 kB / 392.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.005533, allocations: 91.86 kB / 392.8 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.00571, allocations: 75.78 kB / 392.9 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.005751, allocations: 16 kB / 392.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.005916, allocations: 87.91 kB / 393 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.005985, allocations: 19.92 kB / 393 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/0.00608, allocations: 55.78 kB / 393 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.006446, allocations: 219.5 kB / 393.3 MB, free: 9.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006448, allocations: 4 kB / 393.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006449, allocations: 3.938 kB / 393.3 MB, free: 9.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.006455, allocations: 0 / 393.3 MB, free: 9.461 MB / 318.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.0007765/0.007231, allocations: 436.9 kB / 393.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.007267, allocations: 12.03 kB / 393.7 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.007356, allocations: 16.84 kB / 393.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.007691, allocations: 177.5 kB / 393.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.00771, allocations: 4.375 kB / 393.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.007733, allocations: 4.375 kB / 393.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.008185, allocations: 256.9 kB / 394.2 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.008195, allocations: 192 / 394.2 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.008219, allocations: 7.938 kB / 394.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.008223, allocations: 0 / 394.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.008492, allocations: 135.4 kB / 394.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.009093, allocations: 308.4 kB / 394.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.009381, allocations: 141.9 kB / 394.7 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.009636, allocations: 140.2 kB / 394.9 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.009646, allocations: 3.938 kB / 394.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.0102, allocations: 449.4 kB / 395.3 MB, free: 7.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.0102, allocations: 0 / 395.3 MB, free: 7.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001062/0.01127, allocations: 0.519 MB / 395.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.01141, allocations: 225.6 kB / 396.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.01163, allocations: 194.3 kB / 396.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.01166, allocations: 33.64 kB / 396.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.01174, allocations: 111.9 kB / 396.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.0118, allocations: 43.69 kB / 396.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.01187, allocations: 37.7 kB / 396.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01202, allocations: 326.8 kB / 396.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.01218, allocations: 115.4 kB / 396.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01237, allocations: 173.7 kB / 397.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.01299, allocations: 462.5 kB / 397.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.013, allocations: 0 / 397.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004814/0.01348, allocations: 362.9 kB / 397.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.01354, allocations: 71.39 kB / 397.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.01354, allocations: 0 / 397.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01356, allocations: 0 / 397.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.01364, allocations: 11.98 kB / 398 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01364, allocations: 0 / 398 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.01394, allocations: 51.94 kB / 398 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.01396, allocations: 11.98 kB / 398 MB, free: 4.215 MB / 318.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.0002648/0.01423, allocations: 217 kB / 398.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.01428, allocations: 27.78 kB / 398.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.01431, allocations: 17.75 kB / 398.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01431, allocations: 4 kB / 398.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.01432, allocations: 3.984 kB / 398.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01432, allocations: 4 kB / 398.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.01452, allocations: 165.2 kB / 398.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01452, allocations: 3.938 kB / 398.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.01454, allocations: 7.984 kB / 398.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.01455, allocations: 3.938 kB / 398.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.01458, allocations: 12 kB / 398.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.01458, allocations: 0 / 398.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01458, allocations: 0 / 398.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.01545, allocations: 471.1 kB / 398.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.01557, allocations: 51.73 kB / 399 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.01564, allocations: 12 kB / 399 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.01593, allocations: 47.95 kB / 399 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.01602, allocations: 19.97 kB / 399.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.01606, allocations: 11.98 kB / 399.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.01621, allocations: 152.2 kB / 399.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01621, allocations: 0 / 399.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.01652, allocations: 60 kB / 399.3 MB, free: 2.863 MB / 318.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.00025/0.01677, allocations: 155.5 kB / 399.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.01743, allocations: 433.5 kB / 399.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01743, allocations: 0 / 399.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.01785, allocations: 290.1 kB / 400.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01811, allocations: 23.98 kB / 400.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.01887, allocations: 385.4 kB / 400.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.01897, allocations: 105.3 kB / 400.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.532e-05/0.01902, allocations: 16.61 kB / 400.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.01906, allocations: 16.5 kB / 400.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of SimCode: time 8.22e-07/0.01906, allocations: 0 / 400.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of Templates: time 0.007901/0.02696, allocations: 3.428 MB / 404.1 MB, free: 13.92 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.443676073104143] Failed to read output from testmodel.py, exit status != 0: 0.03619580343365669 0.051684953000000006 0.042034602000000004 Calling exit ...