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.001305/0.001305, allocations: 72.62 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.00147/0.00147, allocations: 177 kB / 23.26 MB, free: 4.848 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.477/1.477, allocations: 177.1 MB / 203.6 MB, free: 9.148 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.03556/0.03556, allocations: 4.48 MB / 264.5 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.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 1.532e-06/1.532e-06, allocations: 0 / 390.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.406e-05, allocations: 6.219 kB / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.004131/0.004165, allocations: 1.63 MB / 391.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.005719, allocations: 0.6118 MB / 392.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.005792, allocations: 4 kB / 392.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.006087, allocations: 115.7 kB / 392.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.00644, allocations: 147.5 kB / 392.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.006926, allocations: 111.7 kB / 392.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.00733, allocations: 231.4 kB / 392.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.00744, allocations: 13.16 kB / 392.9 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.007707, allocations: 135.8 kB / 393.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.008113, allocations: 203.6 kB / 393.3 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.008168, allocations: 12 kB / 393.3 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.008389, allocations: 91.84 kB / 393.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.00855, allocations: 99.69 kB / 393.5 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.008709, allocations: 75.7 kB / 393.5 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.009296, allocations: 347 kB / 393.9 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.009301, allocations: 0 / 393.9 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009302, allocations: 4 kB / 393.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.00931, allocations: 0 / 393.9 MB, free: 8.832 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.001176/0.01049, allocations: 0.632 MB / 394.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.01052, allocations: 16.02 kB / 394.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.01062, allocations: 44.66 kB / 394.6 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.01116, allocations: 323.8 kB / 394.9 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.01118, allocations: 4.375 kB / 394.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.01122, allocations: 8.375 kB / 394.9 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.01169, allocations: 296.9 kB / 395.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.0117, allocations: 192 / 395.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.01173, allocations: 11.94 kB / 395.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.01174, allocations: 0 / 395.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.01205, allocations: 183.3 kB / 395.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.01278, allocations: 412.3 kB / 395.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.0131, allocations: 193.8 kB / 396 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.01346, allocations: 180.2 kB / 396.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.01348, allocations: 3.938 kB / 396.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007919/0.01427, allocations: 489.6 kB / 396.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.01428, allocations: 0 / 396.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.00178/0.01606, allocations: 0.718 MB / 397.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002059/0.01626, allocations: 221.6 kB / 397.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.01726, allocations: 0.5643 MB / 398.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.0173, allocations: 29.7 kB / 398.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.01757, allocations: 199.9 kB / 398.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.01765, allocations: 43.83 kB / 398.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01776, allocations: 41.7 kB / 398.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.01801, allocations: 354.8 kB / 398.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.01828, allocations: 163.4 kB / 398.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.01861, allocations: 210.6 kB / 399.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.01969, allocations: 0.6263 MB / 399.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01969, allocations: 4 kB / 399.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008624/0.02055, allocations: 0.496 MB / 400.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.053e-05/0.02065, allocations: 71.38 kB / 400.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.02065, allocations: 0 / 400.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.02067, allocations: 0 / 400.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.02077, allocations: 15.94 kB / 400.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.02077, allocations: 0 / 400.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.02117, allocations: 47.91 kB / 400.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.0212, allocations: 11.98 kB / 400.4 MB, free: 1.797 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.0004194/0.02162, allocations: 284.3 kB / 400.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.02172, allocations: 55.59 kB / 400.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.0218, allocations: 47.8 kB / 400.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.02181, allocations: 8 kB / 400.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.02182, allocations: 0 / 400.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.02182, allocations: 0 / 400.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.02221, allocations: 245.2 kB / 401 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.02221, allocations: 0 / 401 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.02224, allocations: 4 kB / 401.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.02224, allocations: 3.938 kB / 401.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.02229, allocations: 15.98 kB / 401.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.02229, allocations: 4 kB / 401.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02229, allocations: 0 / 401.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.0236, allocations: 0.6159 MB / 401.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.02386, allocations: 83.61 kB / 401.8 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.02395, allocations: 12 kB / 401.8 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.02438, allocations: 47.94 kB / 401.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.02451, allocations: 19.98 kB / 401.9 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.02456, allocations: 11.98 kB / 401.9 MB, free: 268 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007066/0.02527, allocations: 419 kB / 402.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02527, allocations: 0 / 402.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004614/0.02573, allocations: 83.88 kB / 402.4 MB, free: 15.77 MB / 334.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.0003116/0.02604, allocations: 143.5 kB / 402.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009716/0.02701, allocations: 0.5053 MB / 403 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.02702, allocations: 4 kB / 403 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.02762, allocations: 334.1 kB / 403.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.02805, allocations: 29.97 kB / 403.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.02974, allocations: 0.7936 MB / 404.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.03005, allocations: 204.4 kB / 404.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.03019, allocations: 41.92 kB / 404.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.03026, allocations: 20.5 kB / 404.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.03026, allocations: 0 / 404.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of Templates: time 0.0123/0.04256, allocations: 4.408 MB / 408.8 MB, free: 9.184 MB / 334.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.503450240939856] Failed to read output from testmodel.py, exit status != 0: 0.05330877751111984 0.066769275 0.054318251000000005 Calling exit ...