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.0008179/0.0008179, allocations: 72.19 kB / 9.91 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001864, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006974/0.0006974, allocations: 153.2 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009968/0.001694, allocations: 471.6 kB / 11.69 MB, free: 2.473 MB / 13.93 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.051/1.051, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/1.173, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.03205/0.03205, allocations: 4.468 MB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005838/0.03789, allocations: 2.073 MB / 250.5 MB, free: 8.289 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.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.423e-06/1.423e-06, allocations: 0 / 251.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.938e-05, allocations: 6.109 kB / 251.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002163/0.002182, allocations: 1.73 MB / 253.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.006107, allocations: 0.6311 MB / 254.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.006169, allocations: 0 / 254.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.006335, allocations: 127.6 kB / 254.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.006524, allocations: 179.4 kB / 254.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.006821, allocations: 99.73 kB / 254.5 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.007075, allocations: 219.5 kB / 254.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.007139, allocations: 9.906 kB / 254.7 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.007333, allocations: 179.7 kB / 254.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.007534, allocations: 167.7 kB / 255.1 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.007561, allocations: 12 kB / 255.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.007717, allocations: 91.92 kB / 255.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.246e-05/0.00781, allocations: 95.7 kB / 255.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.828e-05/0.007888, allocations: 59.73 kB / 255.3 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.008174, allocations: 275.1 kB / 255.6 MB, free: 3.191 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.008189, allocations: 0 / 255.6 MB, free: 3.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00819, allocations: 0 / 255.6 MB, free: 3.191 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.008205, allocations: 0 / 255.6 MB, free: 3.191 MB / 250.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.00279/0.01099, allocations: 0.6459 MB / 256.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.01102, allocations: 11.97 kB / 256.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.01109, allocations: 36.91 kB / 256.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.01134, allocations: 243.9 kB / 256.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.01135, allocations: 4.375 kB / 256.5 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.01137, allocations: 12.31 kB / 256.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.0116, allocations: 232.5 kB / 256.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.01161, allocations: 192 / 256.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.01162, allocations: 7.938 kB / 256.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.01162, allocations: 0 / 256.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.407e-05/0.01171, allocations: 107.4 kB / 256.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.01201, allocations: 199 kB / 257.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.01212, allocations: 161.8 kB / 257.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.01219, allocations: 96.3 kB / 257.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.0122, allocations: 4 kB / 257.3 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.01247, allocations: 417.3 kB / 257.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.01247, allocations: 0 / 257.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003416/0.01281, allocations: 402.8 kB / 258.1 MB, free: 388 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.0129, allocations: 225.6 kB / 258.4 MB, free: 112 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.01756, allocations: 371.2 kB / 258.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.01758, allocations: 33.7 kB / 258.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.01765, allocations: 133.3 kB / 258.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.0177, allocations: 47.67 kB / 258.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.01776, allocations: 33.69 kB / 259 MB, free: 15.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.01787, allocations: 358.7 kB / 259.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.01794, allocations: 102 kB / 259.4 MB, free: 15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.01803, allocations: 138.8 kB / 259.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.01824, allocations: 305.9 kB / 259.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01824, allocations: 11.97 kB / 259.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002156/0.01846, allocations: 264.3 kB / 260.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.01851, allocations: 71.33 kB / 260.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01851, allocations: 0 / 260.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.01852, allocations: 0 / 260.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.01859, allocations: 19.98 kB / 260.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.01859, allocations: 0 / 260.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.01872, allocations: 31.92 kB / 260.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01874, allocations: 12 kB / 260.2 MB, free: 14.06 MB / 266.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.000176/0.01891, allocations: 203.1 kB / 260.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.01896, allocations: 51.94 kB / 260.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.01901, allocations: 35.84 kB / 260.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01901, allocations: 0 / 260.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01901, allocations: 0 / 260.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01901, allocations: 0 / 260.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.01916, allocations: 145.8 kB / 260.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01916, allocations: 4 kB / 260.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.01917, allocations: 8 kB / 260.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.01926, allocations: 63.56 kB / 260.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.01927, allocations: 0 / 260.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.01928, allocations: 11.94 kB / 260.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01928, allocations: 0 / 260.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01928, allocations: 0 / 260.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.01958, allocations: 381.2 kB / 261.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.01962, allocations: 12 kB / 261.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.01974, allocations: 35.91 kB / 261.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.0198, allocations: 19.97 kB / 261.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.01982, allocations: 15.98 kB / 261.2 MB, free: 13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.01997, allocations: 164.7 kB / 261.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01997, allocations: 0 / 261.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.02019, allocations: 71.98 kB / 261.4 MB, free: 12.77 MB / 266.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.0001457/0.02033, allocations: 120.3 kB / 261.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.02061, allocations: 382.3 kB / 261.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.02062, allocations: 4 kB / 261.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.02078, allocations: 271 kB / 262.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.02096, allocations: 69.88 kB / 262.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.02535, allocations: 0.6639 MB / 262.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.325e-05/0.02543, allocations: 112.2 kB / 263 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.02549, allocations: 25.88 kB / 263.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.02569, allocations: 123.3 kB / 263.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02569, allocations: 0 / 263.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.0116/0.0373, allocations: 4.736 MB / 267.9 MB, free: 6.199 MB / 266.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.778382788412273]