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.002003/0.002003, allocations: 88.98 kB / 20.25 MB, free: 4.172 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.002283/0.002283, allocations: 173.2 kB / 23.57 MB, free: 0.8555 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 1.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.06556/0.06556, allocations: 4.49 MB / 264.9 MB, free: 8.57 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.033e-06/2.033e-06, allocations: 0 / 335.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.135e-05, allocations: 4.984 kB / 335.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.003361/0.003392, allocations: 1.661 MB / 337.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004868, allocations: 0.6233 MB / 338 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.756e-05/0.004956, allocations: 0 / 338 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.005111, allocations: 23.84 kB / 338 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.005314, allocations: 43.7 kB / 338.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.005791, allocations: 115.7 kB / 338.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.006087, allocations: 183.5 kB / 338.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.006188, allocations: 11.08 kB / 338.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.0064, allocations: 103.7 kB / 338.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.006617, allocations: 71.84 kB / 338.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.006669, allocations: 12 kB / 338.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.00687, allocations: 83.92 kB / 338.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.006961, allocations: 23.86 kB / 338.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.007069, allocations: 51.89 kB / 338.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.007476, allocations: 227.4 kB / 338.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.00748, allocations: 0 / 338.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007481, allocations: 0 / 338.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.007488, allocations: 3.938 kB / 338.9 MB, free: 10.41 MB / 266.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.0007863/0.008275, allocations: 0.5262 MB / 339.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.008314, allocations: 12.03 kB / 339.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.008424, allocations: 20.84 kB / 339.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.00872, allocations: 176.9 kB / 339.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.008744, allocations: 4.375 kB / 339.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.008785, allocations: 12.38 kB / 339.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.009235, allocations: 237 kB / 339.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.009246, allocations: 4.188 kB / 339.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.009272, allocations: 3.938 kB / 339.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.009277, allocations: 7.922 kB / 339.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.009581, allocations: 127.4 kB / 340 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.01027, allocations: 363.6 kB / 340.4 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.01059, allocations: 150.4 kB / 340.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.01088, allocations: 143.1 kB / 340.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.0109, allocations: 7.938 kB / 340.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/0.01144, allocations: 456.1 kB / 341.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/0.01144, allocations: 0 / 341.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.001212/0.01265, allocations: 0.4908 MB / 341.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.01272, allocations: 221.6 kB / 341.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01298, allocations: 249.9 kB / 342.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.01301, allocations: 37.64 kB / 342.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.01308, allocations: 154.9 kB / 342.3 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.01315, allocations: 47.69 kB / 342.3 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.01326, allocations: 47.36 kB / 342.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01336, allocations: 0.5079 MB / 342.9 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.01352, allocations: 111.4 kB / 343 MB, free: 5.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.01372, allocations: 164.5 kB / 343.2 MB, free: 5.746 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.01416, allocations: 332.4 kB / 343.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01416, allocations: 0 / 343.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005651/0.01473, allocations: 345.1 kB / 343.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.01478, allocations: 71.38 kB / 343.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01479, allocations: 0 / 343.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.01481, allocations: 0 / 343.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01493, allocations: 12 kB / 343.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01494, allocations: 4.031 kB / 343.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.01525, allocations: 43.86 kB / 343.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.01528, allocations: 4 kB / 343.9 MB, free: 4.871 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.0002616/0.01554, allocations: 262.4 kB / 344.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.01563, allocations: 35.84 kB / 344.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.01566, allocations: 13.81 kB / 344.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01566, allocations: 0 / 344.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01567, allocations: 4 kB / 344.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01567, allocations: 3.984 kB / 344.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.01586, allocations: 184.5 kB / 344.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01586, allocations: 0 / 344.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.01589, allocations: 7.984 kB / 344.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01589, allocations: 3.938 kB / 344.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.01593, allocations: 11.98 kB / 344.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01593, allocations: 8 kB / 344.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01593, allocations: 0 / 344.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.01678, allocations: 482.9 kB / 344.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.01693, allocations: 47.73 kB / 345 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.01701, allocations: 16 kB / 345 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.01729, allocations: 27.97 kB / 345 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.0174, allocations: 31.98 kB / 345.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.01744, allocations: 15.98 kB / 345.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.01758, allocations: 180.2 kB / 345.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01758, allocations: 0 / 345.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.01805, allocations: 59.98 kB / 345.3 MB, free: 3.402 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.0002764/0.01833, allocations: 143.2 kB / 345.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006846/0.01902, allocations: 463.9 kB / 345.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01902, allocations: 0 / 345.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.01944, allocations: 341.8 kB / 346.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.0198, allocations: 35.89 kB / 346.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.02057, allocations: 374.1 kB / 346.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.853e-05/0.02065, allocations: 105.3 kB / 346.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.02069, allocations: 8.484 kB / 346.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.02074, allocations: 20.5 kB / 346.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02074, allocations: 0 / 346.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of Templates: time 0.01177/0.03251, allocations: 3.459 MB / 350.2 MB, free: 14.35 MB / 282.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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.607752507086843]