Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008387, allocations: 101.9 kB / 15.71 MB, free: 456 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.001088/0.001088, allocations: 176.4 kB / 16.58 MB, free: 6.863 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.528/1.528, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05753/0.05753, allocations: 14.17 MB / 285.2 MB, free: 7.359 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.0004622/0.0004622, allocations: 12 kB / 346.8 MB, free: 19.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.0883, allocations: 51.12 MB / 397.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.000779/0.08912, allocations: 411.1 kB / 398.3 MB, free: 376 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.08931, allocations: 55.83 kB / 398.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.08935, allocations: 0 / 398.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.08937, allocations: 0 / 398.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.08945, allocations: 4 kB / 398.4 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.08957, allocations: 11.98 kB / 398.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.08966, allocations: 19.92 kB / 398.4 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.08974, allocations: 8 kB / 398.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.08977, allocations: 11.94 kB / 398.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.08982, allocations: 3.984 kB / 398.4 MB, free: 260 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.08984, allocations: 4 kB / 398.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-06/0.08985, allocations: 0 / 398.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.08987, allocations: 7.938 kB / 398.4 MB, free: 248 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.0899, allocations: 25.7 kB / 398.5 MB, free: 216 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.413e-05/0.08995, allocations: 19.95 kB / 398.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.08996, allocations: 0 / 398.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08996, allocations: 0 / 398.5 MB, free: 196 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.08997, allocations: 4 kB / 398.5 MB, free: 192 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003681/0.09035, allocations: 335.5 kB / 398.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.09039, allocations: 12.02 kB / 398.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.09042, allocations: 7.938 kB / 398.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.09057, allocations: 167.1 kB / 399 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.09059, allocations: 4 kB / 399 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.09061, allocations: 3.938 kB / 399 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.09079, allocations: 88.12 kB / 399.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.09081, allocations: 0 / 399.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.09082, allocations: 0 / 399.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.09083, allocations: 0 / 399.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.09099, allocations: 43.97 kB / 399.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.09133, allocations: 269.8 kB / 399.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.09149, allocations: 77.17 kB / 399.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.09159, allocations: 37.75 kB / 399.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.09161, allocations: 4 kB / 399.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.09166, allocations: 46.48 kB / 399.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.09166, allocations: 0 / 399.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003089/0.09198, allocations: 97.73 kB / 399.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.09204, allocations: 106.8 kB / 399.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.09211, allocations: 97.86 kB / 399.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.09213, allocations: 25.7 kB / 399.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.09217, allocations: 88.03 kB / 400 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.09219, allocations: 11.91 kB / 400 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.09221, allocations: 4.156 kB / 400 MB, free: 14.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.09231, allocations: 310.8 kB / 400.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.09239, allocations: 19.98 kB / 400.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.09248, allocations: 46.55 kB / 400.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.09256, allocations: 19.98 kB / 400.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09257, allocations: 0 / 400.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001958/0.09277, allocations: 93.58 kB / 400.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.09282, allocations: 93.86 kB / 400.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.09284, allocations: 4 kB / 400.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.09285, allocations: 0 / 400.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.09293, allocations: 11.98 kB / 400.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.09295, allocations: 4.062 kB / 400.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.093, allocations: 8 kB / 400.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.09301, allocations: 7.938 kB / 400.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-06/0.09302, allocations: 4 kB / 400.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.665e-05/0.09311, allocations: 23.92 kB / 400.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.09312, allocations: 4 kB / 400.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/0.09312, allocations: 3.953 kB / 400.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.09316, allocations: 12.05 kB / 400.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-06/0.09317, allocations: 4 kB / 400.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.09321, allocations: 4 kB / 400.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-06/0.09322, allocations: 4 kB / 400.7 MB, free: 13.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.872e-05/0.09331, allocations: 189 kB / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.09334, allocations: 7.906 kB / 400.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.09337, allocations: 19 kB / 400.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.09337, allocations: 0 / 400.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.09338, allocations: 8 kB / 400.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.09339, allocations: 0 / 400.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.09354, allocations: 153.7 kB / 401 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.09355, allocations: 0 / 401 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.09361, allocations: 15.98 kB / 401 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09362, allocations: 0 / 401 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.09363, allocations: 0 / 401 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.09364, allocations: 3.953 kB / 401 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.09364, allocations: 0 / 401 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.09386, allocations: 180.4 kB / 401.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.09391, allocations: 81.05 kB / 401.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.09393, allocations: 7.984 kB / 401.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.094, allocations: 8 kB / 401.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.09405, allocations: 15.94 kB / 401.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.09406, allocations: 0 / 401.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.09409, allocations: 79.28 kB / 401.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.09411, allocations: 0 / 401.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.09436, allocations: 8 kB / 401.4 MB, free: 12.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (3): * Single equations (assignments): 3 * 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.405e-05/0.09445, allocations: 99.19 kB / 401.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.09468, allocations: 64.36 kB / 401.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.0947, allocations: 0 / 401.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.09478, allocations: 36.28 kB / 401.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.09499, allocations: 3.938 kB / 401.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.09529, allocations: 153.1 kB / 401.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.09552, allocations: 0.677 MB / 402.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.09556, allocations: 11.5 kB / 402.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09556, allocations: 4 kB / 402.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Templates: time 0.001618/0.09719, allocations: 0.608 MB / 403.1 MB, free: 11.17 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBandCalcHelperMain.o OMCppPowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBandCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBandCalcHelperMain.o] Error 1