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.0011/0.0011, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.001198/0.001198, allocations: 169 kB / 23.84 MB, free: 0.7344 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 0.9803/0.9803, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.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.02201/0.02201, allocations: 4.488 MB / 265.2 MB, free: 8.559 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.342e-06/1.342e-06, allocations: 0 / 336.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.441e-05, allocations: 2.312 kB / 336.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001766/0.00178, allocations: 1.683 MB / 338.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007756/0.002556, allocations: 0.6272 MB / 338.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.002608, allocations: 0 / 338.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.002778, allocations: 119.7 kB / 338.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.002969, allocations: 151.5 kB / 339 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.003287, allocations: 111.7 kB / 339.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.003485, allocations: 223.5 kB / 339.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.003561, allocations: 21.83 kB / 339.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.003696, allocations: 143.7 kB / 339.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.003882, allocations: 199.6 kB / 339.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.003911, allocations: 12 kB / 339.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.004024, allocations: 83.92 kB / 339.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.004118, allocations: 107.7 kB / 339.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.004236, allocations: 79.7 kB / 340 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.004538, allocations: 299 kB / 340.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.00454, allocations: 0 / 340.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004541, allocations: 0 / 340.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.004545, allocations: 0 / 340.3 MB, free: 10.51 MB / 314.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.0006793/0.005224, allocations: 0.7475 MB / 341 MB, free: 9.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.005258, allocations: 8.031 kB / 341 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.005329, allocations: 56.66 kB / 341.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.00559, allocations: 270.7 kB / 341.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.005607, allocations: 8.375 kB / 341.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.005625, allocations: 8.375 kB / 341.4 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.005863, allocations: 241.6 kB / 341.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005872, allocations: 192 / 341.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.005887, allocations: 7.938 kB / 341.6 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005894, allocations: 0 / 341.6 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.005979, allocations: 99.38 kB / 341.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.006514, allocations: 459.6 kB / 342.2 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.006664, allocations: 114.4 kB / 342.3 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.006775, allocations: 107.1 kB / 342.4 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.006785, allocations: 7.875 kB / 342.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.007079, allocations: 416.2 kB / 342.8 MB, free: 7.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.304e-06/0.007081, allocations: 3.984 kB / 342.8 MB, free: 7.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004523/0.007534, allocations: 466.3 kB / 343.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.007612, allocations: 229.5 kB / 343.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.007947, allocations: 0.5065 MB / 344 MB, free: 6.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.007964, allocations: 29.7 kB / 344 MB, free: 6.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.008086, allocations: 266.6 kB / 344.3 MB, free: 6.133 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.008122, allocations: 47.77 kB / 344.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.00817, allocations: 43.36 kB / 344.4 MB, free: 6.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.008312, allocations: 0.543 MB / 344.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.008382, allocations: 95.38 kB / 345 MB, free: 5.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.00847, allocations: 151.4 kB / 345.1 MB, free: 5.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.008658, allocations: 293.9 kB / 345.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.008661, allocations: 0 / 345.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002566/0.008917, allocations: 338.4 kB / 345.8 MB, free: 4.516 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.00896, allocations: 75.38 kB / 345.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.008965, allocations: 0 / 345.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.008982, allocations: 0 / 345.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.00905, allocations: 12 kB / 345.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.009056, allocations: 0 / 345.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.009173, allocations: 35.86 kB / 345.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.009186, allocations: 8 kB / 345.9 MB, free: 4.375 MB / 314.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.0001708/0.009356, allocations: 266.9 kB / 346.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.009408, allocations: 63.66 kB / 346.2 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.009446, allocations: 31.86 kB / 346.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009448, allocations: 0 / 346.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.009453, allocations: 4 kB / 346.2 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.009457, allocations: 3.984 kB / 346.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.00965, allocations: 284.5 kB / 346.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.009651, allocations: 4 kB / 346.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.009665, allocations: 8 kB / 346.5 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.009669, allocations: 3.938 kB / 346.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.009685, allocations: 8 kB / 346.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.009687, allocations: 0 / 346.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.009691, allocations: 3.984 kB / 346.5 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.01005, allocations: 457.7 kB / 347 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.01015, allocations: 79.59 kB / 347.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.01019, allocations: 12 kB / 347.1 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.01029, allocations: 31.97 kB / 347.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.01035, allocations: 19.98 kB / 347.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.01038, allocations: 15.98 kB / 347.2 MB, free: 3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.01058, allocations: 327 kB / 347.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01058, allocations: 0 / 347.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.01077, allocations: 75.94 kB / 347.5 MB, free: 2.609 MB / 314.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.0001556/0.01092, allocations: 139.2 kB / 347.7 MB, free: 2.465 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.01122, allocations: 389.1 kB / 348.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01122, allocations: 0 / 348.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.01138, allocations: 277.9 kB / 348.3 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01158, allocations: 50.03 kB / 348.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.01239, allocations: 0.6522 MB / 349 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.116e-05/0.01245, allocations: 112.2 kB / 349.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.44e-05/0.01249, allocations: 25.94 kB / 349.2 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.01253, allocations: 24.48 kB / 349.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01253, allocations: 4 kB / 349.2 MB, free: 0.793 MB / 314.7 MB Notification: Performance of Templates: time 0.005819/0.01835, allocations: 4.472 MB / 353.7 MB, free: 12.36 MB / 330.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.935818289872259]