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.0009873/0.0009873, allocations: 83.34 kB / 20.47 MB, free: 4.109 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.001585/0.001585, 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 1.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.0532/0.0532, allocations: 4.487 MB / 265.2 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 1.693e-06/1.693e-06, allocations: 0 / 336.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.632e-05, allocations: 8.5 kB / 336.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.001909/0.001935, allocations: 1.696 MB / 338.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.002747, allocations: 0.631 MB / 338.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.00282, allocations: 0 / 338.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.002958, allocations: 23.84 kB / 338.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.00312, allocations: 47.69 kB / 338.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.003464, allocations: 115.7 kB / 338.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.00363, allocations: 179.5 kB / 339.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.003722, allocations: 11.39 kB / 339.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.00384, allocations: 99.78 kB / 339.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.003969, allocations: 67.84 kB / 339.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.003993, allocations: 12 kB / 339.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.004103, allocations: 87.91 kB / 339.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.004163, allocations: 27.86 kB / 339.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.004221, allocations: 51.84 kB / 339.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.004419, allocations: 195.4 kB / 339.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004422, allocations: 4 kB / 339.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004423, allocations: 0 / 339.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004427, allocations: 4 kB / 339.7 MB, free: 10.08 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.0004609/0.004888, allocations: 0.5188 MB / 340.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.004922, allocations: 8.031 kB / 340.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.004983, allocations: 28.83 kB / 340.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.005149, allocations: 168.9 kB / 340.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.005167, allocations: 8.312 kB / 340.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.005185, allocations: 8.375 kB / 340.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.005384, allocations: 233.7 kB / 340.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005392, allocations: 4.125 kB / 340.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.005406, allocations: 11.94 kB / 340.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.005413, allocations: 0 / 340.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.00548, allocations: 95.38 kB / 340.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.005816, allocations: 343.6 kB / 341.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.314e-05/0.005899, allocations: 122.4 kB / 341.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.005966, allocations: 103.1 kB / 341.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.005973, allocations: 7.938 kB / 341.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.006159, allocations: 426.4 kB / 341.7 MB, free: 7.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.00616, allocations: 0 / 341.7 MB, free: 7.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003556/0.006516, allocations: 435.6 kB / 342.1 MB, free: 7.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.00656, allocations: 221.6 kB / 342.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006661, allocations: 233.9 kB / 342.6 MB, free: 6.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.006672, allocations: 25.7 kB / 342.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.006711, allocations: 154.9 kB / 342.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.006743, allocations: 47.78 kB / 342.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.006786, allocations: 43.36 kB / 342.9 MB, free: 6.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.00684, allocations: 0.4962 MB / 343.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.006895, allocations: 99.38 kB / 343.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.006974, allocations: 151.7 kB / 343.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.007123, allocations: 292.9 kB / 343.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007125, allocations: 0 / 343.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001907/0.007315, allocations: 314.3 kB / 344.2 MB, free: 5.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.007347, allocations: 75.38 kB / 344.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007351, allocations: 0 / 344.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.007368, allocations: 0 / 344.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.007433, allocations: 12 kB / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007438, allocations: 0 / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.007545, allocations: 39.95 kB / 344.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.007557, allocations: 4 kB / 344.3 MB, free: 4.906 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.000139/0.007696, allocations: 259.1 kB / 344.6 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.00773, allocations: 35.84 kB / 344.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.007754, allocations: 13.81 kB / 344.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007756, allocations: 4 kB / 344.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.007759, allocations: 0 / 344.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007762, allocations: 8 kB / 344.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.739e-05/0.007849, allocations: 184.5 kB / 344.8 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.00785, allocations: 0 / 344.8 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.007866, allocations: 4 kB / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007869, allocations: 3.938 kB / 344.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.007885, allocations: 11.98 kB / 344.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007886, allocations: 4 kB / 344.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007887, allocations: 0 / 344.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.008152, allocations: 419 kB / 345.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.008211, allocations: 55.73 kB / 345.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.008244, allocations: 12 kB / 345.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.008331, allocations: 31.97 kB / 345.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.008391, allocations: 19.97 kB / 345.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.008409, allocations: 12 kB / 345.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.547e-05/0.008464, allocations: 176.1 kB / 345.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008464, allocations: 0 / 345.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.008642, allocations: 63.94 kB / 345.6 MB, free: 3.512 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.000138/0.00878, allocations: 139.2 kB / 345.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.009033, allocations: 389.1 kB / 346.1 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.009035, allocations: 4 kB / 346.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.009147, allocations: 269.8 kB / 346.4 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.009322, allocations: 38.84 kB / 346.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.009914, allocations: 366 kB / 346.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.009943, allocations: 71.56 kB / 346.9 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.618e-05/0.009969, allocations: 12.5 kB / 346.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.009996, allocations: 16.5 kB / 346.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009997, allocations: 0 / 346.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of Templates: time 0.004818/0.01482, allocations: 3.466 MB / 350.4 MB, free: 14.63 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.9938829876482487]