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.0008071/0.0008071, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 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.001415/0.001415, allocations: 169.9 kB / 24.01 MB, free: 0.5586 MB / 18.57 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 0.8672/0.8672, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.02472/0.02472, allocations: 4.466 MB / 265.2 MB, free: 8.742 MB / 250.7 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 2.394e-06/2.394e-06, allocations: 0 / 390.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.119e-05, allocations: 2.281 kB / 390.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002075/0.002106, allocations: 1.643 MB / 392.5 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.002988, allocations: 0.604 MB / 393.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.003057, allocations: 0 / 393.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003186, allocations: 23.86 kB / 393.1 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.003347, allocations: 47.69 kB / 393.2 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.003695, allocations: 119.2 kB / 393.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.003906, allocations: 187.5 kB / 393.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.003999, allocations: 9.172 kB / 393.5 MB, free: 4.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.004125, allocations: 99.78 kB / 393.6 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.00426, allocations: 75.78 kB / 393.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.004287, allocations: 16 kB / 393.7 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.004402, allocations: 83.92 kB / 393.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.00447, allocations: 23.91 kB / 393.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.004798, allocations: 51.84 kB / 393.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.005052, allocations: 223.5 kB / 394 MB, free: 3.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005054, allocations: 0 / 394 MB, free: 3.699 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005055, allocations: 3.938 kB / 394 MB, free: 3.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.005059, allocations: 0 / 394 MB, free: 3.695 MB / 314.7 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.0005426/0.005602, allocations: 432.9 kB / 394.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.005638, allocations: 8.031 kB / 394.5 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.00569, allocations: 24.84 kB / 394.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.005924, allocations: 177.5 kB / 394.7 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.005941, allocations: 4.375 kB / 394.7 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.005957, allocations: 8.375 kB / 394.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.006229, allocations: 249 kB / 394.9 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006238, allocations: 192 / 394.9 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.006253, allocations: 7.938 kB / 394.9 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.006257, allocations: 0 / 394.9 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.006405, allocations: 131.4 kB / 395 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.006807, allocations: 308.3 kB / 395.4 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.006959, allocations: 149.9 kB / 395.5 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.007082, allocations: 136.2 kB / 395.6 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.007093, allocations: 3.938 kB / 395.6 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000308/0.007401, allocations: 450.5 kB / 396.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.007403, allocations: 0 / 396.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005659/0.007969, allocations: 0.5259 MB / 396.6 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.008047, allocations: 217.6 kB / 396.8 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.008174, allocations: 202.3 kB / 397 MB, free: 380 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.008191, allocations: 33.64 kB / 397 MB, free: 340 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.008242, allocations: 107.9 kB / 397.1 MB, free: 228 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.008278, allocations: 43.69 kB / 397.2 MB, free: 184 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.008325, allocations: 37.7 kB / 397.2 MB, free: 140 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.008419, allocations: 326.8 kB / 397.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.008502, allocations: 119.4 kB / 397.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.008603, allocations: 169.1 kB / 397.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.008977, allocations: 465.5 kB / 398.3 MB, free: 14.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008979, allocations: 0 / 398.3 MB, free: 14.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002574/0.009236, allocations: 356.1 kB / 398.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.009276, allocations: 75.39 kB / 398.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009282, allocations: 0 / 398.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.009295, allocations: 4 kB / 398.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.375e-05/0.009348, allocations: 11.98 kB / 398.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009353, allocations: 0 / 398.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.009494, allocations: 54.86 kB / 398.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.009506, allocations: 8 kB / 398.8 MB, free: 14.45 MB / 330.7 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.0001696/0.009676, allocations: 216.3 kB / 399 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.009705, allocations: 23.84 kB / 399 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.009726, allocations: 21.75 kB / 399 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009728, allocations: 0 / 399 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.009732, allocations: 0 / 399 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.009736, allocations: 3.984 kB / 399 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.009844, allocations: 173.2 kB / 399.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.009845, allocations: 0 / 399.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.009859, allocations: 7.984 kB / 399.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.009862, allocations: 3.938 kB / 399.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.009878, allocations: 8 kB / 399.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.00988, allocations: 3.938 kB / 399.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.009881, allocations: 0 / 399.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.0103, allocations: 471.6 kB / 399.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.01037, allocations: 51.73 kB / 399.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.0104, allocations: 12 kB / 399.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.01052, allocations: 47.95 kB / 399.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.01059, allocations: 23.97 kB / 399.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.0106, allocations: 7.984 kB / 399.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.064e-05/0.01069, allocations: 156.2 kB / 400 MB, free: 13.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0107, allocations: 0 / 400 MB, free: 13.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.01088, allocations: 56 kB / 400 MB, free: 13.1 MB / 330.7 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.0001579/0.01104, allocations: 155.6 kB / 400.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.01141, allocations: 440.7 kB / 400.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01141, allocations: 0 / 400.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.01187, allocations: 290.1 kB / 400.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.01204, allocations: 22.95 kB / 400.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.01251, allocations: 411.1 kB / 401.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.01258, allocations: 109.3 kB / 401.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.01261, allocations: 20.5 kB / 401.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01261, allocations: 4 kB / 401.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Templates: time 0.002991/0.0156, allocations: 2.443 MB / 403.9 MB, free: 9.094 MB / 330.7 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.502067093737423] Failed to read output from testmodel.py, exit status != 0: 0.02144110854715109 0.18212444900000002 0.174978976 Calling exit ...