Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4.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.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 103.9 kB / 18.35 MB, free: 4.684 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.00154/0.00154, allocations: 190.9 kB / 19.29 MB, free: 3.754 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.416/1.416, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06205/0.06205, allocations: 14.17 MB / 286.7 MB, free: 13.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.605/3.605, allocations: 461.2 MB / 0.78 GB, free: 107.3 MB / 0.6546 GB 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: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 83.88 kB / 0.963 GB, free: 2.043 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 172.1 MB / 1.131 GB, free: 29.17 MB / 0.8736 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4): time 2.004/3.124, allocations: 0.7899 GB / 1.921 GB, free: 7.637 MB / 1.296 GB Notification: Performance of NFInst.instExpressions: time 1.593/4.717, allocations: 279.1 MB / 2.194 GB, free: 200 kB / 1.546 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2018/4.919, allocations: 2.771 MB / 2.196 GB, free: 200 kB / 1.546 GB Notification: Performance of NFTyping.typeComponents: time 0.1495/5.069, allocations: 42.09 MB / 2.237 GB, free: 15.5 MB / 1.562 GB Notification: Performance of NFTyping.typeBindings: time 0.3836/5.452, allocations: 108.3 MB / 2.343 GB, free: 5.449 MB / 1.562 GB Notification: Performance of NFTyping.typeClassSections: time 0.1095/5.562, allocations: 29.99 MB / 2.372 GB, free: 14.32 MB / 1.577 GB Notification: Performance of NFFlatten.flatten: time 0.462/6.024, allocations: 271 MB / 2.637 GB, free: 3.676 MB / 1.78 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1059/6.13, allocations: 28.1 MB / 2.665 GB, free: 7.77 MB / 1.812 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2042/6.334, allocations: 88.89 MB / 2.751 GB, free: 15.88 MB / 1.905 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1811/6.515, allocations: 96.7 MB / 2.846 GB, free: 1.77 MB / 1.983 GB Notification: Performance of NFPackage.collectConstants: time 0.05913/6.574, allocations: 12.16 MB / 2.858 GB, free: 5.605 MB / 1.999 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1289/6.703, allocations: 22.69 MB / 2.88 GB, free: 14.92 MB / 2.03 GB Notification: Performance of NFScalarize.scalarize: time 0.05749/6.761, allocations: 27.76 MB / 2.907 GB, free: 3.934 MB / 2.046 GB Notification: Performance of NFVerifyModel.verify: time 1.443/8.204, allocations: 84.44 MB / 2.989 GB, free: 223.3 MB / 2.046 GB Notification: Performance of NFConvertDAE.convert: time 0.3591/8.563, allocations: 197.5 MB / 3.182 GB, free: 189.1 MB / 2.046 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/8.563, allocations: 2.844 kB / 3.182 GB, free: 189.1 MB / 2.046 GB Notification: Performance of FrontEnd: time 2.224e-06/8.563, allocations: 3.938 kB / 3.182 GB, free: 189.1 MB / 2.046 GB Notification: Performance of Transformations before backend: time 0.00783/8.571, allocations: 0 / 3.182 GB, free: 189.1 MB / 2.046 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28285 * Number of variables: 28285 Notification: Performance of Generate backend data structure: time 0.8636/9.434, allocations: 205.8 MB / 3.383 GB, free: 103.8 MB / 2.046 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/9.435, allocations: 14.55 kB / 3.383 GB, free: 103.8 MB / 2.046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1305/9.565, allocations: 21.15 MB / 3.404 GB, free: 85.15 MB / 2.046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2704/9.836, allocations: 85.77 MB / 3.488 GB, free: 28.52 MB / 2.046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01151/9.847, allocations: 8.272 MB / 3.496 GB, free: 20.25 MB / 2.046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04867/9.896, allocations: 10.91 MB / 3.506 GB, free: 9.332 MB / 2.046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3749/10.27, allocations: 114.6 MB / 3.618 GB, free: 2.449 MB / 2.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00769/10.28, allocations: 233.8 kB / 3.619 GB, free: 2.359 MB / 2.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03736/10.32, allocations: 4.469 MB / 3.623 GB, free: 13.9 MB / 2.171 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/10.32, allocations: 2.68 MB / 3.626 GB, free: 11.22 MB / 2.171 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.103/11.42, allocations: 108.7 MB / 3.732 GB, free: 0.8783 GB / 2.171 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.331/12.75, allocations: 0.7414 GB / 4.473 GB, free: 280.2 MB / 2.171 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5212/13.27, allocations: 255.4 MB / 4.722 GB, free: 68.02 MB / 2.171 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1182/13.39, allocations: 51.62 MB / 4.773 GB, free: 16.35 MB / 2.171 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/13.41, allocations: 1.325 MB / 4.774 GB, free: 15.07 MB / 2.171 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/13.41, allocations: 1.23 MB / 4.775 GB, free: 13.83 MB / 2.171 GB Notification: Performance of pre-optimization done (n=11801): time 0.0002151/13.41, allocations: 0 / 4.775 GB, free: 13.83 MB / 2.171 GB Notification: Performance of matching and sorting (n=11801): time 1.503/14.91, allocations: 153.7 MB / 4.925 GB, free: 0.8552 GB / 2.171 GB Warning: Out of memory! Faking a stack overflow. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:161:5-161:157:writable] Error: Internal error Stack overflow in DAEMode.getEqSystemDAEmode... [bt] #1 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_out_of_memory) [bt] #4 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so() [bt] #5 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.addVariables) [bt] #6 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(HpcOmTaskGraph.createTaskGraph1) [bt] #7 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(List.fold) [bt] #8 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(HpcOmTaskGraph.createTaskGraph0) [bt] #9 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEOptimize.evaluateOutputsOnly) [bt] #10 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(DAEMode.getEqSystemDAEmode) [bt] #11 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModelCallBackendOBDAEMode) [bt] #12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModel) [bt] #13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.translateModel) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.cevalInteractiveFunctions3) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions2) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions) [bt] #17 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #28 /lib/x86_64-linux-gnu/libc.so.6() [bt] #29 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #30 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc() Error: Internal error SimCode DAEmode: The model ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4 could not be translated