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: "" <> buildModelFMU(ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_Type1_reduced_N_6_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_Type1_reduced_N_6_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.001114/0.001114, allocations: 111.8 kB / 17.29 MB, free: 6.211 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.001073/0.001073, allocations: 197.9 kB / 18.21 MB, free: 5.289 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.16/1.16, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05605/0.05605, allocations: 14.16 MB / 285.6 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.452/2.452, 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.001688/0.001688, allocations: 90.52 kB / 0.9611 GB, free: 3.047 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8315/0.8332, allocations: 172.1 MB / 1.129 GB, free: 28.34 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4): time 6.156/6.99, allocations: 3.293 GB / 4.422 GB, free: 13.39 MB / 2.343 GB Notification: Performance of NFInst.instExpressions: time 3.693/10.68, allocations: 1.124 GB / 5.546 GB, free: 14.92 MB / 2.89 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.7025/11.38, allocations: 11.9 MB / 5.558 GB, free: 11.94 MB / 2.89 GB Notification: Performance of NFTyping.typeComponents: time 0.5362/11.92, allocations: 147.2 MB / 5.702 GB, free: 13.05 MB / 2.999 GB Notification: Performance of NFTyping.typeBindings: time 1.379/13.3, allocations: 402.5 MB / 6.095 GB, free: 7.523 MB / 3.327 GB Notification: Performance of NFTyping.typeClassSections: time 0.33/13.63, allocations: 110.7 MB / 6.203 GB, free: 15.1 MB / 3.437 GB Notification: Performance of NFFlatten.flatten: time 3.088/16.72, allocations: 1.143 GB / 7.345 GB, free: 8.773 MB / 3.64 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087/20.81, allocations: 114.7 MB / 7.457 GB, free: 33.31 MB / 3.688 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6104/21.42, allocations: 332.7 MB / 7.782 GB, free: 1.672 MB / 3.703 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6109/22.03, allocations: 356 MB / 8.13 GB, free: 244 kB / 3.766 GB Notification: Performance of NFPackage.collectConstants: time 0.209/22.24, allocations: 41.26 MB / 8.17 GB, free: 244 kB / 3.766 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4918/22.73, allocations: 84.8 MB / 8.253 GB, free: 14.64 MB / 3.781 GB Notification: Performance of NFScalarize.scalarize: time 0.2525/22.98, allocations: 104.3 MB / 8.355 GB, free: 0 / 3.797 GB Notification: Performance of NFVerifyModel.verify: time 0.8234/23.8, allocations: 346.7 MB / 8.694 GB, free: 4.77 MB / 4.047 GB Notification: Performance of NFConvertDAE.convert: time 5.884/29.69, allocations: 0.7422 GB / 9.436 GB, free: 109.4 MB / 4.127 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/29.69, allocations: 0 / 9.436 GB, free: 109.4 MB / 4.127 GB Notification: Performance of FrontEnd: time 1.763e-06/29.69, allocations: 4.125 kB / 9.436 GB, free: 109.4 MB / 4.127 GB Notification: Performance of Transformations before backend: time 0.02881/29.72, allocations: 0 / 9.436 GB, free: 109.4 MB / 4.127 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.039/32.76, allocations: 0.7982 GB / 10.23 GB, free: 7.402 MB / 4.564 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/32.76, allocations: 12.03 kB / 10.23 GB, free: 7.391 MB / 4.564 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.419/34.17, allocations: 57.4 MB / 10.29 GB, free: 2.155 GB / 4.596 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.466/34.64, allocations: 87.14 MB / 10.38 GB, free: 2.149 GB / 4.596 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9267/35.57, allocations: 329 MB / 10.7 GB, free: 2.075 GB / 4.596 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05153/35.62, allocations: 34.09 MB / 10.73 GB, free: 2.074 GB / 4.596 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1554/35.77, allocations: 44.95 MB / 10.77 GB, free: 2.074 GB / 4.596 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.346/37.12, allocations: 472.7 MB / 11.24 GB, free: 1.963 GB / 4.596 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.02474/37.15, allocations: 0.9311 MB / 11.24 GB, free: 1.962 GB / 4.596 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1416/37.29, allocations: 18.44 MB / 11.25 GB, free: 1.948 GB / 4.596 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008622/37.3, allocations: 11.06 MB / 11.26 GB, free: 1.948 GB / 4.596 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.154/38.45, allocations: 448.5 MB / 11.7 GB, free: 1.595 GB / 4.596 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 9.493/47.94, allocations: 2.873 GB / 14.58 GB, free: 1.27 GB / 4.596 GB Notification: Performance of preOpt comSubExp (simulation): time 8.763/56.71, allocations: 2.554 GB / 17.13 GB, free: 1.657 GB / 4.908 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794/59.5, allocations: 221.5 MB / 17.35 GB, free: 2.288 GB / 4.908 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05592/59.56, allocations: 5.44 MB / 17.35 GB, free: 2.287 GB / 4.908 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009408/59.56, allocations: 4.947 MB / 17.36 GB, free: 2.287 GB / 4.908 GB Notification: Performance of pre-optimization done (n=48683): time 0.004082/59.57, allocations: 2.312 kB / 17.36 GB, free: 2.287 GB / 4.908 GB Notification: Performance of matching and sorting (n=48683): time 2.666/62.24, allocations: 0.6183 GB / 17.97 GB, free: 2.261 GB / 4.908 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() [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(BackendDAEUtil.getSolvedSystem) [bt] #11 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModelCallBackendOB) [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.callBuildModelFMU) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.buildModelFMU) [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(BackendInterface.cevalInteractiveFunctions) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork2) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork1) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork2) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork1) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.ceval) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #29 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #30 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #31 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #32 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #33 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #34 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #35 /lib/x86_64-linux-gnu/libc.so.6() [bt] #36 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #37 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc()