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.001164/0.001165, allocations: 110.6 kB / 18.42 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.001223/0.001223, allocations: 185.5 kB / 19.35 MB, free: 3.758 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.278/1.278, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06357/0.06357, 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 2.821/2.821, allocations: 461.2 MB / 0.7801 GB, free: 107.1 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.001791/0.001791, allocations: 95.69 kB / 1.133 GB, free: 21.15 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3019, allocations: 172.1 MB / 1.301 GB, free: 5.871 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4): time 3.216/3.518, allocations: 1.425 GB / 2.726 GB, free: 10.92 MB / 1.765 GB Notification: Performance of NFInst.instExpressions: time 2.205/5.723, allocations: 0.4905 GB / 3.217 GB, free: 13.94 MB / 2.093 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.3246/6.048, allocations: 4.986 MB / 3.221 GB, free: 13.94 MB / 2.093 GB Notification: Performance of NFTyping.typeComponents: time 0.2819/6.33, allocations: 76.07 MB / 3.296 GB, free: 8.531 MB / 2.093 GB Notification: Performance of NFTyping.typeBindings: time 0.7066/7.036, allocations: 208.3 MB / 3.499 GB, free: 0.5938 MB / 2.187 GB Notification: Performance of NFTyping.typeClassSections: time 0.1846/7.221, allocations: 53.32 MB / 3.551 GB, free: 6.191 MB / 2.233 GB Notification: Performance of NFFlatten.flatten: time 0.8033/8.024, allocations: 489.1 MB / 4.029 GB, free: 3.77 MB / 2.687 GB Notification: Performance of NFFlatten.resolveConnections: time 3.261/11.29, allocations: 51.36 MB / 4.079 GB, free: 80.84 MB / 2.703 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3381/11.62, allocations: 163.8 MB / 4.239 GB, free: 66.06 MB / 2.703 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3362/11.96, allocations: 174.5 MB / 4.409 GB, free: 37.39 MB / 2.703 GB Notification: Performance of NFPackage.collectConstants: time 0.123/12.08, allocations: 21.87 MB / 4.431 GB, free: 37.38 MB / 2.703 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2319/12.31, allocations: 40.94 MB / 4.471 GB, free: 37.38 MB / 2.703 GB Notification: Performance of NFScalarize.scalarize: time 0.1052/12.42, allocations: 49.99 MB / 4.519 GB, free: 27.83 MB / 2.703 GB Notification: Performance of NFVerifyModel.verify: time 0.3649/12.78, allocations: 152.4 MB / 4.668 GB, free: 1.812 MB / 2.719 GB Notification: Performance of NFConvertDAE.convert: time 2.642/15.43, allocations: 371.6 MB / 5.031 GB, free: 248.4 MB / 2.938 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/15.43, allocations: 0.5 kB / 5.031 GB, free: 248.4 MB / 2.938 GB Notification: Performance of FrontEnd: time 1.753e-06/15.43, allocations: 0 / 5.031 GB, free: 248.4 MB / 2.938 GB Notification: Performance of Transformations before backend: time 0.01457/15.44, allocations: 3.094 kB / 5.031 GB, free: 248.4 MB / 2.938 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.595/17.04, allocations: 375.3 MB / 5.398 GB, free: 148.7 MB / 2.938 GB Notification: Performance of prepare preOptimizeDAE: time 7.639e-05/17.04, allocations: 10.69 kB / 5.398 GB, free: 148.7 MB / 2.938 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2499/17.29, allocations: 39.51 MB / 5.436 GB, free: 117.1 MB / 2.938 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5422/17.83, allocations: 156.1 MB / 5.589 GB, free: 21.71 MB / 2.938 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.02353/17.85, allocations: 14.93 MB / 5.603 GB, free: 13.25 MB / 2.938 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.08741/17.94, allocations: 19.7 MB / 5.623 GB, free: 84 kB / 2.938 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6665/18.61, allocations: 207.9 MB / 5.826 GB, free: 10.68 MB / 3.094 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.01294/18.62, allocations: 420.8 kB / 5.826 GB, free: 10.52 MB / 3.094 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.06208/18.68, allocations: 8.066 MB / 5.834 GB, free: 2.453 MB / 3.094 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004302/18.69, allocations: 4.84 MB / 5.839 GB, free: 13.61 MB / 3.109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5691/19.25, allocations: 196.3 MB / 6.03 GB, free: 11.47 MB / 3.297 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.756/23.01, allocations: 1.341 GB / 7.371 GB, free: 0.6401 GB / 3.391 GB Notification: Performance of preOpt comSubExp (simulation): time 2.829/25.84, allocations: 0.6257 GB / 7.997 GB, free: 1.546 GB / 3.391 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2771/26.12, allocations: 94.35 MB / 8.089 GB, free: 1.545 GB / 3.391 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/26.14, allocations: 2.387 MB / 8.092 GB, free: 1.545 GB / 3.391 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004499/26.15, allocations: 2.185 MB / 8.094 GB, free: 1.544 GB / 3.391 GB Notification: Performance of pre-optimization done (n=21307): time 0.0006488/26.15, allocations: 2.078 kB / 8.094 GB, free: 1.544 GB / 3.391 GB Notification: Performance of matching and sorting (n=21307): time 1.008/27.16, allocations: 278.3 MB / 8.365 GB, free: 1.476 GB / 3.391 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_4_M_4 could not be translated