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.00148/0.00148, allocations: 84.23 kB / 20.25 MB, free: 4.188 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.001927/0.001927, allocations: 157.7 kB / 23.55 MB, free: 0.8828 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.504/1.504, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.0402/0.0402, allocations: 4.477 MB / 264.8 MB, free: 8.574 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.565e-06/2.565e-06, allocations: 0 / 335.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.236e-05, allocations: 2.312 kB / 335.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002754/0.002787, allocations: 1.644 MB / 337.3 MB, free: 12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.004207, allocations: 0.6117 MB / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.004342, allocations: 0 / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.004538, allocations: 19.91 kB / 338 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.004796, allocations: 51.64 kB / 338 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.005361, allocations: 111.6 kB / 338.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.005666, allocations: 187.5 kB / 338.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.00579, allocations: 19.08 kB / 338.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.006047, allocations: 95.78 kB / 338.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.006273, allocations: 71.84 kB / 338.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.006317, allocations: 12 kB / 338.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.006488, allocations: 87.86 kB / 338.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.006587, allocations: 27.86 kB / 338.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.0067, allocations: 51.89 kB / 338.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.007128, allocations: 223.4 kB / 338.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.007133, allocations: 0 / 338.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.007135, allocations: 0 / 338.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.007143, allocations: 4 kB / 338.9 MB, free: 10.45 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.0008513/0.007994, allocations: 432.9 kB / 339.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.008036, allocations: 8.031 kB / 339.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.008141, allocations: 32.78 kB / 339.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.008406, allocations: 166 kB / 339.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.008426, allocations: 8.375 kB / 339.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.008451, allocations: 8.375 kB / 339.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.008805, allocations: 245 kB / 339.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008816, allocations: 192 / 339.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.008839, allocations: 11.94 kB / 339.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.008844, allocations: 0 / 339.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.009079, allocations: 139.3 kB / 339.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.009602, allocations: 304.4 kB / 340.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.009819, allocations: 145.9 kB / 340.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.01002, allocations: 132.3 kB / 340.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.01003, allocations: 3.938 kB / 340.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.01041, allocations: 458.3 kB / 340.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.01041, allocations: 0 / 340.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008384/0.01125, allocations: 0.523 MB / 341.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.01134, allocations: 221.6 kB / 341.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.01151, allocations: 194.3 kB / 341.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.01153, allocations: 33.7 kB / 341.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.01159, allocations: 96.14 kB / 342 MB, free: 6.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.01164, allocations: 47.69 kB / 342 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.01171, allocations: 37.7 kB / 342.1 MB, free: 6.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.0118, allocations: 330.8 kB / 342.4 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01191, allocations: 123.3 kB / 342.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01203, allocations: 162.8 kB / 342.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.01251, allocations: 463.5 kB / 343.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01251, allocations: 0 / 343.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003479/0.01286, allocations: 360.2 kB / 343.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.01291, allocations: 78.34 kB / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01291, allocations: 0 / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.01294, allocations: 3.938 kB / 343.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.01301, allocations: 8 kB / 343.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.01302, allocations: 4 kB / 343.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.01328, allocations: 63.8 kB / 343.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.0133, allocations: 4 kB / 343.6 MB, free: 5.195 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.0002144/0.01351, allocations: 212.3 kB / 343.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.01358, allocations: 47.83 kB / 343.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.01361, allocations: 9.812 kB / 343.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01362, allocations: 8.031 kB / 343.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01362, allocations: 0 / 343.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01362, allocations: 0 / 343.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.01377, allocations: 173.2 kB / 344.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01377, allocations: 0 / 344.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.0138, allocations: 4 kB / 344.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.0138, allocations: 3.938 kB / 344.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.01382, allocations: 7.984 kB / 344.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01383, allocations: 4 kB / 344.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01383, allocations: 4 kB / 344.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.01443, allocations: 475.7 kB / 344.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.01452, allocations: 47.73 kB / 344.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.01457, allocations: 16 kB / 344.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.01483, allocations: 47.88 kB / 344.7 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.01492, allocations: 23.97 kB / 344.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.01495, allocations: 16 kB / 344.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.01506, allocations: 148.2 kB / 344.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 4 kB / 344.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000284/0.01534, allocations: 59.98 kB / 344.9 MB, free: 3.809 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.0002163/0.01556, allocations: 147.5 kB / 345.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.01604, allocations: 441.4 kB / 345.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01605, allocations: 0 / 345.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.01632, allocations: 294.1 kB / 345.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.0166, allocations: 31.89 kB / 345.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.01724, allocations: 392.5 kB / 346.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.236e-05/0.01731, allocations: 101.3 kB / 346.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.01736, allocations: 4.5 kB / 346.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.01739, allocations: 20.48 kB / 346.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01739, allocations: 0 / 346.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of Templates: time 0.006917/0.02431, allocations: 3.459 MB / 349.8 MB, free: 14.83 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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.485453417990357]