Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.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.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007931/0.000793, allocations: 102.7 kB / 15.71 MB, free: 460 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.001577/0.001577, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.473/1.473, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05935/0.05936, allocations: 14.16 MB / 285.2 MB, free: 7.121 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.000504/0.0005041, allocations: 16 kB / 348.8 MB, free: 17.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 51.11 MB / 399.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002448/0.1184, allocations: 1.49 MB / 401.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.119, allocations: 159.5 kB / 401.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.1192, allocations: 7.938 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1194, allocations: 15.86 kB / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1195, allocations: 15.86 kB / 401.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1197, allocations: 31.95 kB / 401.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1199, allocations: 99.7 kB / 401.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.1201, allocations: 53.42 kB / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.1202, allocations: 35.8 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1203, allocations: 31.8 kB / 401.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1203, allocations: 3.938 kB / 401.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.1203, allocations: 4 kB / 401.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1204, allocations: 15.92 kB / 401.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.1204, allocations: 41.64 kB / 401.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1206, allocations: 71.8 kB / 402 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1206, allocations: 0 / 402 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1206, allocations: 0 / 402 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1206, allocations: 0 / 402 MB, free: 12.63 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000603/0.1212, allocations: 403.1 kB / 402.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1213, allocations: 12.02 kB / 402.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.1213, allocations: 15.81 kB / 402.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1217, allocations: 214.8 kB / 402.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1217, allocations: 12.14 kB / 402.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.1217, allocations: 8 kB / 402.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.122, allocations: 135.2 kB / 402.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.122, allocations: 4 kB / 402.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1221, allocations: 0 / 402.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1221, allocations: 4 kB / 402.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.1223, allocations: 75.83 kB / 402.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.1231, allocations: 0.5913 MB / 403.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1234, allocations: 111.8 kB / 403.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1235, allocations: 50.81 kB / 403.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1235, allocations: 7.969 kB / 403.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1236, allocations: 46.45 kB / 403.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1236, allocations: 0 / 403.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.000361/0.1239, allocations: 117.7 kB / 403.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.124, allocations: 106.8 kB / 403.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1242, allocations: 150.4 kB / 404 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1242, allocations: 25.7 kB / 404.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.618e-05/0.1243, allocations: 119.8 kB / 404.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1243, allocations: 23.91 kB / 404.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.1243, allocations: 8 kB / 404.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1245, allocations: 322.8 kB / 404.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.1246, allocations: 23.98 kB / 404.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1247, allocations: 81.86 kB / 404.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.1248, allocations: 24 kB / 404.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1248, allocations: 0 / 404.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002608/0.1251, allocations: 129.5 kB / 404.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1251, allocations: 4 kB / 404.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1252, allocations: 3.953 kB / 404.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1252, allocations: 7.984 kB / 404.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1253, allocations: 27.92 kB / 404.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1253, allocations: 3.938 kB / 404.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.1254, allocations: 20 kB / 404.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1255, allocations: 8.312 kB / 404.8 MB, free: 9.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001252/0.1256, allocations: 129.8 kB / 405 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1256, allocations: 7.906 kB / 405 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1257, allocations: 12.31 kB / 405 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1257, allocations: 3.953 kB / 405 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1257, allocations: 0 / 405 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1257, allocations: 0 / 405 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.126, allocations: 205.6 kB / 405.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.126, allocations: 4 kB / 405.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1261, allocations: 23.92 kB / 405.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1261, allocations: 0 / 405.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1261, allocations: 4 kB / 405.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1261, allocations: 0 / 405.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1261, allocations: 3.953 kB / 405.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.1265, allocations: 233.1 kB / 405.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.1266, allocations: 88.95 kB / 405.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1267, allocations: 4 kB / 405.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.1268, allocations: 4 kB / 405.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.1268, allocations: 19.94 kB / 405.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.1268, allocations: 4 kB / 405.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.338e-05/0.1269, allocations: 111.2 kB / 405.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1269, allocations: 0 / 405.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1272, allocations: 19.94 kB / 405.7 MB, free: 8.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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.0001396/0.1274, allocations: 95.25 kB / 405.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1276, allocations: 72.09 kB / 405.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1276, allocations: 3.938 kB / 405.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.1277, allocations: 35.91 kB / 405.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1281, allocations: 19.98 kB / 405.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.1288, allocations: 305.2 kB / 406.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1291, allocations: 0.7089 MB / 406.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.1292, allocations: 19.44 kB / 406.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1292, allocations: 0 / 406.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of Templates: time 0.003613/0.1328, allocations: 1.385 MB / 408.3 MB, free: 5.789 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.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.TestDerivativeLagCalcHelperMain.o OMCppPowerGrids_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.o] Error 1