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.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.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 93 kB / 16.37 MB, free: 6.43 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.001272/0.001272, allocations: 190.3 kB / 17.27 MB, free: 6.246 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.528/1.528, allocations: 223.2 MB / 241.3 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06592/0.06592, allocations: 8.104 MB / 300.5 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 363.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3338, allocations: 52.51 MB / 416 MB, free: 24.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001656/0.3355, allocations: 1.315 MB / 417.3 MB, free: 23.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.3365, allocations: 0.585 MB / 417.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.3365, allocations: 0 / 417.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3367, allocations: 115.8 kB / 418 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.337, allocations: 135.6 kB / 418.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3373, allocations: 79.91 kB / 418.2 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3375, allocations: 179.5 kB / 418.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3376, allocations: 20.95 kB / 418.4 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3377, allocations: 99.77 kB / 418.5 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.3379, allocations: 163.6 kB / 418.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.338, allocations: 4 kB / 418.7 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3381, allocations: 71.94 kB / 418.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3382, allocations: 111.6 kB / 418.8 MB, free: 22.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.3383, allocations: 69.52 kB / 418.9 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3385, allocations: 225.6 kB / 419.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3385, allocations: 0 / 419.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3385, allocations: 0 / 419.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3386, allocations: 0 / 419.1 MB, free: 21.81 MB / 302.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.0007742/0.3393, allocations: 0.6568 MB / 419.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3394, allocations: 12.03 kB / 419.8 MB, free: 21.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.3395, allocations: 43.48 kB / 419.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3399, allocations: 357.2 kB / 420.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3399, allocations: 4 kB / 420.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3399, allocations: 4 kB / 420.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.3403, allocations: 177.6 kB / 420.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3403, allocations: 0 / 420.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3403, allocations: 4 kB / 420.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3403, allocations: 8 kB / 420.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3405, allocations: 115.8 kB / 420.5 MB, free: 20.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.3412, allocations: 0.5045 MB / 421 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3414, allocations: 166.5 kB / 421.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3416, allocations: 148.8 kB / 421.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3416, allocations: 4 kB / 421.3 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004193/0.342, allocations: 367.6 kB / 421.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.3421, allocations: 4 kB / 421.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008035/0.3429, allocations: 0.5589 MB / 422.2 MB, free: 18.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.343, allocations: 229.5 kB / 422.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.3435, allocations: 0.5642 MB / 423 MB, free: 17.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3435, allocations: 37.64 kB / 423.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3436, allocations: 196.1 kB / 423.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3437, allocations: 43.53 kB / 423.3 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.3437, allocations: 0 / 423.3 MB, free: 17.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.3438, allocations: 362.8 kB / 423.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.3439, allocations: 95.95 kB / 423.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.344, allocations: 117.7 kB / 423.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3441, allocations: 146.8 kB / 424 MB, free: 16.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3441, allocations: 0 / 424 MB, free: 16.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003795/0.3445, allocations: 428.2 kB / 424.4 MB, free: 16.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.3446, allocations: 71.38 kB / 424.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3446, allocations: 4 kB / 424.5 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3446, allocations: 4 kB / 424.5 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.3447, allocations: 15.98 kB / 424.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3447, allocations: 0 / 424.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3449, allocations: 51.86 kB / 424.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.345, allocations: 16 kB / 424.6 MB, free: 16 MB / 302.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.0002652/0.3452, allocations: 288 kB / 424.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.3453, allocations: 43.53 kB / 424.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.3454, allocations: 47.91 kB / 425 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3454, allocations: 0 / 425 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3454, allocations: 3.953 kB / 425 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3454, allocations: 4 kB / 425 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.3456, allocations: 345.3 kB / 425.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3456, allocations: 3.938 kB / 425.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.3457, allocations: 4 kB / 425.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3457, allocations: 0 / 425.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.3457, allocations: 15.98 kB / 425.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3457, allocations: 0 / 425.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3457, allocations: 0 / 425.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.3464, allocations: 0.5341 MB / 425.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3465, allocations: 156.5 kB / 426 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.3466, allocations: 15.98 kB / 426 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3468, allocations: 51.95 kB / 426.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.3469, allocations: 23.91 kB / 426.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.3469, allocations: 19.98 kB / 426.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.3473, allocations: 411 kB / 426.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3473, allocations: 3.938 kB / 426.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3476, allocations: 80.11 kB / 426.6 MB, free: 13.86 MB / 302.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.0002171/0.3479, allocations: 135.8 kB / 426.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.3484, allocations: 474.7 kB / 427.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3484, allocations: 0 / 427.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.3487, allocations: 454.7 kB / 427.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3491, allocations: 49.16 kB / 427.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3502, allocations: 0.8079 MB / 428.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3505, allocations: 0.7997 MB / 429.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3505, allocations: 19.44 kB / 429.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3505, allocations: 0 / 429.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Templates: time 0.00616/0.3567, allocations: 4.212 MB / 433.5 MB, free: 6.824 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.VoltageRegulation1CalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Tests.VoltageRegulation1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Tests.VoltageRegulation1CalcHelperMain.o] Error 1