Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_4_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_4_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 109.5 kB / 18.37 MB, free: 4.504 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.001377/0.001377, allocations: 192 kB / 19.3 MB, free: 3.578 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.567/1.567, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06371/0.06371, allocations: 14.16 MB / 286.7 MB, free: 13.92 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.301/3.301, allocations: 461.2 MB / 0.7801 GB, free: 107.2 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.001887/0.001887, allocations: 83.88 kB / 0.963 GB, free: 2.059 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 172.1 MB / 1.131 GB, free: 28.89 MB / 0.8736 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4): time 3.446/4.561, allocations: 1.425 GB / 2.556 GB, free: 12.3 MB / 1.577 GB Notification: Performance of NFInst.instExpressions: time 2.422/6.983, allocations: 0.4905 GB / 3.047 GB, free: 14.73 MB / 1.905 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.4139/7.397, allocations: 4.987 MB / 3.052 GB, free: 14.73 MB / 1.905 GB Notification: Performance of NFTyping.typeComponents: time 0.2821/7.68, allocations: 75.95 MB / 3.126 GB, free: 11.26 MB / 1.905 GB Notification: Performance of NFTyping.typeBindings: time 0.7453/8.425, allocations: 195.1 MB / 3.316 GB, free: 8.297 MB / 1.983 GB Notification: Performance of NFTyping.typeClassSections: time 0.1968/8.622, allocations: 53.32 MB / 3.368 GB, free: 13.88 MB / 2.03 GB Notification: Performance of NFFlatten.flatten: time 3.798/12.42, allocations: 489 MB / 3.846 GB, free: 66.33 MB / 2.438 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2298/12.65, allocations: 51.36 MB / 3.896 GB, free: 69.65 MB / 2.453 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3356/12.99, allocations: 160.3 MB / 4.053 GB, free: 54.26 MB / 2.453 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3389/13.32, allocations: 174.5 MB / 4.223 GB, free: 25.59 MB / 2.453 GB Notification: Performance of NFPackage.collectConstants: time 0.1221/13.45, allocations: 21.87 MB / 4.244 GB, free: 25.58 MB / 2.453 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2743/13.72, allocations: 40.93 MB / 4.284 GB, free: 25.58 MB / 2.453 GB Notification: Performance of NFScalarize.scalarize: time 0.1372/13.86, allocations: 49.99 MB / 4.333 GB, free: 16.02 MB / 2.453 GB Notification: Performance of NFVerifyModel.verify: time 0.5675/14.43, allocations: 162 MB / 4.491 GB, free: 6.441 MB / 2.5 GB Notification: Performance of NFConvertDAE.convert: time 2.622/17.05, allocations: 355.9 MB / 4.839 GB, free: 259.5 MB / 2.641 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/17.05, allocations: 0 / 4.839 GB, free: 259.5 MB / 2.641 GB Notification: Performance of FrontEnd: time 2.595e-06/17.05, allocations: 0 / 4.839 GB, free: 259.5 MB / 2.641 GB Notification: Performance of Transformations before backend: time 0.01627/17.06, allocations: 0 / 4.839 GB, free: 259.5 MB / 2.641 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51079 * Number of variables: 51079 Notification: Performance of Generate backend data structure: time 1.72/18.78, allocations: 371.3 MB / 5.202 GB, free: 99.18 MB / 2.641 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001008/18.78, allocations: 12.03 kB / 5.202 GB, free: 99.17 MB / 2.641 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2739/19.06, allocations: 38.16 MB / 5.239 GB, free: 62.59 MB / 2.641 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5549/19.61, allocations: 154.5 MB / 5.39 GB, free: 8.77 MB / 2.688 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.02434/19.64, allocations: 14.94 MB / 5.404 GB, free: 316 kB / 2.688 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.09088/19.73, allocations: 19.69 MB / 5.424 GB, free: 3.156 MB / 2.703 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.913/21.64, allocations: 206.9 MB / 5.626 GB, free: 1.265 GB / 2.875 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.01731/21.66, allocations: 417.8 kB / 5.626 GB, free: 1.265 GB / 2.875 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.08855/21.75, allocations: 8.069 MB / 5.634 GB, free: 1.265 GB / 2.875 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02104/21.77, allocations: 4.84 MB / 5.639 GB, free: 1.265 GB / 2.875 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6128/22.38, allocations: 196.2 MB / 5.83 GB, free: 1.262 GB / 2.875 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 2.728/25.11, allocations: 1.34 GB / 7.17 GB, free: 47.91 MB / 2.875 GB Notification: Performance of preOpt comSubExp (simulation): time 3.425/28.53, allocations: 0.6257 GB / 7.795 GB, free: 0.967 GB / 2.875 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2759/28.81, allocations: 94.36 MB / 7.888 GB, free: 0.9459 GB / 2.875 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/28.84, allocations: 2.38 MB / 7.89 GB, free: 0.9457 GB / 2.875 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004569/28.84, allocations: 2.191 MB / 7.892 GB, free: 0.9442 GB / 2.875 GB Notification: Performance of pre-optimization done (n=21307): time 0.001856/28.84, allocations: 0 / 7.892 GB, free: 0.9442 GB / 2.875 GB Notification: Performance of matching and sorting (n=21307): time 2.484/31.33, allocations: 277.2 MB / 8.163 GB, free: 1.194 GB / 2.875 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_4_M_4 could not be translated