Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 89.8 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.001003/0.001003, allocations: 177.5 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.513/1.513, allocations: 223.2 MB / 241.3 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2751/0.2751, allocations: 8.093 MB / 300.5 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.000399, allocations: 11.98 kB / 363.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 52.51 MB / 416 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002069/0.1326, allocations: 1.628 MB / 417.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1347, allocations: 1.556 MB / 419.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.1348, allocations: 8 kB / 419.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1351, allocations: 95.52 kB / 419.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.1356, allocations: 195.1 kB / 419.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1373, allocations: 0.9774 MB / 420.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.1377, allocations: 330.6 kB / 420.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1379, allocations: 81.56 kB / 420.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.1381, allocations: 143.5 kB / 421 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.1384, allocations: 175.4 kB / 421.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.1385, allocations: 20 kB / 421.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.1389, allocations: 267.7 kB / 421.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.139, allocations: 67.73 kB / 421.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.1391, allocations: 81.58 kB / 421.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.1396, allocations: 407.2 kB / 422 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1396, allocations: 0 / 422 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1396, allocations: 0 / 422 MB, free: 2.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1396, allocations: 0 / 422 MB, free: 2.699 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003577/0.1432, allocations: 1.082 MB / 423.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1433, allocations: 12.03 kB / 423.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1434, allocations: 39.58 kB / 423.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.1438, allocations: 286.3 kB / 423.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.144, allocations: 107.9 kB / 423.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.1441, allocations: 32 kB / 423.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.1456, allocations: 0.7324 MB / 424.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1456, allocations: 0 / 424.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.1457, allocations: 15.95 kB / 424.3 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1457, allocations: 4 kB / 424.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2257/0.3714, allocations: 467.5 kB / 424.7 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.3736, allocations: 1.546 MB / 426.3 MB, free: 40.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.3751, allocations: 0.7303 MB / 427 MB, free: 40.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.3756, allocations: 331.6 kB / 427.3 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.3758, allocations: 91.83 kB / 427.4 MB, free: 40.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/0.3761, allocations: 272.3 kB / 427.7 MB, free: 40.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.3761, allocations: 0 / 427.7 MB, free: 40.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003065/0.3792, allocations: 1.243 MB / 428.9 MB, free: 39.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.3793, allocations: 140.5 kB / 429.1 MB, free: 39.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.3795, allocations: 227 kB / 429.3 MB, free: 39.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.3796, allocations: 35.67 kB / 429.3 MB, free: 39.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.3797, allocations: 159.1 kB / 429.5 MB, free: 39.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.3797, allocations: 109.5 kB / 429.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.3798, allocations: 10.06 kB / 429.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.3798, allocations: 341.8 kB / 429.9 MB, free: 39.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3801, allocations: 209.6 kB / 430.1 MB, free: 39.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.3804, allocations: 334 kB / 430.5 MB, free: 39.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3807, allocations: 238.6 kB / 430.7 MB, free: 39.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3807, allocations: 0 / 430.7 MB, free: 39.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001538/0.3823, allocations: 0.8222 MB / 431.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3823, allocations: 6.5 kB / 431.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3823, allocations: 3.25 kB / 431.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.3842, allocations: 466.9 kB / 432 MB, free: 38.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.3845, allocations: 93.86 kB / 432.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3857, allocations: 0.9036 MB / 433 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.3861, allocations: 52.34 kB / 433 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.3861, allocations: 21.25 kB / 433.1 MB, free: 38.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.3863, allocations: 167.6 kB / 433.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/0.3869, allocations: 261.5 kB / 433.5 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.388, allocations: 0.5868 MB / 434.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.388, allocations: 3.25 kB / 434.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.388, allocations: 3.281 kB / 434.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.388, allocations: 3.422 kB / 434.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.3903, allocations: 1.393 MB / 435.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3903, allocations: 0.75 kB / 435.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.3907, allocations: 93.86 kB / 435.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.3925, allocations: 466.4 kB / 436 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.3925, allocations: 7.375 kB / 436 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.3937, allocations: 0.9047 MB / 436.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3937, allocations: 4.688 kB / 436.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.3958, allocations: 1.011 MB / 437.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.3959, allocations: 112.1 kB / 438.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.396, allocations: 11.28 kB / 438.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.3963, allocations: 48.38 kB / 438.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.3964, allocations: 31.58 kB / 438.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3965, allocations: 18.56 kB / 438.2 MB, free: 36.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3966, allocations: 170.1 kB / 438.3 MB, free: 35.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3966, allocations: 0 / 438.3 MB, free: 35.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.3971, allocations: 109.6 kB / 438.4 MB, free: 35.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002063/0.3973, allocations: 129.2 kB / 438.6 MB, free: 35.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.3989, allocations: 0.6917 MB / 439.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3989, allocations: 0.9375 kB / 439.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.3998, allocations: 323 kB / 439.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.4005, allocations: 165.8 kB / 439.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.4026, allocations: 0.9932 MB / 440.7 MB, free: 34.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.4028, allocations: 0.777 MB / 441.5 MB, free: 34.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4029, allocations: 38.11 kB / 441.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.403, allocations: 0 / 441.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of Templates: time 0.008211/0.4112, allocations: 5.851 MB / 447.4 MB, free: 33.74 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.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.Examples.QfURegulationCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.QfURegulationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.QfURegulationCalcHelperMain.o] Error 1