Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00306/0.00306, allocations: 193.7 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.865/1.865, allocations: 226.5 MB / 245.3 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 100.1 kB / 297.4 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004633, allocations: 4 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5418, allocations: 51.31 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001909/0.5438, allocations: 1.086 MB / 409.8 MB, free: 26.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.8904/1.434, allocations: 135.4 MB / 0.5324 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/1.434, allocations: 0.5 kB / 0.5324 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.549e-05/1.435, allocations: 6.781 kB / 0.5324 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/1.437, allocations: 326.6 kB / 0.5327 GB, free: 13.35 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/1.439, allocations: 451.1 kB / 0.5332 GB, free: 13.28 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/1.439, allocations: 79.83 kB / 0.5333 GB, free: 13.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/1.439, allocations: 8.734 kB / 0.5333 GB, free: 13.26 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/1.439, allocations: 31.91 kB / 0.5333 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/1.439, allocations: 35 kB / 0.5333 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/1.439, allocations: 3.094 kB / 0.5333 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/1.443, allocations: 1.228 MB / 0.5345 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/1.443, allocations: 20.73 kB / 0.5345 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/1.444, allocations: 51 kB / 0.5346 GB, free: 13.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/1.445, allocations: 0.5206 MB / 0.5351 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.48e-05/1.445, allocations: 0 / 0.5351 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.078e-06/1.445, allocations: 0 / 0.5351 GB, free: 13.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/1.445, allocations: 0 / 0.5351 GB, free: 13.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001149/1.446, allocations: 452.5 kB / 0.5355 GB, free: 12.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.714e-05/1.446, allocations: 8.031 kB / 0.5355 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/1.447, allocations: 67.72 kB / 0.5356 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/1.447, allocations: 192.2 kB / 0.5358 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/1.447, allocations: 7.188 kB / 0.5358 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/1.447, allocations: 2.438 kB / 0.5358 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/1.448, allocations: 77.64 kB / 0.5359 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.448, allocations: 4 kB / 0.5359 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.448, allocations: 0 / 0.5359 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.448, allocations: 1.859 kB / 0.5359 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/1.448, allocations: 45.06 kB / 0.5359 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/1.448, allocations: 189.1 kB / 0.5361 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/1.449, allocations: 122.6 kB / 0.5362 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/1.449, allocations: 32.45 kB / 0.5363 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/1.45, allocations: 134.1 kB / 0.5364 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/1.45, allocations: 40.25 kB / 0.5364 GB, free: 11.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.644e-06/1.45, allocations: 0 / 0.5364 GB, free: 11.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004758/1.45, allocations: 114.8 kB / 0.5365 GB, free: 11.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/1.45, allocations: 77.11 kB / 0.5366 GB, free: 11.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/1.45, allocations: 141.8 kB / 0.5367 GB, free: 11.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/1.45, allocations: 28.58 kB / 0.5368 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/1.451, allocations: 89.77 kB / 0.5368 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/1.451, allocations: 30.03 kB / 0.5369 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/1.451, allocations: 5.531 kB / 0.5369 GB, free: 11.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002571/1.451, allocations: 315.4 kB / 0.5372 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/1.451, allocations: 25.62 kB / 0.5372 GB, free: 11.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/1.451, allocations: 46.22 kB / 0.5373 GB, free: 11.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/1.451, allocations: 91.81 kB / 0.5373 GB, free: 11.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.451, allocations: 0 / 0.5373 GB, free: 11.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002896/1.452, allocations: 105.2 kB / 0.5374 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/1.452, allocations: 7.672 kB / 0.5374 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.452, allocations: 2.656 kB / 0.5374 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/1.452, allocations: 0 / 0.5374 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/1.452, allocations: 17.58 kB / 0.5375 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.452, allocations: 11.31 kB / 0.5375 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/1.452, allocations: 3.938 kB / 0.5375 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/1.452, allocations: 5.422 kB / 0.5375 GB, free: 11.16 MB / 394.7 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 (8): * Single equations (assignments): 8 * 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.0001669/1.452, allocations: 124.5 kB / 0.5376 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/1.452, allocations: 6.594 kB / 0.5376 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/1.453, allocations: 110.4 kB / 0.5377 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.453, allocations: 2.25 kB / 0.5377 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.453, allocations: 8.422 kB / 0.5377 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.453, allocations: 92.39 kB / 0.5378 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/1.453, allocations: 2.906 kB / 0.5378 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/1.453, allocations: 2.438 kB / 0.5378 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/1.453, allocations: 11.12 kB / 0.5378 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005684/1.453, allocations: 269.2 kB / 0.5381 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000598/1.454, allocations: 374.9 kB / 0.5384 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.427e-05/1.454, allocations: 34.58 kB / 0.5385 GB, free: 10.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001274/1.454, allocations: 113.1 kB / 0.5386 GB, free: 10.34 MB / 394.7 MB Notification: Performance of Backend: time 9.52e-07/1.454, allocations: 0 / 0.5386 GB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0025/1.457, allocations: 460 kB / 0.539 GB, free: 10.21 MB / 394.7 MB Notification: Performance of SimCode: time 0.001423/1.458, allocations: 0.8528 MB / 0.5399 GB, free: 9.445 MB / 394.7 MB Error: Internal error GetVarIndexListByMapping: No Element for h1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: h1 (no alias) initial: h_min no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for s1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: s1 (no alias) initial: s_min no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.h1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: $DER.h1 (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.s1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: $DER.s1 (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for Th found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: Th (no alias) initial: 288.15 no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for Ts found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: Ts (no alias) initial: 288.15 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for h2 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: h2 (no alias) initial: no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for s2 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: s2 (no alias) initial: no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for T_max found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: T_max (no alias) initial: 500.0 no arrCref index:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for T_min found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: T_min (no alias) initial: 300.0 no arrCref index:(10) [] Error: Internal error GetVarIndexListByMapping: No Element for X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: X[1] (no alias) initial: 0.768 arrCref:X index:(11) [4] Error: Internal error GetVarIndexListByMapping: No Element for X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: X[2] (no alias) initial: 0.232 no arrCref index:(12) [4] Error: Internal error GetVarIndexListByMapping: No Element for X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:4: X[3] (no alias) initial: 0.0 no arrCref index:(13) [4] Error: Internal error GetVarIndexListByMapping: No Element for X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:5: X[4] (no alias) initial: 0.0 no arrCref index:(14) [4] Error: Internal error GetVarIndexListByMapping: No Element for h_max found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:6: h_max (no alias) initial: no arrCref index:(15) [] Error: Internal error GetVarIndexListByMapping: No Element for h_min found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:7: h_min (no alias) initial: no arrCref index:(16) [] Error: Internal error GetVarIndexListByMapping: No Element for p found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:8: p (no alias) initial: 100000.0 no arrCref index:(17) [] Error: Internal error GetVarIndexListByMapping: No Element for s_max found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:9: s_max (no alias) initial: no arrCref index:(18) [] Error: Internal error GetVarIndexListByMapping: No Element for s_min found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:10: s_min (no alias) initial: no arrCref index:(19) [] Error: Internal error GetVarIndexListByMapping: No Element for X found! Error: Internal error GetVarIndexListByMapping: No Element for h1 found! Error: Internal error GetVarIndexListByMapping: No Element for s1 found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.h1 found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.s1 found! Error: Internal error GetVarIndexListByMapping: No Element for Th found! Error: Internal error GetVarIndexListByMapping: No Element for Ts found! Error: Internal error GetVarIndexListByMapping: No Element for h2 found! Error: Internal error GetVarIndexListByMapping: No Element for s2 found! Error: Internal error GetVarIndexListByMapping: No Element for T_max found! Error: Internal error GetVarIndexListByMapping: No Element for T_min found! Error: Internal error GetVarIndexListByMapping: No Element for h_max found! Error: Internal error GetVarIndexListByMapping: No Element for h_min found! Error: Internal error GetVarIndexListByMapping: No Element for p found! Error: Internal error GetVarIndexListByMapping: No Element for s_max found! Error: Internal error GetVarIndexListByMapping: No Element for s_min found!