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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.0008498, allocations: 90.12 kB / 16.37 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009429/0.0009428, allocations: 180.6 kB / 17.27 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.2 MB / 241.3 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2828/0.2828, allocations: 8.098 MB / 300.5 MB, free: 2.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005015, allocations: 8 kB / 363.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1629, allocations: 52.51 MB / 416 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002107/0.1651, allocations: 1.329 MB / 417.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1663, allocations: 0.5734 MB / 417.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.1664, allocations: 4 kB / 417.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.1665, allocations: 19.91 kB / 417.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1667, allocations: 35.81 kB / 417.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.1671, allocations: 91.7 kB / 418 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1673, allocations: 135.6 kB / 418.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1674, allocations: 13.09 kB / 418.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1676, allocations: 63.77 kB / 418.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.1677, allocations: 75.72 kB / 418.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1678, allocations: 8 kB / 418.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1679, allocations: 71.92 kB / 418.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.168, allocations: 27.91 kB / 418.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.1681, allocations: 49.64 kB / 418.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1683, allocations: 128 kB / 418.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.1683, allocations: 0 / 418.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1683, allocations: 3.938 kB / 418.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1684, allocations: 0 / 418.6 MB, free: 6.098 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.0007737/0.1691, allocations: 480.1 kB / 419.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1692, allocations: 12.03 kB / 419.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.1693, allocations: 19.77 kB / 419.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1696, allocations: 214.9 kB / 419.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1696, allocations: 8 kB / 419.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1697, allocations: 8 kB / 419.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.17, allocations: 132.4 kB / 419.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.17, allocations: 3.938 kB / 419.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1701, allocations: 8 kB / 419.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1701, allocations: 0 / 419.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1703, allocations: 79.78 kB / 419.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.171, allocations: 396.7 kB / 419.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.1712, allocations: 126.5 kB / 420.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.1714, allocations: 109 kB / 420.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.1715, allocations: 0 / 420.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005042/0.172, allocations: 327.6 kB / 420.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.542e-06/0.172, allocations: 0 / 420.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008202/0.1728, allocations: 380.8 kB / 420.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.173, allocations: 225.6 kB / 421.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1732, allocations: 206.2 kB / 421.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1733, allocations: 41.64 kB / 421.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.1734, allocations: 100.1 kB / 421.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.1734, allocations: 43.59 kB / 421.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.1734, allocations: 0 / 421.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1736, allocations: 334.8 kB / 421.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.1737, allocations: 47.92 kB / 421.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1738, allocations: 73.69 kB / 421.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.174, allocations: 113.7 kB / 422 MB, free: 2.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.174, allocations: 0 / 422 MB, free: 2.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003741/0.1744, allocations: 272.7 kB / 422.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.1745, allocations: 67.39 kB / 422.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1745, allocations: 0 / 422.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1745, allocations: 4 kB / 422.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.1746, allocations: 15.92 kB / 422.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1746, allocations: 3.953 kB / 422.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.1749, allocations: 58.09 kB / 422.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.1749, allocations: 8 kB / 422.4 MB, free: 1.914 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.tapChanger.tap,tapChanger.tap,$PRE.tapChanger.abnormalUTime,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,$PRE.tapChanger.furtherTapChangeTimeout,tapChanger.furtherTapChangeTimeout) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.1752, allocations: 221.1 kB / 422.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1752, allocations: 19.81 kB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.1753, allocations: 13.88 kB / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1753, allocations: 0 / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1753, allocations: 7.938 kB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1753, allocations: 11.89 kB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1756, allocations: 257.4 kB / 423 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1756, allocations: 0 / 423 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.1756, allocations: 4 kB / 423 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1756, allocations: 0 / 423 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.1757, allocations: 15.98 kB / 423 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1757, allocations: 0 / 423 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1757, allocations: 0 / 423 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.1764, allocations: 400 kB / 423.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.1765, allocations: 124.8 kB / 423.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.1766, allocations: 12 kB / 423.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1768, allocations: 59.94 kB / 423.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.1769, allocations: 23.97 kB / 423.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.1769, allocations: 8 kB / 423.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1771, allocations: 143.2 kB / 423.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1771, allocations: 4 kB / 423.7 MB, free: 500 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1774, allocations: 64 kB / 423.8 MB, free: 436 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002295/0.1776, allocations: 143.8 kB / 423.9 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.1782, allocations: 386.7 kB / 424.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1782, allocations: 0 / 424.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.1787, allocations: 414.7 kB / 424.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.179, allocations: 19.95 kB / 424.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.1797, allocations: 375.7 kB / 425.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1801, allocations: 0.7238 MB / 425.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.1801, allocations: 11.44 kB / 425.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1801, allocations: 0 / 425.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Templates: time 0.004714/0.1849, allocations: 2.377 MB / 428.2 MB, free: 11.9 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSysPro_PowerSysPro.Tests.VoltageRegulation2CalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Tests.VoltageRegulation2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Tests.VoltageRegulation2CalcHelperMain.o] Error 1