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.0009086/0.0009086, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.0009195/0.0009195, allocations: 173.3 kB / 24.19 MB, free: 312 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 0.8867/0.8867, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.022/0.022, allocations: 4.487 MB / 265.6 MB, free: 8.449 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.293e-06/1.293e-06, allocations: 0 / 283.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.221e-05, allocations: 2.312 kB / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.001713/0.001725, allocations: 1.697 MB / 285.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.002493, allocations: 0.6272 MB / 286 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.002545, allocations: 4 kB / 286 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.00265, allocations: 23.84 kB / 286 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.002768, allocations: 43.75 kB / 286 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.003041, allocations: 115.7 kB / 286.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.003209, allocations: 179.5 kB / 286.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.003269, allocations: 5.969 kB / 286.3 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.003387, allocations: 107.7 kB / 286.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.003508, allocations: 67.84 kB / 286.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.003531, allocations: 12 kB / 286.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.003635, allocations: 83.92 kB / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.003687, allocations: 23.86 kB / 286.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.003738, allocations: 55.89 kB / 286.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.003928, allocations: 191.4 kB / 286.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.00393, allocations: 0 / 286.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00393, allocations: 0 / 286.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.003933, allocations: 4 kB / 286.9 MB, free: 3.125 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.0004102/0.004343, allocations: 407.5 kB / 287.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.004369, allocations: 8.031 kB / 287.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.004408, allocations: 20.92 kB / 287.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.004544, allocations: 149.6 kB / 287.4 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.004557, allocations: 8.375 kB / 287.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.004573, allocations: 8.375 kB / 287.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.004783, allocations: 236.4 kB / 287.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.004789, allocations: 4.125 kB / 287.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.004801, allocations: 7.938 kB / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.004806, allocations: 0 / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.332e-05/0.004869, allocations: 95.36 kB / 287.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.005122, allocations: 207 kB / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.244e-05/0.005215, allocations: 149.8 kB / 288.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.005271, allocations: 96.3 kB / 288.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-06/0.005276, allocations: 0 / 288.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.005547, allocations: 408.2 kB / 288.6 MB, free: 1.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.022e-06/0.005548, allocations: 0 / 288.6 MB, free: 1.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002605/0.005808, allocations: 363.7 kB / 289 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.005878, allocations: 221.6 kB / 289.2 MB, free: 480 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.005965, allocations: 166.6 kB / 289.4 MB, free: 300 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.005979, allocations: 29.7 kB / 289.4 MB, free: 264 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.006007, allocations: 92.12 kB / 289.5 MB, free: 168 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.006041, allocations: 55.75 kB / 289.5 MB, free: 112 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.006082, allocations: 33.69 kB / 289.6 MB, free: 72 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1007/0.1068, allocations: 336.7 kB / 289.9 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.1069, allocations: 83.34 kB / 290 MB, free: 22.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.107, allocations: 132 kB / 290.1 MB, free: 21.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.1071, allocations: 276.4 kB / 290.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1071, allocations: 0 / 290.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001764/0.1073, allocations: 242.6 kB / 290.6 MB, free: 21.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.1073, allocations: 72.89 kB / 290.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1073, allocations: 0.5156 kB / 290.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1073, allocations: 1.156 kB / 290.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.1074, allocations: 13.14 kB / 290.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1074, allocations: 6.234 kB / 290.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1075, allocations: 33.17 kB / 290.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1075, allocations: 8.484 kB / 290.7 MB, free: 21.48 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.0001496/0.1077, allocations: 214.8 kB / 291 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.1077, allocations: 28.91 kB / 291 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.1078, allocations: 13.39 kB / 291 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1078, allocations: 1.469 kB / 291 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1078, allocations: 4.641 kB / 291 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1078, allocations: 2.297 kB / 291 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.402e-05/0.1079, allocations: 106.3 kB / 291.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1079, allocations: 2.812 kB / 291.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.1079, allocations: 4.125 kB / 291.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1079, allocations: 0.6562 kB / 291.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1079, allocations: 11.75 kB / 291.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1079, allocations: 1.281 kB / 291.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1079, allocations: 3.844 kB / 291.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1081, allocations: 340.2 kB / 291.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.1082, allocations: 32.52 kB / 291.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1082, allocations: 14.27 kB / 291.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.1083, allocations: 28.44 kB / 291.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.1084, allocations: 25.55 kB / 291.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1084, allocations: 10.53 kB / 291.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.1084, allocations: 50.38 kB / 291.6 MB, free: 21 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1084, allocations: 0 / 291.6 MB, free: 21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.1086, allocations: 68.62 kB / 291.7 MB, free: 21 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.0001315/0.1087, allocations: 118.2 kB / 291.8 MB, free: 20.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1089, allocations: 371.2 kB / 292.2 MB, free: 20.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.109, allocations: 4.844 kB / 292.2 MB, free: 20.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1091, allocations: 255.5 kB / 292.4 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1092, allocations: 39.08 kB / 292.5 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.1097, allocations: 357.1 kB / 292.8 MB, free: 20.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.039e-05/0.1097, allocations: 76.25 kB / 292.9 MB, free: 20.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.04e-05/0.1097, allocations: 12.83 kB / 292.9 MB, free: 20.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.1099, allocations: 116.4 kB / 293 MB, free: 20.12 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1099, allocations: 0 / 293 MB, free: 20.12 MB / 266.7 MB Notification: Performance of Templates: time 0.005509/0.1154, allocations: 3.695 MB / 296.7 MB, free: 19.8 MB / 266.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.7091549960896373]