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.001744/0.001743, allocations: 110.6 kB / 18.42 MB, free: 4.688 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.002754/0.002754, allocations: 181.5 kB / 19.34 MB, free: 3.77 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.475/1.475, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06397/0.06397, allocations: 14.17 MB / 286.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.158/3.158, allocations: 461.2 MB / 0.7801 GB, free: 107.2 MB / 0.6545 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.002083/0.002083, allocations: 88.92 kB / 1.132 GB, free: 21.55 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3697, allocations: 172.1 MB / 1.3 GB, free: 6.395 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4): time 2.029/2.399, allocations: 0.79 GB / 2.09 GB, free: 8.578 MB / 1.562 GB Notification: Performance of NFInst.instExpressions: time 1.605/4.004, allocations: 279.1 MB / 2.363 GB, free: 14.18 MB / 1.718 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1917/4.196, allocations: 2.776 MB / 2.366 GB, free: 14.18 MB / 1.718 GB Notification: Performance of NFTyping.typeComponents: time 0.1454/4.341, allocations: 42.16 MB / 2.407 GB, free: 13.38 MB / 1.718 GB Notification: Performance of NFTyping.typeBindings: time 0.4012/4.742, allocations: 115.6 MB / 2.52 GB, free: 12.37 MB / 1.765 GB Notification: Performance of NFTyping.typeClassSections: time 0.1021/4.844, allocations: 29.99 MB / 2.549 GB, free: 4.559 MB / 1.78 GB Notification: Performance of NFFlatten.flatten: time 0.4301/5.275, allocations: 271.1 MB / 2.814 GB, free: 5.996 MB / 2.015 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09633/5.371, allocations: 28.1 MB / 2.841 GB, free: 10.09 MB / 2.046 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1771/5.548, allocations: 90.82 MB / 2.93 GB, free: 272 kB / 2.124 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1706/5.719, allocations: 96.68 MB / 3.024 GB, free: 2.109 MB / 2.218 GB Notification: Performance of NFPackage.collectConstants: time 0.05755/5.776, allocations: 12.16 MB / 3.036 GB, free: 5.949 MB / 2.233 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27/7.046, allocations: 22.7 MB / 3.058 GB, free: 210.2 MB / 2.233 GB Notification: Performance of NFScalarize.scalarize: time 0.05617/7.103, allocations: 27.77 MB / 3.085 GB, free: 210.2 MB / 2.233 GB Notification: Performance of NFVerifyModel.verify: time 0.2048/7.307, allocations: 84.44 MB / 3.168 GB, free: 202.3 MB / 2.233 GB Notification: Performance of NFConvertDAE.convert: time 0.3686/7.676, allocations: 205.2 MB / 3.368 GB, free: 169.5 MB / 2.233 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/7.676, allocations: 2.375 kB / 3.368 GB, free: 169.5 MB / 2.233 GB Notification: Performance of FrontEnd: time 1.643e-06/7.676, allocations: 0 / 3.368 GB, free: 169.5 MB / 2.233 GB Notification: Performance of Transformations before backend: time 0.007884/7.684, allocations: 0 / 3.368 GB, free: 169.5 MB / 2.233 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.854/8.538, allocations: 204.1 MB / 3.568 GB, free: 77.38 MB / 2.233 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/8.538, allocations: 8.031 kB / 3.568 GB, free: 77.37 MB / 2.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1298/8.668, allocations: 21.15 MB / 3.588 GB, free: 57.09 MB / 2.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2646/8.933, allocations: 85.78 MB / 3.672 GB, free: 15.47 MB / 2.249 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01159/8.944, allocations: 8.274 MB / 3.68 GB, free: 7.195 MB / 2.249 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04159/8.986, allocations: 10.91 MB / 3.691 GB, free: 12.28 MB / 2.265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3759/9.362, allocations: 114.6 MB / 3.803 GB, free: 5.414 MB / 2.374 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.007219/9.369, allocations: 230.2 kB / 3.803 GB, free: 5.324 MB / 2.374 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03562/9.405, allocations: 4.467 MB / 3.807 GB, free: 0.8594 MB / 2.374 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002412/9.407, allocations: 2.682 MB / 3.81 GB, free: 14.18 MB / 2.39 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.294/10.7, allocations: 108.7 MB / 3.916 GB, free: 0.9289 GB / 2.405 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.357/12.06, allocations: 0.7414 GB / 4.657 GB, free: 355.8 MB / 2.405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5303/12.59, allocations: 255.4 MB / 4.907 GB, free: 171.9 MB / 2.405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1292/12.72, allocations: 51.62 MB / 4.957 GB, free: 120.3 MB / 2.405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/12.73, allocations: 1.326 MB / 4.958 GB, free: 119 MB / 2.405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002298/12.73, allocations: 1.23 MB / 4.96 GB, free: 117.8 MB / 2.405 GB Notification: Performance of pre-optimization done (n=11801): time 0.0008826/12.73, allocations: 0 / 4.96 GB, free: 117.8 MB / 2.405 GB Notification: Performance of matching and sorting (n=11801): time 1.579/14.31, allocations: 153.7 MB / 5.11 GB, free: 0.8856 GB / 2.405 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(BackendVariable.vararrayAdd) [bt] #5 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.addVar) [bt] #6 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.addVariables) [bt] #7 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(HpcOmTaskGraph.createTaskGraph1) [bt] #8 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(List.fold) [bt] #9 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(HpcOmTaskGraph.createTaskGraph0) [bt] #10 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEOptimize.evaluateOutputsOnly) [bt] #11 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(DAEMode.getEqSystemDAEmode) [bt] #12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModelCallBackendOBDAEMode) [bt] #13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModel) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.translateModel) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.cevalInteractiveFunctions3) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions2) [bt] #17 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions) [bt] #18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #29 /lib/x86_64-linux-gnu/libc.so.6() [bt] #30 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #31 /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