Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLag.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008588, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008996/0.0009001, allocations: 178.8 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05695/0.05695, allocations: 14.17 MB / 285.2 MB, free: 7.133 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.000477, allocations: 19.94 kB / 348.8 MB, free: 17.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09401, allocations: 51.11 MB / 399.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002054/0.09611, allocations: 1.471 MB / 401.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.09646, allocations: 151.5 kB / 401.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.09657, allocations: 4 kB / 401.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.0967, allocations: 11.86 kB / 401.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.09684, allocations: 19.86 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.648e-05/0.09692, allocations: 23.97 kB / 401.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.09708, allocations: 111.7 kB / 401.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.09722, allocations: 53.38 kB / 401.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.09728, allocations: 31.8 kB / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.324e-05/0.09738, allocations: 39.78 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.09741, allocations: 4 kB / 401.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.09742, allocations: 0 / 401.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.09745, allocations: 19.8 kB / 401.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.09753, allocations: 45.64 kB / 401.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.917e-05/0.09763, allocations: 71.84 kB / 402 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09765, allocations: 4 kB / 402 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09765, allocations: 4 kB / 402 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.09766, allocations: 0 / 402 MB, free: 12.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005365/0.0982, allocations: 399 kB / 402.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.09825, allocations: 16.02 kB / 402.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.09829, allocations: 11.81 kB / 402.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.09854, allocations: 219.3 kB / 402.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.09857, allocations: 8 kB / 402.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.09861, allocations: 15.95 kB / 402.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.09885, allocations: 116.2 kB / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.09887, allocations: 0 / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.09889, allocations: 0 / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.0989, allocations: 4 kB / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.09908, allocations: 71.89 kB / 402.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.09971, allocations: 453.2 kB / 403.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.1001, allocations: 127.8 kB / 403.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1002, allocations: 50.61 kB / 403.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1002, allocations: 7.938 kB / 403.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.1002, allocations: 30.56 kB / 403.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1003, allocations: 0 / 403.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003738/0.1006, allocations: 133.8 kB / 403.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.1007, allocations: 106.8 kB / 403.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1009, allocations: 151 kB / 403.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1009, allocations: 29.64 kB / 403.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.101, allocations: 115.9 kB / 404 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.101, allocations: 27.89 kB / 404 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.101, allocations: 4 kB / 404 MB, free: 10.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1011, allocations: 322.8 kB / 404.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.1012, allocations: 27.98 kB / 404.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1013, allocations: 61.14 kB / 404.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/0.1014, allocations: 32.02 kB / 404.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1014, allocations: 0 / 404.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003333/0.1018, allocations: 146.2 kB / 404.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1018, allocations: 8.188 kB / 404.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1018, allocations: 0 / 404.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.102, allocations: 36.77 kB / 404.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.1021, allocations: 19.92 kB / 404.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.1032, allocations: 1.359 MB / 406 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.1033, allocations: 11.97 kB / 406 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1033, allocations: 8.062 kB / 406 MB, free: 8.133 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.1034, allocations: 134.6 kB / 406.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.1035, allocations: 11.81 kB / 406.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.1035, allocations: 16.31 kB / 406.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1035, allocations: 4 kB / 406.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1035, allocations: 0 / 406.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1035, allocations: 0 / 406.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.1037, allocations: 209.6 kB / 406.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1038, allocations: 4 kB / 406.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1039, allocations: 15.98 kB / 406.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1039, allocations: 4 kB / 406.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1039, allocations: 3.984 kB / 406.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1039, allocations: 128 / 406.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1039, allocations: 8 kB / 406.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.1042, allocations: 237 kB / 406.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1043, allocations: 93.03 kB / 406.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1043, allocations: 0 / 406.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.1044, allocations: 4 kB / 406.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1045, allocations: 16.05 kB / 406.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1045, allocations: 4 kB / 406.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.874e-05/0.1046, allocations: 120.5 kB / 406.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1046, allocations: 0 / 406.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1048, allocations: 23.84 kB / 406.9 MB, free: 7.145 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001081/0.1049, allocations: 99.19 kB / 407 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.1054, allocations: 202.6 kB / 407.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1054, allocations: 3.938 kB / 407.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.1055, allocations: 31.98 kB / 407.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1058, allocations: 23.94 kB / 407.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.1064, allocations: 317.4 kB / 407.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1067, allocations: 0.7089 MB / 408.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.1067, allocations: 11.44 kB / 408.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1067, allocations: 0 / 408.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of Templates: time 0.003173/0.1099, allocations: 1.695 MB / 410 MB, free: 3.977 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.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 OMCppPowerGrids_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.o OMCppPowerGrids_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.o] Error 1