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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 105.4 kB / 17.79 MB, free: 5.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 190.1 kB / 20.74 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 246.4 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1482/0.1482, allocations: 8.083 MB / 306.7 MB, free: 2.645 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001956/0.001956, allocations: 63.89 kB / 423.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2203, allocations: 51.53 MB / 475.4 MB, free: 22.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002434/0.2228, allocations: 1.638 MB / 477 MB, free: 20.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.2238, allocations: 0.6092 MB / 477.6 MB, free: 20.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.2239, allocations: 0 / 477.6 MB, free: 20.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.224, allocations: 25.19 kB / 477.6 MB, free: 20.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2242, allocations: 42.06 kB / 477.7 MB, free: 20.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.2246, allocations: 120.3 kB / 477.8 MB, free: 20.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.2249, allocations: 195.2 kB / 478 MB, free: 20.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.225, allocations: 15.91 kB / 478 MB, free: 20.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2251, allocations: 75.53 kB / 478.1 MB, free: 20.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2253, allocations: 85.52 kB / 478.2 MB, free: 20.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.2253, allocations: 17.69 kB / 478.2 MB, free: 20 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2255, allocations: 86.23 kB / 478.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.2255, allocations: 24.7 kB / 478.3 MB, free: 19.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.2256, allocations: 66.91 kB / 478.3 MB, free: 19.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.2259, allocations: 197.9 kB / 478.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2259, allocations: 0 / 478.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2259, allocations: 0 / 478.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2259, allocations: 0 / 478.5 MB, free: 19.77 MB / 350.1 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.0006035/0.2265, allocations: 0.503 MB / 479 MB, free: 19.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2266, allocations: 13.48 kB / 479.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.2266, allocations: 18.72 kB / 479.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.2269, allocations: 229.9 kB / 479.3 MB, free: 19.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2269, allocations: 6.672 kB / 479.3 MB, free: 19.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2269, allocations: 18.78 kB / 479.3 MB, free: 19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2273, allocations: 132 kB / 479.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2273, allocations: 1.406 kB / 479.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.2273, allocations: 2.594 kB / 479.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2273, allocations: 4 kB / 479.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.2275, allocations: 67.95 kB / 479.5 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.2282, allocations: 386.9 kB / 479.9 MB, free: 18.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.2284, allocations: 118.9 kB / 480 MB, free: 18.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.2287, allocations: 106.3 kB / 480.1 MB, free: 18.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2287, allocations: 9.047 kB / 480.1 MB, free: 18.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.2291, allocations: 318.6 kB / 480.4 MB, free: 18.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.2291, allocations: 0 / 480.4 MB, free: 18.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008008/0.2299, allocations: 387.5 kB / 480.8 MB, free: 17.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.23, allocations: 221.3 kB / 481 MB, free: 17.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2302, allocations: 198 kB / 481.2 MB, free: 17.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2302, allocations: 37.47 kB / 481.3 MB, free: 17.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.2302, allocations: 102.5 kB / 481.4 MB, free: 17.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.2303, allocations: 38.36 kB / 481.4 MB, free: 17.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/0.2304, allocations: 41.94 kB / 481.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.2304, allocations: 335.6 kB / 481.8 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.2305, allocations: 47.48 kB / 481.8 MB, free: 16.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.2306, allocations: 74.12 kB / 481.9 MB, free: 16.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.231, allocations: 467.4 kB / 482.3 MB, free: 16.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.231, allocations: 3.938 kB / 482.4 MB, free: 16.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003191/0.2314, allocations: 270.1 kB / 482.6 MB, free: 16.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.2314, allocations: 69.83 kB / 482.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2314, allocations: 1.062 kB / 482.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2314, allocations: 0 / 482.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.2315, allocations: 13.08 kB / 482.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2315, allocations: 0 / 482.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.2318, allocations: 52.78 kB / 482.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.2318, allocations: 5.562 kB / 482.8 MB, free: 16.22 MB / 350.1 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.0001769/0.232, allocations: 224 kB / 483 MB, free: 16.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.2321, allocations: 21.09 kB / 483 MB, free: 16.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.2321, allocations: 19.31 kB / 483 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2321, allocations: 0 / 483 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2321, allocations: 1.062 kB / 483 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2321, allocations: 3.984 kB / 483 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.2323, allocations: 256.6 kB / 483.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2323, allocations: 4 kB / 483.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.2323, allocations: 3.422 kB / 483.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2323, allocations: 5.172 kB / 483.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.2323, allocations: 10.58 kB / 483.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2323, allocations: 0 / 483.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2323, allocations: 5.062 kB / 483.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.2329, allocations: 409.1 kB / 483.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.918e-05/0.233, allocations: 119.2 kB / 483.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.2331, allocations: 13.06 kB / 483.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.2333, allocations: 44.66 kB / 483.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.2334, allocations: 27.19 kB / 483.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.2335, allocations: 8.25 kB / 483.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.2336, allocations: 155.3 kB / 484.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2336, allocations: 1 kB / 484.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.2339, allocations: 70.22 kB / 484.1 MB, free: 15.15 MB / 350.1 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.0001703/0.234, allocations: 143.5 kB / 484.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.2345, allocations: 388.1 kB / 484.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.2345, allocations: 4 kB / 484.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.2349, allocations: 414.7 kB / 485.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2351, allocations: 25.03 kB / 485.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.2357, allocations: 342.3 kB / 485.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2358, allocations: 0.7151 MB / 486.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.2359, allocations: 13.19 kB / 486.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2359, allocations: 4 kB / 486.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Templates: time 0.004404/0.2403, allocations: 2.391 MB / 488.5 MB, free: 12.23 MB / 350.1 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: 6.461387647083029] Failed to read output from testmodel.py, exit status != 0: 0.24686935497447848 0.255774356 0.028001884 Calling exit ...