Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 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.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001044/0.001044, allocations: 100.1 kB / 15.71 MB, free: 448 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.001762/0.001762, allocations: 177.2 kB / 16.59 MB, free: 6.859 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.746/1.746, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.3466/0.3466, allocations: 14.22 MB / 305.9 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006247/0.0006251, allocations: 12 kB / 372.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4749, allocations: 53.9 MB / 426.3 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002032/0.4769, allocations: 1.464 MB / 427.7 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.4773, allocations: 141 kB / 427.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.881e-05/0.4774, allocations: 7.281 kB / 427.9 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.4776, allocations: 14.95 kB / 427.9 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.4777, allocations: 24.92 kB / 427.9 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.142e-05/0.4779, allocations: 24.45 kB / 428 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.478, allocations: 110.3 kB / 428.1 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.4782, allocations: 50.91 kB / 428.1 MB, free: 38.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.4783, allocations: 38.17 kB / 428.1 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4784, allocations: 40.86 kB / 428.2 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.4784, allocations: 4.906 kB / 428.2 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.4784, allocations: 0 / 428.2 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.4784, allocations: 13.5 kB / 428.2 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.4785, allocations: 45.42 kB / 428.2 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.4786, allocations: 81.73 kB / 428.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.4786, allocations: 3.094 kB / 428.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.4786, allocations: 0 / 428.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4787, allocations: 0 / 428.3 MB, free: 38.83 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005191/0.4792, allocations: 408.1 kB / 428.7 MB, free: 38.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4792, allocations: 9.062 kB / 428.7 MB, free: 38.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.4793, allocations: 14.47 kB / 428.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4795, allocations: 216.5 kB / 429 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4795, allocations: 5.844 kB / 429 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4795, allocations: 10.72 kB / 429 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.4798, allocations: 119.7 kB / 429.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4798, allocations: 0.5312 kB / 429.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.4798, allocations: 9.188 kB / 429.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4798, allocations: 1.922 kB / 429.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.48, allocations: 70.97 kB / 429.2 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.4806, allocations: 446.2 kB / 429.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.4809, allocations: 124.2 kB / 429.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.4811, allocations: 51.59 kB / 429.8 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.4811, allocations: 0.5156 kB / 429.8 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4811, allocations: 44.81 kB / 429.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4811, allocations: 0 / 429.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003502/0.4815, allocations: 127.6 kB / 430 MB, free: 37.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.4815, allocations: 102.8 kB / 430.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4816, allocations: 161.9 kB / 430.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.4817, allocations: 25.7 kB / 430.2 MB, free: 37.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.4817, allocations: 109.5 kB / 430.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.4818, allocations: 24.34 kB / 430.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.4818, allocations: 3.375 kB / 430.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.4818, allocations: 319.9 kB / 430.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.4819, allocations: 32.03 kB / 430.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.482, allocations: 65.31 kB / 430.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.4821, allocations: 30.44 kB / 430.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4821, allocations: 0 / 430.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003159/0.4824, allocations: 144.2 kB / 431 MB, free: 36.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4825, allocations: 9.734 kB / 431 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4825, allocations: 0 / 431 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.4827, allocations: 43.03 kB / 431 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.4828, allocations: 17.98 kB / 431 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.4836, allocations: 1.362 MB / 432.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.4837, allocations: 10.97 kB / 432.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4838, allocations: 2.969 kB / 432.4 MB, free: 35.57 MB / 350.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 8.105e-05/0.4839, allocations: 129.5 kB / 432.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.4839, allocations: 17.08 kB / 432.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.4839, allocations: 10.81 kB / 432.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4839, allocations: 4.062 kB / 432.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4839, allocations: 3.25 kB / 432.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4839, allocations: 3.328 kB / 432.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.4841, allocations: 210.5 kB / 432.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4841, allocations: 0 / 432.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.4843, allocations: 21.02 kB / 432.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4843, allocations: 0 / 432.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4843, allocations: 7.328 kB / 432.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4843, allocations: 2.906 kB / 432.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4843, allocations: 0 / 432.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.4846, allocations: 236.5 kB / 433 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.4846, allocations: 92.69 kB / 433.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.4847, allocations: 10.44 kB / 433.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.4848, allocations: 14.14 kB / 433.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.4848, allocations: 3 kB / 433.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.4848, allocations: 6.188 kB / 433.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.2e-05/0.4849, allocations: 115.9 kB / 433.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4849, allocations: 2.844 kB / 433.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.4852, allocations: 21.66 kB / 433.3 MB, free: 34.89 MB / 350.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.000106/0.4853, allocations: 97.22 kB / 433.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.4857, allocations: 202.5 kB / 433.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4857, allocations: 2.969 kB / 433.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.4858, allocations: 39.98 kB / 433.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4862, allocations: 21.27 kB / 433.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.4867, allocations: 318.7 kB / 434 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.4869, allocations: 0.7079 MB / 434.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.4869, allocations: 13.03 kB / 434.7 MB, free: 33.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4869, allocations: 0 / 434.7 MB, free: 33.74 MB / 350.1 MB Notification: Performance of Templates: time 0.003411/0.4903, allocations: 1.7 MB / 436.4 MB, free: 33.62 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.makefile make -j1 -f PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.o] Error 1