Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.0007986/0.0007987, allocations: 91.33 kB / 16.33 MB, free: 6.344 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.001164/0.001165, allocations: 185.3 kB / 17.23 MB, free: 6.234 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.533/1.533, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05565/0.05564, allocations: 14.18 MB / 285.8 MB, free: 7.113 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.0006188/0.0006188, allocations: 12 kB / 349.5 MB, free: 17.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 51.12 MB / 400.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001826/0.1087, allocations: 1.464 MB / 402 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.109, allocations: 151.5 kB / 402.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.109, allocations: 0 / 402.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.271e-05/0.1091, allocations: 15.86 kB / 402.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.1092, allocations: 15.86 kB / 402.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.487e-05/0.1093, allocations: 31.95 kB / 402.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1095, allocations: 111.6 kB / 402.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1096, allocations: 41.41 kB / 402.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.1096, allocations: 35.84 kB / 402.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.1097, allocations: 39.78 kB / 402.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1098, allocations: 0 / 402.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.1098, allocations: 4 kB / 402.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.1098, allocations: 23.84 kB / 402.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1098, allocations: 37.64 kB / 402.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.582e-05/0.1099, allocations: 75.84 kB / 402.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1099, allocations: 0 / 402.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1099, allocations: 4 kB / 402.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.11, allocations: 0 / 402.6 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004711/0.1104, allocations: 403 kB / 403 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1105, allocations: 12.02 kB / 403 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1105, allocations: 15.81 kB / 403 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1107, allocations: 215.3 kB / 403.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1108, allocations: 8 kB / 403.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.1108, allocations: 19.94 kB / 403.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.111, allocations: 116.2 kB / 403.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.111, allocations: 0 / 403.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1111, allocations: 4 kB / 403.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1111, allocations: 7.938 kB / 403.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.1112, allocations: 59.97 kB / 403.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.1118, allocations: 445.3 kB / 403.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1122, allocations: 131.8 kB / 404 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1123, allocations: 58.44 kB / 404.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1123, allocations: 0 / 404.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1124, allocations: 38.55 kB / 404.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.1124, allocations: 0 / 404.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003386/0.1127, allocations: 129.6 kB / 404.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.1128, allocations: 106.8 kB / 404.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1129, allocations: 155 kB / 404.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.113, allocations: 25.7 kB / 404.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.113, allocations: 115.9 kB / 404.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1131, allocations: 23.89 kB / 404.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.1131, allocations: 8 kB / 404.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1132, allocations: 318.8 kB / 405 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.1133, allocations: 31.97 kB / 405 MB, free: 9.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.1134, allocations: 57.14 kB / 405.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.574e-05/0.1135, allocations: 36.02 kB / 405.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1135, allocations: 0 / 405.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003443/0.1139, allocations: 146.2 kB / 405.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1139, allocations: 4 kB / 405.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1139, allocations: 4 kB / 405.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.1141, allocations: 32.83 kB / 405.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.1142, allocations: 19.92 kB / 405.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.1154, allocations: 1.359 MB / 406.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.1155, allocations: 11.97 kB / 406.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1155, allocations: 8 kB / 406.7 MB, free: 8.121 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.0001243/0.1157, allocations: 126.9 kB / 406.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.1157, allocations: 15.8 kB / 406.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.1157, allocations: 16.31 kB / 406.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1157, allocations: 0 / 406.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1158, allocations: 4 kB / 406.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1158, allocations: 0 / 406.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.116, allocations: 213.5 kB / 407 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.116, allocations: 4 kB / 407.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1161, allocations: 15.98 kB / 407.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1162, allocations: 4 kB / 407.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1162, allocations: 0 / 407.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1162, allocations: 0 / 407.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1162, allocations: 192 / 407.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.1176, allocations: 1.271 MB / 408.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.1176, allocations: 88.98 kB / 408.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1176, allocations: 4 kB / 408.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.1177, allocations: 7.984 kB / 408.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1178, allocations: 12.09 kB / 408.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1178, allocations: 0 / 408.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.243e-05/0.1179, allocations: 120.5 kB / 408.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1179, allocations: 0 / 408.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00033/0.1182, allocations: 24 kB / 408.6 MB, free: 5.988 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.0001046/0.1184, allocations: 99.19 kB / 408.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.1188, allocations: 214.6 kB / 408.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1188, allocations: 0 / 408.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.446e-05/0.1189, allocations: 31.92 kB / 408.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1193, allocations: 27.94 kB / 409 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.1199, allocations: 436.2 kB / 409.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1203, allocations: 0.7082 MB / 410.1 MB, free: 4.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1203, allocations: 15.44 kB / 410.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of SimCode: time 2.736e-06/0.1203, allocations: 0 / 410.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of Templates: time 0.003506/0.1238, allocations: 1.718 MB / 411.8 MB, free: 2.652 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile make -j1 -f PowerGrids_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagCalcHelperMain.o] Error 1