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.001163/0.001163, allocations: 80.98 kB / 20.7 MB, free: 3.797 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.0009999/0.0009999, allocations: 169.7 kB / 24.09 MB, free: 412 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.03114/0.03114, allocations: 4.481 MB / 265.6 MB, free: 8.402 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 1.703e-06/1.703e-06, allocations: 0 / 336.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.438e-05, allocations: 6.25 kB / 336.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.001911/0.001935, allocations: 1.694 MB / 338.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.00274, allocations: 0.6194 MB / 339.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.002805, allocations: 0 / 339.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.002918, allocations: 23.84 kB / 339.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.003042, allocations: 47.7 kB / 339.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.003345, allocations: 111.7 kB / 339.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003506, allocations: 183.5 kB / 339.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.003588, allocations: 15.38 kB / 339.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.003706, allocations: 95.84 kB / 339.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.003837, allocations: 75.78 kB / 339.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.003863, allocations: 12 kB / 339.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.00397, allocations: 79.92 kB / 339.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.004023, allocations: 23.92 kB / 339.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.004069, allocations: 55.83 kB / 339.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.004247, allocations: 191.5 kB / 340.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00425, allocations: 3.938 kB / 340.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004251, allocations: 0 / 340.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.004257, allocations: 0 / 340.1 MB, free: 9.801 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.0003686/0.004625, allocations: 0.5304 MB / 340.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.004657, allocations: 12.03 kB / 340.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.004694, allocations: 20.84 kB / 340.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.00482, allocations: 168.8 kB / 340.8 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.004832, allocations: 8.375 kB / 340.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.004845, allocations: 8.375 kB / 340.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.004987, allocations: 229.7 kB / 341.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.004992, allocations: 192 / 341.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005002, allocations: 3.938 kB / 341.1 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005006, allocations: 4 kB / 341.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.005055, allocations: 91.38 kB / 341.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.005302, allocations: 312.2 kB / 341.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.988e-05/0.005362, allocations: 122.4 kB / 341.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.005408, allocations: 103.1 kB / 341.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.005415, allocations: 0 / 341.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.005586, allocations: 414.9 kB / 342.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 7.12e-07/0.005587, allocations: 0 / 342.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002823/0.005869, allocations: 415.6 kB / 342.5 MB, free: 7.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.00591, allocations: 221.6 kB / 342.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.005992, allocations: 233.8 kB / 343 MB, free: 6.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.006002, allocations: 25.7 kB / 343 MB, free: 6.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.006038, allocations: 162.8 kB / 343.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.006066, allocations: 43.83 kB / 343.2 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.006106, allocations: 47.33 kB / 343.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.006153, allocations: 0.5001 MB / 343.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.006188, allocations: 87.38 kB / 343.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.006239, allocations: 140.4 kB / 344 MB, free: 5.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.006351, allocations: 289.6 kB / 344.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006352, allocations: 0 / 344.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001676/0.006519, allocations: 292.2 kB / 344.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.006547, allocations: 71.38 kB / 344.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006552, allocations: 4 kB / 344.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.006562, allocations: 0 / 344.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.006606, allocations: 16.03 kB / 344.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.006608, allocations: 0 / 344.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.006703, allocations: 35.86 kB / 344.6 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.006713, allocations: 8 kB / 344.7 MB, free: 4.742 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.0001182/0.006831, allocations: 255.7 kB / 344.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.006861, allocations: 39.84 kB / 344.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.00688, allocations: 13.81 kB / 345 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006882, allocations: 0 / 345 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006883, allocations: 0 / 345 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006886, allocations: 3.984 kB / 345 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.885e-05/0.006965, allocations: 161.1 kB / 345.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006966, allocations: 0 / 345.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.006977, allocations: 0 / 345.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.006981, allocations: 4 kB / 345.1 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.006993, allocations: 8 kB / 345.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.006995, allocations: 7.922 kB / 345.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006996, allocations: 8.062 kB / 345.1 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.00723, allocations: 405.9 kB / 345.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.007283, allocations: 47.8 kB / 345.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.007313, allocations: 12 kB / 345.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.007403, allocations: 31.91 kB / 345.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.007459, allocations: 19.97 kB / 345.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.007474, allocations: 15.98 kB / 345.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.557e-05/0.00752, allocations: 168.1 kB / 345.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00752, allocations: 4 kB / 345.8 MB, free: 3.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.007695, allocations: 59.94 kB / 345.9 MB, free: 3.41 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.0001127/0.007808, allocations: 139.8 kB / 346 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.007987, allocations: 381.1 kB / 346.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007988, allocations: 0 / 346.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.008082, allocations: 261.8 kB / 346.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.008228, allocations: 35.88 kB / 346.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.008695, allocations: 366 kB / 347 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.57e-05/0.00872, allocations: 75.31 kB / 347.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.523e-05/0.008746, allocations: 12.48 kB / 347.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.008877, allocations: 134.2 kB / 347.3 MB, free: 1.859 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.008877, allocations: 4 kB / 347.3 MB, free: 1.855 MB / 266.7 MB Notification: Performance of Templates: time 0.004938/0.01382, allocations: 3.688 MB / 351 MB, free: 14.22 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: 2.81587447039783]