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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 102.4 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 193.9 kB / 22.1 MB, free: 384 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 250.7 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.07516/0.07516, allocations: 8.233 MB / 314 MB, free: 0.875 MB / 238.1 MB [Timeout remaining time 90] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 437.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09953, allocations: 54.35 MB / 492 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.00266/0.1022, allocations: 1.647 MB / 493.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1032, allocations: 0.6157 MB / 494.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.1033, allocations: 0 / 494.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1034, allocations: 23.84 kB / 494.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1036, allocations: 47.75 kB / 494.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1039, allocations: 117.8 kB / 494.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.1042, allocations: 187.5 kB / 494.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.933e-05/0.1043, allocations: 5.125 kB / 494.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1044, allocations: 83.67 kB / 494.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1046, allocations: 83.7 kB / 494.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1046, allocations: 16 kB / 494.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1047, allocations: 79.94 kB / 494.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.1048, allocations: 27.91 kB / 495 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.1049, allocations: 75.58 kB / 495 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1052, allocations: 195.3 kB / 495.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1052, allocations: 4 kB / 495.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1052, allocations: 0 / 495.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1052, allocations: 4 kB / 495.2 MB, free: 3.578 MB / 350.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.000711/0.1059, allocations: 0.498 MB / 495.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1059, allocations: 11.89 kB / 495.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.106, allocations: 20.84 kB / 495.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1063, allocations: 228.1 kB / 496 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1063, allocations: 8.375 kB / 496 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1063, allocations: 8.312 kB / 496 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.1067, allocations: 141.4 kB / 496.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1067, allocations: 0 / 496.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1067, allocations: 4 kB / 496.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1067, allocations: 0 / 496.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.1069, allocations: 71.95 kB / 496.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.1075, allocations: 384.6 kB / 496.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1077, allocations: 86.47 kB / 496.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1079, allocations: 64.88 kB / 496.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.1079, allocations: 0 / 496.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.1083, allocations: 327.7 kB / 497.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.1083, allocations: 4 kB / 497.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008183/0.1091, allocations: 380.8 kB / 497.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.1093, allocations: 221.6 kB / 497.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1095, allocations: 199.6 kB / 497.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.1095, allocations: 33.7 kB / 497.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.1096, allocations: 104.1 kB / 498 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.1097, allocations: 43.81 kB / 498 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.1097, allocations: 41.66 kB / 498.1 MB, free: 456 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1099, allocations: 334.8 kB / 498.4 MB, free: 112 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.11, allocations: 51.97 kB / 498.4 MB, free: 60 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1101, allocations: 73.69 kB / 498.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.1107, allocations: 459.8 kB / 499 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1107, allocations: 0 / 499 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000378/0.1111, allocations: 272.9 kB / 499.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.1112, allocations: 63.39 kB / 499.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1112, allocations: 4 kB / 499.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1112, allocations: 32 / 499.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.1112, allocations: 19.98 kB / 499.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1113, allocations: 0 / 499.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1115, allocations: 43.91 kB / 499.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1115, allocations: 12 kB / 499.4 MB, free: 15.05 MB / 366.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.0002509/0.1118, allocations: 227.3 kB / 499.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.1118, allocations: 31.81 kB / 499.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.1119, allocations: 13.88 kB / 499.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1119, allocations: 0 / 499.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1119, allocations: 0 / 499.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1119, allocations: 4 kB / 499.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.1121, allocations: 265.3 kB / 499.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1121, allocations: 4 kB / 499.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.1121, allocations: 4 kB / 499.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1121, allocations: 0 / 499.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.1122, allocations: 11.98 kB / 499.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1122, allocations: 0 / 499.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1122, allocations: 0 / 499.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.1128, allocations: 400.1 kB / 0.4886 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.113, allocations: 124.9 kB / 0.4887 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.113, allocations: 12 kB / 0.4887 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.1133, allocations: 51.94 kB / 0.4888 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.1134, allocations: 19.98 kB / 0.4888 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.1134, allocations: 11.98 kB / 0.4888 GB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1136, allocations: 155.4 kB / 0.4889 GB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1136, allocations: 0 / 0.4889 GB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1138, allocations: 63.94 kB / 0.489 GB, free: 13.55 MB / 366.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.0001995/0.114, allocations: 155.5 kB / 0.4892 GB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004942/0.1145, allocations: 294.6 kB / 0.4894 GB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1145, allocations: 4 kB / 0.4894 GB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.1148, allocations: 218.7 kB / 0.4896 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1151, allocations: 19.98 kB / 0.4897 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.1157, allocations: 345.7 kB / 0.49 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1161, allocations: 0.716 MB / 0.4907 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.1161, allocations: 15.44 kB / 0.4907 GB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1161, allocations: 0 / 0.4907 GB, free: 11.68 MB / 366.1 MB Notification: Performance of Templates: time 0.004437/0.1205, allocations: 2.405 MB / 0.4931 GB, free: 9.297 MB / 366.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]