Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_6_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_6_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 114.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.001237/0.001237, 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.292/1.292, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06067/0.06067, allocations: 14.18 MB / 286.8 MB, free: 13.87 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.748/2.748, 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.001766/0.001766, allocations: 86.59 kB / 1.134 GB, free: 19.81 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2943, allocations: 172.1 MB / 1.302 GB, free: 4.23 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4): time 8.353/8.647, allocations: 3.255 GB / 4.558 GB, free: 10.63 MB / 2.53 GB Notification: Performance of NFInst.instExpressions: time 4.899/13.55, allocations: 1.118 GB / 5.675 GB, free: 8.672 MB / 3.062 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.939/14.49, allocations: 11.36 MB / 5.686 GB, free: 8.672 MB / 3.062 GB Notification: Performance of NFTyping.typeComponents: time 0.683/15.17, allocations: 173.9 MB / 5.856 GB, free: 7.402 MB / 3.14 GB Notification: Performance of NFTyping.typeBindings: time 1.777/16.95, allocations: 475.1 MB / 6.32 GB, free: 9.223 MB / 3.515 GB Notification: Performance of NFTyping.typeClassSections: time 0.4185/17.36, allocations: 120.2 MB / 6.438 GB, free: 7.289 MB / 3.624 GB Notification: Performance of NFFlatten.flatten: time 4.095/21.46, allocations: 1.09 GB / 7.528 GB, free: 38.26 MB / 3.812 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5538/22.01, allocations: 118.2 MB / 7.643 GB, free: 8.43 MB / 3.858 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753/28.77, allocations: 374.7 MB / 8.009 GB, free: 79.87 MB / 4.031 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7543/29.52, allocations: 398.5 MB / 8.398 GB, free: 45.21 MB / 4.031 GB Notification: Performance of NFPackage.collectConstants: time 0.2723/29.79, allocations: 49.77 MB / 8.447 GB, free: 45.21 MB / 4.031 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5892/30.38, allocations: 93.3 MB / 8.538 GB, free: 45.21 MB / 4.031 GB Notification: Performance of NFScalarize.scalarize: time 0.2726/30.65, allocations: 113.9 MB / 8.649 GB, free: 23.4 MB / 4.031 GB Notification: Performance of NFVerifyModel.verify: time 1.06/31.71, allocations: 358.7 MB / 8.999 GB, free: 1.168 MB / 4.172 GB Notification: Performance of NFConvertDAE.convert: time 6.874/38.59, allocations: 0.8324 GB / 9.832 GB, free: 442.1 MB / 4.596 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/38.59, allocations: 0 / 9.832 GB, free: 442.1 MB / 4.596 GB Notification: Performance of FrontEnd: time 2.234e-06/38.59, allocations: 1.875 kB / 9.832 GB, free: 442.1 MB / 4.596 GB Notification: Performance of Transformations before backend: time 0.04013/38.63, allocations: 0 / 9.832 GB, free: 442.1 MB / 4.596 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116719 * Number of variables: 116719 Notification: Performance of Generate backend data structure: time 3.528/42.16, allocations: 0.8369 GB / 10.67 GB, free: 13.93 MB / 4.611 GB Notification: Performance of prepare preOptimizeDAE: time 7.087e-05/42.16, allocations: 8.031 kB / 10.67 GB, free: 13.92 MB / 4.611 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.595/42.75, allocations: 90.22 MB / 10.76 GB, free: 7.656 MB / 4.689 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.724/47.48, allocations: 355.8 MB / 11.1 GB, free: 0.6363 GB / 4.908 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1075/47.58, allocations: 34.09 MB / 11.14 GB, free: 0.6354 GB / 4.908 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2127/47.8, allocations: 44.97 MB / 11.18 GB, free: 0.6354 GB / 4.908 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.792/49.59, allocations: 472.6 MB / 11.64 GB, free: 0.5713 GB / 4.908 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0465/49.63, allocations: 0.9339 MB / 11.64 GB, free: 0.5713 GB / 4.908 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1963/49.83, allocations: 18.44 MB / 11.66 GB, free: 0.5713 GB / 4.908 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0396/49.87, allocations: 11.06 MB / 11.67 GB, free: 0.5713 GB / 4.908 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458/51.33, allocations: 448.5 MB / 12.11 GB, free: 322.5 MB / 4.908 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 10.69/62.02, allocations: 3.065 GB / 15.18 GB, free: 1.799 GB / 5.205 GB Notification: Performance of preOpt comSubExp (simulation): time 11.92/73.94, allocations: 2.554 GB / 17.73 GB, free: 2.656 GB / 5.377 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.8981/74.84, allocations: 221.5 MB / 17.95 GB, free: 2.652 GB / 5.377 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06077/74.9, allocations: 5.435 MB / 17.95 GB, free: 2.652 GB / 5.377 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01031/74.91, allocations: 4.951 MB / 17.96 GB, free: 2.651 GB / 5.377 GB Notification: Performance of pre-optimization done (n=48683): time 0.004669/74.91, allocations: 0.6875 kB / 17.96 GB, free: 2.651 GB / 5.377 GB Notification: Performance of matching and sorting (n=48683): time 2.962/77.87, allocations: 0.6205 GB / 18.58 GB, free: 2.524 GB / 5.377 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_6_M_4 could not be translated