Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_3_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_3_M_4,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_Type1_reduced_N_3_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_Type1_reduced_N_3_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.001382/0.001382, allocations: 107.2 kB / 17.74 MB, free: 5.32 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.001231/0.001231, allocations: 192.2 kB / 18.67 MB, free: 4.391 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.497/1.497, allocations: 205.1 MB / 224.5 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.06683/0.06683, allocations: 14.16 MB / 286.1 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 3.552/3.552, allocations: 461.2 MB / 0.7794 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.001763/0.001763, allocations: 90.86 kB / 1.131 GB, free: 22.02 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3324, allocations: 172.1 MB / 1.299 GB, free: 6.996 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4): time 2.147/2.479, allocations: 0.79 GB / 2.089 GB, free: 8.934 MB / 1.562 GB Notification: Performance of NFInst.instExpressions: time 1.729/4.208, allocations: 279.1 MB / 2.362 GB, free: 14.18 MB / 1.718 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2098/4.418, allocations: 2.772 MB / 2.364 GB, free: 14.18 MB / 1.718 GB Notification: Performance of NFTyping.typeComponents: time 0.1631/4.581, allocations: 42.16 MB / 2.406 GB, free: 13.37 MB / 1.718 GB Notification: Performance of NFTyping.typeBindings: time 0.4198/5.001, allocations: 115.6 MB / 2.518 GB, free: 12.6 MB / 1.765 GB Notification: Performance of NFTyping.typeClassSections: time 0.1122/5.113, allocations: 29.99 MB / 2.548 GB, free: 4.789 MB / 1.78 GB Notification: Performance of NFFlatten.flatten: time 0.4576/5.571, allocations: 271.1 MB / 2.813 GB, free: 6.344 MB / 2.015 GB Notification: Performance of NFFlatten.resolveConnections: time 0.113/5.684, allocations: 28.09 MB / 2.84 GB, free: 10.45 MB / 2.046 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2098/5.894, allocations: 90.82 MB / 2.929 GB, free: 0.6211 MB / 2.124 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1921/6.086, allocations: 96.7 MB / 3.023 GB, free: 2.457 MB / 2.218 GB Notification: Performance of NFPackage.collectConstants: time 0.07109/6.157, allocations: 12.16 MB / 3.035 GB, free: 6.293 MB / 2.233 GB Notification: Performance of NFFlatten.collectFunctions: time 1.729/7.886, allocations: 22.7 MB / 3.057 GB, free: 210.4 MB / 2.233 GB Notification: Performance of NFScalarize.scalarize: time 0.06591/7.952, allocations: 27.76 MB / 3.084 GB, free: 210.4 MB / 2.233 GB Notification: Performance of NFVerifyModel.verify: time 0.2525/8.205, allocations: 84.44 MB / 3.167 GB, free: 202.5 MB / 2.233 GB Notification: Performance of NFConvertDAE.convert: time 0.4435/8.648, allocations: 205.2 MB / 3.367 GB, free: 169.8 MB / 2.233 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/8.648, allocations: 0 / 3.367 GB, free: 169.8 MB / 2.233 GB Notification: Performance of FrontEnd: time 2.224e-06/8.648, allocations: 0 / 3.367 GB, free: 169.8 MB / 2.233 GB Notification: Performance of Transformations before backend: time 0.009501/8.658, allocations: 0 / 3.367 GB, free: 169.8 MB / 2.233 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28285 * Number of variables: 28285 Notification: Performance of Generate backend data structure: time 0.8737/9.531, allocations: 204.1 MB / 3.566 GB, free: 77.94 MB / 2.233 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/9.531, allocations: 8.031 kB / 3.566 GB, free: 77.93 MB / 2.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.06229/9.594, allocations: 13.94 MB / 3.58 GB, free: 70.88 MB / 2.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1291/9.723, allocations: 21.15 MB / 3.601 GB, free: 50.61 MB / 2.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.261/9.984, allocations: 85.78 MB / 3.684 GB, free: 1.973 MB / 2.249 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01164/9.996, allocations: 8.271 MB / 3.693 GB, free: 9.695 MB / 2.265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.05588/10.05, allocations: 10.91 MB / 3.703 GB, free: 14.78 MB / 2.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3704/10.42, allocations: 114.6 MB / 3.815 GB, free: 7.914 MB / 2.39 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00723/10.43, allocations: 229.3 kB / 3.815 GB, free: 7.824 MB / 2.39 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03948/10.47, allocations: 4.472 MB / 3.82 GB, free: 3.355 MB / 2.39 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/10.47, allocations: 2.68 MB / 3.822 GB, free: 0.6758 MB / 2.39 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52/11.99, allocations: 108.7 MB / 3.928 GB, free: 0.9354 GB / 2.405 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.382/13.37, allocations: 0.7415 GB / 4.67 GB, free: 344.9 MB / 2.405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5265/13.9, allocations: 255.4 MB / 4.919 GB, free: 145.4 MB / 2.405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1347/14.03, allocations: 51.62 MB / 4.97 GB, free: 93.71 MB / 2.405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/14.05, allocations: 1.318 MB / 4.971 GB, free: 92.44 MB / 2.405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0025/14.05, allocations: 1.238 MB / 4.972 GB, free: 91.19 MB / 2.405 GB Notification: Performance of pre-optimization done (n=11801): time 0.0006653/14.05, allocations: 4 kB / 4.972 GB, free: 91.19 MB / 2.405 GB Notification: Performance of matching and sorting (n=11801): time 1.616/15.67, allocations: 153.7 MB / 5.122 GB, free: 0.9028 GB / 2.405 GB Warning: Out of memory! Faking a stack overflow. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7769:3-7769: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()