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.0006732/0.0006732, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009681/0.001641, allocations: 452 kB / 10.43 MB, free: 264 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.0006806/0.0006806, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.001872, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.9085/0.9085, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08493/0.9935, allocations: 53.68 MB / 243.4 MB, free: 15.51 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.0278/0.0278, allocations: 4.465 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003813/0.03161, allocations: 2.081 MB / 250.7 MB, free: 8.207 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.413e-06/1.413e-06, allocations: 0 / 251.9 MB, free: 6.949 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.868e-06/1.128e-05, allocations: 2.312 kB / 251.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001707/0.001718, allocations: 1.745 MB / 253.7 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.002426, allocations: 0.6231 MB / 254.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.002478, allocations: 0 / 254.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.002619, allocations: 127.6 kB / 254.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.002756, allocations: 171.5 kB / 254.6 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.002992, allocations: 103.7 kB / 254.7 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.003201, allocations: 231.4 kB / 254.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.003265, allocations: 13.95 kB / 254.9 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.003431, allocations: 171.6 kB / 255.1 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.003595, allocations: 159.7 kB / 255.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.003621, allocations: 16 kB / 255.3 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.003753, allocations: 91.91 kB / 255.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.003833, allocations: 99.69 kB / 255.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.003893, allocations: 59.75 kB / 255.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.004121, allocations: 271.1 kB / 255.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.00413, allocations: 0 / 255.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004131, allocations: 0 / 255.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.00414, allocations: 0 / 255.8 MB, free: 3.082 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.0005818/0.004721, allocations: 0.6459 MB / 256.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.004749, allocations: 12.03 kB / 256.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.0048, allocations: 28.91 kB / 256.5 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.005003, allocations: 247.9 kB / 256.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.005016, allocations: 4.375 kB / 256.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.005033, allocations: 12.38 kB / 256.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.005215, allocations: 236.4 kB / 257 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.005221, allocations: 192 / 257 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.005232, allocations: 3.938 kB / 257 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005236, allocations: 4 kB / 257 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.195e-05/0.005298, allocations: 95.38 kB / 257.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.005554, allocations: 211 kB / 257.3 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.00564, allocations: 153.9 kB / 257.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.005703, allocations: 104.2 kB / 257.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-06/0.005709, allocations: 4 kB / 257.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.005927, allocations: 417.3 kB / 257.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.005928, allocations: 0 / 257.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002848/0.006213, allocations: 402.9 kB / 258.3 MB, free: 276 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.006313, allocations: 296.9 kB / 258.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.00653, allocations: 371.2 kB / 259 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.006551, allocations: 29.7 kB / 259 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.006598, allocations: 125.4 kB / 259.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.006632, allocations: 47.67 kB / 259.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.006675, allocations: 37.69 kB / 259.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.006759, allocations: 362.7 kB / 259.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.006813, allocations: 98.08 kB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.00688, allocations: 138.8 kB / 259.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.007048, allocations: 309.7 kB / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00705, allocations: 0 / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001691/0.007219, allocations: 268.2 kB / 260.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.007265, allocations: 71.33 kB / 260.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007269, allocations: 4 kB / 260.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.007279, allocations: 7.922 kB / 260.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.007327, allocations: 12 kB / 260.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.00733, allocations: 4.031 kB / 260.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.007442, allocations: 31.92 kB / 260.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.007452, allocations: 8 kB / 260.5 MB, free: 13.88 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.0001471/0.007599, allocations: 215.2 kB / 260.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.007638, allocations: 43.89 kB / 260.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.007668, allocations: 35.86 kB / 260.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.00767, allocations: 3.984 kB / 260.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.007672, allocations: 0 / 260.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.007674, allocations: 0 / 260.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.007784, allocations: 149.8 kB / 260.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007786, allocations: 0 / 260.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.007799, allocations: 4 kB / 261 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.007867, allocations: 55.62 kB / 261 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.007868, allocations: 0 / 261 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.007883, allocations: 15.92 kB / 261 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007884, allocations: 0 / 261 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007885, allocations: 4 kB / 261 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.00812, allocations: 377.2 kB / 261.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.008159, allocations: 12 kB / 261.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.008246, allocations: 27.92 kB / 261.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.008294, allocations: 27.95 kB / 261.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.00831, allocations: 8 kB / 261.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.008428, allocations: 168.7 kB / 261.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008428, allocations: 0 / 261.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00016/0.008588, allocations: 72 kB / 261.7 MB, free: 12.59 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.0001349/0.008723, allocations: 140.8 kB / 261.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.008957, allocations: 374.4 kB / 262.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.008965, allocations: 8 kB / 262.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.009103, allocations: 267 kB / 262.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.009275, allocations: 124.1 kB / 262.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01031, allocations: 0.66 MB / 263.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.01037, allocations: 116.1 kB / 263.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.01041, allocations: 22.12 kB / 263.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.01057, allocations: 135.3 kB / 263.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01057, allocations: 0 / 263.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Templates: time 0.006204/0.01677, allocations: 4.744 MB / 268.3 MB, free: 5.926 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.3242333345115185]