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: "" <> buildModelFMU(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_Type1_reduced_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_Type1_reduced_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 107.8 kB / 17.29 MB, free: 6.195 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.001071/0.001071, allocations: 194 kB / 18.21 MB, free: 5.27 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.137/1.137, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05591/0.05591, allocations: 14.15 MB / 285.5 MB, free: 14.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.435/2.435, allocations: 461.2 MB / 0.7789 GB, free: 107.3 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.001755/0.001755, allocations: 79.89 kB / 0.9611 GB, free: 3.035 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8211, allocations: 172.1 MB / 1.129 GB, free: 28.39 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4): time 2.642/3.463, allocations: 1.442 GB / 2.571 GB, free: 10.67 MB / 1.577 GB Notification: Performance of NFInst.instExpressions: time 1.779/5.243, allocations: 0.4933 GB / 3.064 GB, free: 14.32 MB / 1.905 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2942/5.537, allocations: 5.222 MB / 3.07 GB, free: 14.32 MB / 1.905 GB Notification: Performance of NFTyping.typeComponents: time 0.2346/5.772, allocations: 64.46 MB / 3.132 GB, free: 7.082 MB / 1.905 GB Notification: Performance of NFTyping.typeBindings: time 0.5665/6.338, allocations: 176.5 MB / 3.305 GB, free: 1.664 MB / 1.968 GB Notification: Performance of NFTyping.typeClassSections: time 0.1411/6.479, allocations: 49.12 MB / 3.353 GB, free: 11.32 MB / 2.015 GB Notification: Performance of NFFlatten.flatten: time 2.756/9.235, allocations: 0.4987 GB / 3.852 GB, free: 76.7 MB / 2.438 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1402/9.375, allocations: 51.35 MB / 3.902 GB, free: 80.03 MB / 2.453 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2373/9.613, allocations: 145.6 MB / 4.044 GB, free: 65.01 MB / 2.453 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2289/9.842, allocations: 155.9 MB / 4.196 GB, free: 36.33 MB / 2.453 GB Notification: Performance of NFPackage.collectConstants: time 0.09048/9.932, allocations: 18.15 MB / 4.214 GB, free: 36.33 MB / 2.453 GB Notification: Performance of NFFlatten.collectFunctions: time 0.188/10.12, allocations: 37.22 MB / 4.25 GB, free: 36.33 MB / 2.453 GB Notification: Performance of NFScalarize.scalarize: time 0.07587/10.2, allocations: 43.85 MB / 4.293 GB, free: 26.77 MB / 2.453 GB Notification: Performance of NFVerifyModel.verify: time 0.2738/10.47, allocations: 146.3 MB / 4.436 GB, free: 13.64 MB / 2.484 GB Notification: Performance of NFConvertDAE.convert: time 1.813/12.28, allocations: 333.4 MB / 4.761 GB, free: 236.9 MB / 2.625 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/12.28, allocations: 1.281 kB / 4.761 GB, free: 236.9 MB / 2.625 GB Notification: Performance of FrontEnd: time 1.953e-06/12.28, allocations: 0 / 4.761 GB, free: 236.9 MB / 2.625 GB Notification: Performance of Transformations before backend: time 0.01099/12.29, allocations: 0 / 4.761 GB, free: 236.9 MB / 2.625 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.183/13.48, allocations: 354.8 MB / 5.108 GB, free: 118.2 MB / 2.625 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/13.48, allocations: 7.906 kB / 5.108 GB, free: 118.2 MB / 2.625 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.09015/13.57, allocations: 25.14 MB / 5.132 GB, free: 110.5 MB / 2.625 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1971/13.76, allocations: 38.17 MB / 5.17 GB, free: 73.9 MB / 2.625 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3846/14.15, allocations: 144.3 MB / 5.311 GB, free: 8.375 MB / 2.656 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01659/14.17, allocations: 14.93 MB / 5.325 GB, free: 15.91 MB / 2.672 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.06585/14.23, allocations: 19.69 MB / 5.345 GB, free: 2.762 MB / 2.672 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6075/14.84, allocations: 206.9 MB / 5.547 GB, free: 1.203 MB / 2.859 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.01478/14.85, allocations: 418.7 kB / 5.547 GB, free: 1.039 MB / 2.859 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0605/14.91, allocations: 8.075 MB / 5.555 GB, free: 8.984 MB / 2.875 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003307/14.92, allocations: 4.84 MB / 5.56 GB, free: 4.145 MB / 2.875 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.298/16.22, allocations: 196.3 MB / 5.751 GB, free: 1.376 GB / 2.969 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.612/17.83, allocations: 1.257 GB / 7.008 GB, free: 332.8 MB / 2.969 GB Notification: Performance of preOpt comSubExp (simulation): time 2.085/19.91, allocations: 0.6257 GB / 7.634 GB, free: 1.206 GB / 2.969 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2042/20.12, allocations: 94.35 MB / 7.726 GB, free: 1.204 GB / 2.969 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0204/20.14, allocations: 2.382 MB / 7.728 GB, free: 1.204 GB / 2.969 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003388/20.14, allocations: 2.188 MB / 7.73 GB, free: 1.204 GB / 2.969 GB Notification: Performance of pre-optimization done (n=21307): time 0.001315/20.14, allocations: 3.531 kB / 7.73 GB, free: 1.204 GB / 2.969 GB Notification: Performance of matching and sorting (n=21307): time 0.7519/20.89, allocations: 277.2 MB / 8.001 GB, free: 1.125 GB / 2.969 GB Warning: Out of memory! Faking a stack overflow. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7714:3-7714:155:writable] Error: Internal error Stack overflow in BackendDAEUtil.getSolvedSystem... [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(BackendDAEUtil.getSolvedSystem) [bt] #12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModelCallBackendOB) [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.callBuildModelFMU) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.buildModelFMU) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.cevalInteractiveFunctions3) [bt] #17 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions2) [bt] #18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendInterface.cevalInteractiveFunctions) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork2) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork1) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork2) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork1) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.ceval) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #29 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #30 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #31 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #32 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #33 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #34 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #35 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #36 /lib/x86_64-linux-gnu/libc.so.6() [bt] #37 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #38 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc()