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.0008255/0.0008255, allocations: 97.72 kB / 17.32 MB, free: 5.938 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.0008509/0.000851, allocations: 183.2 kB / 18.22 MB, free: 5.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.188/1.188, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05588/0.05588, allocations: 14.16 MB / 286.9 MB, free: 13.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.568/2.568, allocations: 464.3 MB / 0.7842 GB, free: 107.7 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.0005709/0.0005709, allocations: 20 kB / 0.9703 GB, free: 14.8 MB / 0.7483 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9027/0.9033, allocations: 176.2 MB / 1.142 GB, free: 25.26 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4): time 5.889/6.793, allocations: 3.206 GB / 4.348 GB, free: 9.535 MB / 2.171 GB Notification: Performance of NFInst.instExpressions: time 3.236/10.03, allocations: 1.11 GB / 5.459 GB, free: 208 kB / 2.718 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6492/10.68, allocations: 11.54 MB / 5.47 GB, free: 4.605 MB / 2.733 GB Notification: Performance of NFTyping.typeComponents: time 2.433/13.11, allocations: 147.2 MB / 5.614 GB, free: 22.89 MB / 2.796 GB Notification: Performance of NFTyping.typeBindings: time 1.371/14.48, allocations: 402.6 MB / 6.007 GB, free: 7.812 MB / 2.812 GB Notification: Performance of NFTyping.typeClassSections: time 0.3463/14.83, allocations: 110.5 MB / 6.115 GB, free: 2.359 MB / 2.858 GB Notification: Performance of NFFlatten.flatten: time 5.415/20.24, allocations: 1.08 GB / 7.194 GB, free: 84.05 MB / 3.469 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3375/20.58, allocations: 107.1 MB / 7.299 GB, free: 73.11 MB / 3.484 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5502/21.13, allocations: 276.4 MB / 7.569 GB, free: 3.402 MB / 3.516 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6695/21.8, allocations: 325.5 MB / 7.887 GB, free: 0 / 3.688 GB Notification: Performance of NFPackage.collectConstants: time 0.1739/21.97, allocations: 17.77 MB / 7.904 GB, free: 1.379 MB / 3.703 GB Notification: Performance of NFFlatten.collectFunctions: time 0.382/22.36, allocations: 46.68 MB / 7.95 GB, free: 8.367 MB / 3.75 GB Notification: Performance of NFScalarize.scalarize: time 0.1791/22.54, allocations: 73.63 MB / 8.022 GB, free: 4.82 MB / 3.797 GB Notification: Performance of NFVerifyModel.verify: time 5.421/27.96, allocations: 292.9 MB / 8.308 GB, free: 211.2 MB / 3.83 GB Notification: Performance of NFConvertDAE.convert: time 1.266/29.22, allocations: 0.7077 GB / 9.015 GB, free: 0 / 3.83 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/29.22, allocations: 128 / 9.015 GB, free: 0 / 3.83 GB Notification: Performance of FrontEnd: time 4.638e-06/29.22, allocations: 4.031 kB / 9.015 GB, free: 0 / 3.83 GB Notification: Performance of Transformations before backend: time 0.0281/29.25, allocations: 0.75 kB / 9.015 GB, free: 0 / 3.83 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.92/33.17, allocations: 0.6917 GB / 9.707 GB, free: 1.634 GB / 4.111 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/33.17, allocations: 11.66 kB / 9.707 GB, free: 1.634 GB / 4.111 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1988/33.37, allocations: 57.42 MB / 9.763 GB, free: 1.63 GB / 4.111 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4493/33.82, allocations: 87.28 MB / 9.848 GB, free: 1.599 GB / 4.111 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9092/34.73, allocations: 329 MB / 10.17 GB, free: 1.496 GB / 4.111 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05546/34.78, allocations: 34.09 MB / 10.2 GB, free: 1.481 GB / 4.111 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1832/34.97, allocations: 44.96 MB / 10.25 GB, free: 1.466 GB / 4.111 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.346/36.31, allocations: 474.7 MB / 10.71 GB, free: 1.059 GB / 4.111 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.02953/36.34, allocations: 0.9364 MB / 10.71 GB, free: 1.058 GB / 4.111 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1418/36.49, allocations: 18.44 MB / 10.73 GB, free: 1.04 GB / 4.111 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009246/36.5, allocations: 11.06 MB / 10.74 GB, free: 1.029 GB / 4.111 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.108/37.6, allocations: 452.7 MB / 11.18 GB, free: 0.5879 GB / 4.111 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 12.15/49.75, allocations: 2.881 GB / 14.06 GB, free: 1.94 GB / 4.658 GB Notification: Performance of preOpt comSubExp (simulation): time 8.477/58.23, allocations: 2.558 GB / 16.62 GB, free: 1.654 GB / 4.658 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7516/58.98, allocations: 223.4 MB / 16.84 GB, free: 1.649 GB / 4.658 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05753/59.03, allocations: 5.436 MB / 16.84 GB, free: 1.649 GB / 4.658 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01169/59.05, allocations: 4.95 MB / 16.85 GB, free: 1.649 GB / 4.658 GB Notification: Performance of pre-optimization done (n=48683): time 0.004876/59.05, allocations: 0 / 16.85 GB, free: 1.649 GB / 4.658 GB Notification: Performance of matching and sorting (n=48683): time 4.712/63.76, allocations: 0.6246 GB / 17.47 GB, free: 2.192 GB / 4.658 GB Warning: Out of memory! Faking a stack overflow. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7708:3-7708: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(GC.set.max.heap.size) [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(Array.fold) [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.translateModel) [bt] #12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.callBuildModelFMU) [bt] #13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.buildModelFMU) [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(BackendInterface.cevalInteractiveFunctions) [bt] #18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork2) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork1) [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.ceval) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #29 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #30 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #31 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #32 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #33 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #34 /lib/x86_64-linux-gnu/libc.so.6() [bt] #35 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #36 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc()