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.001284/0.001284, allocations: 108.2 kB / 18.4 MB, free: 4.676 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.001172/0.001172, allocations: 187 kB / 19.34 MB, free: 3.75 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.555/1.555, 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.06387/0.06387, allocations: 14.15 MB / 286.7 MB, free: 13.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.555/3.555, allocations: 461.2 MB / 0.7801 GB, free: 107.1 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.002321/0.002321, allocations: 87 kB / 1.133 GB, free: 21.19 MB / 0.8736 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3886, allocations: 172.1 MB / 1.301 GB, free: 5.891 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4): time 3.98/4.368, allocations: 1.425 GB / 2.726 GB, free: 3.977 MB / 1.765 GB Notification: Performance of NFInst.instExpressions: time 2.928/7.296, allocations: 0.4905 GB / 3.217 GB, free: 13.43 MB / 2.077 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.3996/7.696, allocations: 4.986 MB / 3.221 GB, free: 13.43 MB / 2.077 GB Notification: Performance of NFTyping.typeComponents: time 0.292/7.988, allocations: 76.07 MB / 3.296 GB, free: 4.312 MB / 2.077 GB Notification: Performance of NFTyping.typeBindings: time 0.8151/8.803, allocations: 208.3 MB / 3.499 GB, free: 14.67 MB / 2.202 GB Notification: Performance of NFTyping.typeClassSections: time 0.2265/9.03, allocations: 53.3 MB / 3.551 GB, free: 4.27 MB / 2.233 GB Notification: Performance of NFFlatten.flatten: time 4.409/13.44, allocations: 489.1 MB / 4.029 GB, free: 74.86 MB / 2.656 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2029/13.64, allocations: 51.37 MB / 4.079 GB, free: 78.17 MB / 2.672 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3822/14.02, allocations: 163.8 MB / 4.239 GB, free: 62.84 MB / 2.672 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3535/14.38, allocations: 174.5 MB / 4.409 GB, free: 34.17 MB / 2.672 GB Notification: Performance of NFPackage.collectConstants: time 0.1251/14.5, allocations: 21.86 MB / 4.431 GB, free: 34.17 MB / 2.672 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2633/14.77, allocations: 40.94 MB / 4.471 GB, free: 34.17 MB / 2.672 GB Notification: Performance of NFScalarize.scalarize: time 0.1396/14.91, allocations: 49.99 MB / 4.519 GB, free: 24.61 MB / 2.672 GB Notification: Performance of NFVerifyModel.verify: time 0.6051/15.51, allocations: 161.4 MB / 4.677 GB, free: 6.441 MB / 2.703 GB Notification: Performance of NFConvertDAE.convert: time 2.847/18.36, allocations: 369.7 MB / 5.038 GB, free: 255.7 MB / 2.906 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/18.36, allocations: 2.062 kB / 5.038 GB, free: 255.7 MB / 2.906 GB Notification: Performance of FrontEnd: time 2.244e-06/18.36, allocations: 0 / 5.038 GB, free: 255.7 MB / 2.906 GB Notification: Performance of Transformations before backend: time 0.01728/18.38, allocations: 2.156 kB / 5.038 GB, free: 255.7 MB / 2.906 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.635/20.01, allocations: 368.3 MB / 5.398 GB, free: 152.6 MB / 2.906 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/20.01, allocations: 9.906 kB / 5.398 GB, free: 152.6 MB / 2.906 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2321/20.24, allocations: 38.17 MB / 5.435 GB, free: 116 MB / 2.906 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5519/20.79, allocations: 154.5 MB / 5.586 GB, free: 14.13 MB / 2.906 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.02881/20.82, allocations: 14.93 MB / 5.6 GB, free: 5.68 MB / 2.906 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1084/20.93, allocations: 19.69 MB / 5.62 GB, free: 8.52 MB / 2.922 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7326/21.66, allocations: 206.9 MB / 5.822 GB, free: 14.82 MB / 3.078 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.014/21.68, allocations: 417.8 kB / 5.822 GB, free: 14.66 MB / 3.078 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0728/21.75, allocations: 8.066 MB / 5.83 GB, free: 6.598 MB / 3.078 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005328/21.76, allocations: 4.84 MB / 5.835 GB, free: 1.758 MB / 3.078 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7459/22.5, allocations: 196.3 MB / 6.026 GB, free: 15.61 MB / 3.281 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 3.973/26.48, allocations: 1.34 GB / 7.366 GB, free: 473 MB / 3.281 GB Notification: Performance of preOpt comSubExp (simulation): time 3.06/29.54, allocations: 0.6257 GB / 7.992 GB, free: 1.406 GB / 3.281 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2787/29.81, allocations: 94.35 MB / 8.084 GB, free: 1.405 GB / 3.281 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02709/29.84, allocations: 2.382 MB / 8.086 GB, free: 1.405 GB / 3.281 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004726/29.85, allocations: 2.188 MB / 8.088 GB, free: 1.404 GB / 3.281 GB Notification: Performance of pre-optimization done (n=21307): time 0.001252/29.85, allocations: 0 / 8.088 GB, free: 1.404 GB / 3.281 GB Notification: Performance of matching and sorting (n=21307): time 1.075/30.92, allocations: 277.3 MB / 8.359 GB, free: 1.323 GB / 3.281 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