Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.0009311/0.0009316, allocations: 102.1 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.001462/0.001462, allocations: 172.9 kB / 16.58 MB, free: 6.402 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.981/1.981, allocations: 223.3 MB / 240.6 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2398/0.2398, allocations: 14.23 MB / 305.9 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 8.219 kB / 372.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 53.9 MB / 426.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.001708/0.3499, allocations: 1.478 MB / 427.7 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003115/0.3502, allocations: 169.6 kB / 427.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.3504, allocations: 4.594 kB / 427.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3505, allocations: 19.14 kB / 427.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3506, allocations: 17.94 kB / 428 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.731e-05/0.3507, allocations: 27.97 kB / 428 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3508, allocations: 107.8 kB / 428.1 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.351, allocations: 43.36 kB / 428.1 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.351, allocations: 36.8 kB / 428.2 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3511, allocations: 32.52 kB / 428.2 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3512, allocations: 6.031 kB / 428.2 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.3512, allocations: 0 / 428.2 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.3512, allocations: 10.62 kB / 428.2 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.3512, allocations: 42.27 kB / 428.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.517e-05/0.3513, allocations: 74.39 kB / 428.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3513, allocations: 0.9375 kB / 428.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3513, allocations: 1.188 kB / 428.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3513, allocations: 0 / 428.3 MB, free: 38.64 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004033/0.3518, allocations: 405.3 kB / 428.7 MB, free: 38.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3518, allocations: 9.625 kB / 428.7 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.3518, allocations: 15.7 kB / 428.8 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.352, allocations: 212.8 kB / 429 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3521, allocations: 11.7 kB / 429 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3521, allocations: 10.03 kB / 429 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3523, allocations: 138 kB / 429.1 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3524, allocations: 0 / 429.1 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3524, allocations: 16.39 kB / 429.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3524, allocations: 2.906 kB / 429.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3526, allocations: 65.94 kB / 429.2 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.3531, allocations: 0.6062 MB / 429.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.3534, allocations: 115.2 kB / 429.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.24e-05/0.3535, allocations: 42.78 kB / 430 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3535, allocations: 3.125 kB / 430 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.3535, allocations: 34.56 kB / 430 MB, free: 37.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3535, allocations: 0 / 430 MB, free: 37.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003494/0.3539, allocations: 127.3 kB / 430.1 MB, free: 37.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3539, allocations: 105.8 kB / 430.2 MB, free: 37.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.354, allocations: 156.7 kB / 430.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.354, allocations: 25.7 kB / 430.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.3541, allocations: 121.3 kB / 430.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3541, allocations: 24.27 kB / 430.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.3541, allocations: 0 / 430.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.3542, allocations: 320.8 kB / 430.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.3543, allocations: 25.67 kB / 430.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.3544, allocations: 71.73 kB / 431 MB, free: 36.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.3545, allocations: 39.92 kB / 431 MB, free: 36.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3545, allocations: 0 / 431 MB, free: 36.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002154/0.3547, allocations: 120.2 kB / 431.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3547, allocations: 5.875 kB / 431.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3547, allocations: 3.594 kB / 431.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3548, allocations: 7.062 kB / 431.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3549, allocations: 21.41 kB / 431.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3549, allocations: 10.09 kB / 431.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.355, allocations: 17.44 kB / 431.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.355, allocations: 7.047 kB / 431.2 MB, free: 36.46 MB / 350.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 7.72e-05/0.3551, allocations: 118.6 kB / 431.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.3551, allocations: 13.11 kB / 431.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.3552, allocations: 18.16 kB / 431.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3552, allocations: 4.141 kB / 431.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3552, allocations: 3.938 kB / 431.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3552, allocations: 1.062 kB / 431.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.3554, allocations: 212 kB / 431.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3554, allocations: 2.781 kB / 431.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3555, allocations: 15.38 kB / 431.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3555, allocations: 3.094 kB / 431.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3555, allocations: 3.938 kB / 431.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3555, allocations: 2.875 kB / 431.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3555, allocations: 4.875 kB / 431.6 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.3558, allocations: 238.1 kB / 431.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.3559, allocations: 94.67 kB / 431.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3559, allocations: 7.453 kB / 431.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.356, allocations: 9.375 kB / 431.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.356, allocations: 6.188 kB / 431.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3561, allocations: 5.562 kB / 431.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.3561, allocations: 113 kB / 432 MB, free: 35.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3561, allocations: 0 / 432 MB, free: 35.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.3564, allocations: 16.94 kB / 432.1 MB, free: 35.79 MB / 350.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 8.229e-05/0.3565, allocations: 102.8 kB / 432.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3567, allocations: 69.66 kB / 432.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3567, allocations: 0 / 432.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.3568, allocations: 39.27 kB / 432.3 MB, free: 35.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3571, allocations: 23.3 kB / 432.3 MB, free: 35.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.3576, allocations: 310.4 kB / 432.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3578, allocations: 0.705 MB / 433.3 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3578, allocations: 17.31 kB / 433.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3578, allocations: 3.938 kB / 433.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of Templates: time 0.002685/0.3605, allocations: 1.397 MB / 434.7 MB, free: 34.62 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.makefile make -j1 -f PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLagCalcHelperMain.o] Error 1