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.001014/0.001014, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0008472/0.0008472, allocations: 165.9 kB / 24 MB, free: 0.5586 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 0.8454/0.8454, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.023/0.023, allocations: 4.462 MB / 265.2 MB, free: 8.766 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.553e-06/1.553e-06, allocations: 0 / 390.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.185e-05, allocations: 6.281 kB / 390.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.00214/0.002172, allocations: 1.637 MB / 392.5 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008448/0.003016, allocations: 0.6079 MB / 393.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.003084, allocations: 0 / 393.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.003279, allocations: 123.6 kB / 393.2 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.003502, allocations: 147.5 kB / 393.3 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.003877, allocations: 111.7 kB / 393.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.004134, allocations: 235.4 kB / 393.7 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.004226, allocations: 9.172 kB / 393.7 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004371, allocations: 143.7 kB / 393.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.004574, allocations: 207.6 kB / 394 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.004601, allocations: 12 kB / 394 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.004712, allocations: 75.94 kB / 394.1 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.004806, allocations: 107.7 kB / 394.2 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.674e-05/0.004883, allocations: 75.7 kB / 394.3 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.005201, allocations: 347 kB / 394.6 MB, free: 3.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005204, allocations: 0 / 394.6 MB, free: 3.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005206, allocations: 0 / 394.6 MB, free: 3.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005211, allocations: 0 / 394.6 MB, free: 3.082 MB / 314.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.0006893/0.0059, allocations: 0.6398 MB / 395.3 MB, free: 2.398 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.005935, allocations: 12.03 kB / 395.3 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.006002, allocations: 44.66 kB / 395.3 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.00636, allocations: 323.8 kB / 395.7 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.006378, allocations: 4.375 kB / 395.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.006394, allocations: 4.375 kB / 395.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.006691, allocations: 289 kB / 395.9 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006699, allocations: 192 / 395.9 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.006716, allocations: 11.94 kB / 396 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.006721, allocations: 4 kB / 396 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.006881, allocations: 175.3 kB / 396.1 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.007359, allocations: 424.2 kB / 396.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.007533, allocations: 189.9 kB / 396.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.007676, allocations: 176.2 kB / 396.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.007687, allocations: 7.938 kB / 396.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.008016, allocations: 486.5 kB / 397.4 MB, free: 92 kB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.008017, allocations: 7.938 kB / 397.4 MB, free: 84 kB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006669/0.008684, allocations: 0.7103 MB / 398.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.008771, allocations: 217.6 kB / 398.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.009173, allocations: 0.5682 MB / 398.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.00919, allocations: 29.7 kB / 398.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.009288, allocations: 195.9 kB / 399.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.009326, allocations: 47.73 kB / 399.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.009377, allocations: 37.7 kB / 399.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.009484, allocations: 358.8 kB / 399.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.009593, allocations: 159.4 kB / 399.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.009717, allocations: 209.1 kB / 399.9 MB, free: 13.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.01019, allocations: 0.6327 MB / 400.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.01019, allocations: 0 / 400.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003385/0.01053, allocations: 0.4999 MB / 401 MB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.01057, allocations: 67.39 kB / 401.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01058, allocations: 0 / 401.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01059, allocations: 4 kB / 401.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.01064, allocations: 15.98 kB / 401.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01065, allocations: 3.938 kB / 401.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.0108, allocations: 55.84 kB / 401.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01081, allocations: 4 kB / 401.2 MB, free: 12.05 MB / 330.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.0002196/0.01103, allocations: 290.8 kB / 401.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.01107, allocations: 51.7 kB / 401.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.01111, allocations: 59.83 kB / 401.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01111, allocations: 0 / 401.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01112, allocations: 0 / 401.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.01112, allocations: 0 / 401.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.01127, allocations: 249.2 kB / 401.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01128, allocations: 0 / 401.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.01129, allocations: 0 / 401.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01129, allocations: 3.938 kB / 401.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.01131, allocations: 11.98 kB / 401.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01131, allocations: 3.938 kB / 401.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01131, allocations: 0 / 401.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.0118, allocations: 0.6087 MB / 402.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.01191, allocations: 83.61 kB / 402.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.01195, allocations: 19.98 kB / 402.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01208, allocations: 39.95 kB / 402.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.01214, allocations: 23.97 kB / 402.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.01216, allocations: 8 kB / 402.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.01245, allocations: 415 kB / 403 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01245, allocations: 0 / 403 MB, free: 10.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.01266, allocations: 83.94 kB / 403.1 MB, free: 10.03 MB / 330.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.0001688/0.01283, allocations: 139.5 kB / 403.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.01324, allocations: 0.5247 MB / 403.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01324, allocations: 0 / 403.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.01346, allocations: 334.1 kB / 404.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.01366, allocations: 29.97 kB / 404.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.01443, allocations: 0.8187 MB / 404.9 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.01454, allocations: 208.4 kB / 405.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.01458, allocations: 20.5 kB / 405.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01458, allocations: 0 / 405.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of Templates: time 0.004768/0.01935, allocations: 4.416 MB / 409.6 MB, free: 3.41 MB / 330.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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2817832082509995] Failed to read output from testmodel.py, exit status != 0: 0.025500631891191006 0.169558976 0.16220663400000002 Calling exit ...