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.0008927/0.0008927, 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.0009601/0.0009601, allocations: 173 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 1.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.0286/0.0286, allocations: 4.483 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.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.282e-06/1.282e-06, allocations: 0 / 283.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.978e-05, allocations: 2.312 kB / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002174/0.002194, allocations: 1.741 MB / 285.4 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.003099, allocations: 0.6311 MB / 286.1 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.003161, allocations: 8 kB / 286.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.003339, allocations: 119.6 kB / 286.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.003537, allocations: 147.5 kB / 286.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.003841, allocations: 107.7 kB / 286.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.004084, allocations: 227.5 kB / 286.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.004152, allocations: 5.969 kB / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.004312, allocations: 143.7 kB / 286.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.0045, allocations: 167.7 kB / 287 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.004525, allocations: 12 kB / 287 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.004673, allocations: 99.84 kB / 287.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.004763, allocations: 103.7 kB / 287.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.004835, allocations: 79.69 kB / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.005114, allocations: 295.1 kB / 287.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005117, allocations: 0 / 287.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005118, allocations: 7.938 kB / 287.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.005122, allocations: 0 / 287.6 MB, free: 2.445 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.00069/0.005812, allocations: 0.5954 MB / 288.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.005854, allocations: 12.03 kB / 288.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.005932, allocations: 28.91 kB / 288.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.006211, allocations: 243.9 kB / 288.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.00623, allocations: 8.375 kB / 288.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.006248, allocations: 8.375 kB / 288.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.006469, allocations: 224.5 kB / 288.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006477, allocations: 4.188 kB / 288.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.006491, allocations: 7.938 kB / 288.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.006497, allocations: 0 / 288.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.006564, allocations: 87.39 kB / 288.8 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.006878, allocations: 207 kB / 289 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.006974, allocations: 145.9 kB / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.107e-05/0.007036, allocations: 92.3 kB / 289.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.007041, allocations: 0 / 289.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.007289, allocations: 422 kB / 289.6 MB, free: 168 kB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.112e-06/0.00729, allocations: 0 / 289.6 MB, free: 168 kB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.113/0.1203, allocations: 371.5 kB / 290 MB, free: 22.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1204, allocations: 220.5 kB / 290.2 MB, free: 21.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1207, allocations: 365.2 kB / 290.5 MB, free: 21.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1207, allocations: 31.92 kB / 290.6 MB, free: 21.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1207, allocations: 134.4 kB / 290.7 MB, free: 21.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1208, allocations: 46.47 kB / 290.7 MB, free: 21.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.1208, allocations: 37.25 kB / 290.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.1209, allocations: 357.2 kB / 291.1 MB, free: 21.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1209, allocations: 88.22 kB / 291.2 MB, free: 21.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.121, allocations: 138.9 kB / 291.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1212, allocations: 277.1 kB / 291.6 MB, free: 21.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1212, allocations: 0 / 291.6 MB, free: 21.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001861/0.1214, allocations: 257.8 kB / 291.9 MB, free: 20.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.1214, allocations: 74.95 kB / 292 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1214, allocations: 0 / 292 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1214, allocations: 2.922 kB / 292 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.1215, allocations: 14.36 kB / 292 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1215, allocations: 1.938 kB / 292 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1216, allocations: 36.25 kB / 292 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1216, allocations: 7.719 kB / 292 MB, free: 20.79 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.0001707/0.1218, allocations: 211.1 kB / 292.2 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.1219, allocations: 45.69 kB / 292.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.1219, allocations: 35.78 kB / 292.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1219, allocations: 1.188 kB / 292.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1219, allocations: 1.625 kB / 292.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1219, allocations: 4.547 kB / 292.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1221, allocations: 151.6 kB / 292.5 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1221, allocations: 0.8438 kB / 292.5 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.1221, allocations: 9.125 kB / 292.5 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1221, allocations: 1.062 kB / 292.5 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1221, allocations: 14.83 kB / 292.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1221, allocations: 0.5 kB / 292.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1221, allocations: 1.734 kB / 292.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1224, allocations: 347.9 kB / 292.8 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.1225, allocations: 53.59 kB / 292.9 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.1225, allocations: 21.84 kB / 292.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1226, allocations: 29.36 kB / 292.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.1227, allocations: 23.94 kB / 292.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1227, allocations: 13.19 kB / 293 MB, free: 20.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1229, allocations: 164.9 kB / 293.1 MB, free: 20.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1229, allocations: 1 kB / 293.1 MB, free: 20.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000221/0.1231, allocations: 77.23 kB / 293.2 MB, free: 20.26 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.0001669/0.1233, allocations: 126.2 kB / 293.3 MB, free: 20.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1235, allocations: 365.8 kB / 293.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.1235, allocations: 7.469 kB / 293.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1236, allocations: 257.2 kB / 293.9 MB, free: 19.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.1238, allocations: 43.48 kB / 294 MB, free: 19.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.1247, allocations: 0.6584 MB / 294.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.1247, allocations: 108.8 kB / 294.7 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.1248, allocations: 24.73 kB / 294.8 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.125, allocations: 126.5 kB / 294.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.125, allocations: 0 / 294.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of Templates: time 0.007241/0.1322, allocations: 4.732 MB / 299.6 MB, free: 18.35 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.765475958585739]