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.001075/0.001075, allocations: 112 kB / 17.17 MB, free: 6.332 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.001064/0.001064, allocations: 197.8 kB / 18.08 MB, free: 5.426 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.121/1.121, allocations: 205.1 MB / 223.9 MB, free: 12.51 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05459/0.05459, allocations: 14.17 MB / 285.4 MB, free: 14.17 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.444/2.444, allocations: 461.2 MB / 0.7788 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.001487/0.001487, allocations: 83.88 kB / 0.9609 GB, free: 3.184 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8488, allocations: 172.1 MB / 1.129 GB, free: 28.36 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_6_M_4): time 6.147/6.996, allocations: 3.293 GB / 4.422 GB, free: 13.68 MB / 2.343 GB Notification: Performance of NFInst.instExpressions: time 3.663/10.66, allocations: 1.123 GB / 5.545 GB, free: 20 kB / 2.874 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6765/11.34, allocations: 11.95 MB / 5.556 GB, free: 13.46 MB / 2.89 GB Notification: Performance of NFTyping.typeComponents: time 0.5482/11.88, allocations: 147.2 MB / 5.7 GB, free: 14.8 MB / 2.999 GB Notification: Performance of NFTyping.typeBindings: time 1.331/13.21, allocations: 402.6 MB / 6.093 GB, free: 9.102 MB / 3.327 GB Notification: Performance of NFTyping.typeClassSections: time 0.3637/13.58, allocations: 110.7 MB / 6.201 GB, free: 0.6719 MB / 3.421 GB Notification: Performance of NFFlatten.flatten: time 2.981/16.56, allocations: 1.083 GB / 7.285 GB, free: 7.707 MB / 3.624 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3626/16.92, allocations: 108.8 MB / 7.391 GB, free: 8.664 MB / 3.702 GB Notification: Performance of NFEvalConstants.evaluate: time 4.147/21.07, allocations: 283.4 MB / 7.668 GB, free: 48.17 MB / 3.703 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5747/21.64, allocations: 326.6 MB / 7.987 GB, free: 2.023 MB / 3.719 GB Notification: Performance of NFPackage.collectConstants: time 0.1881/21.83, allocations: 20.06 MB / 8.006 GB, free: 2.023 MB / 3.719 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4296/22.26, allocations: 50.03 MB / 8.055 GB, free: 444 kB / 3.719 GB Notification: Performance of NFScalarize.scalarize: time 0.1783/22.44, allocations: 78.66 MB / 8.132 GB, free: 10.62 MB / 3.75 GB Notification: Performance of NFVerifyModel.verify: time 0.7458/23.19, allocations: 303.4 MB / 8.428 GB, free: 7.469 MB / 3.844 GB Notification: Performance of NFConvertDAE.convert: time 5.299/28.48, allocations: 0.7159 GB / 9.144 GB, free: 360.4 MB / 4.158 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/28.48, allocations: 2.297 kB / 9.144 GB, free: 360.4 MB / 4.158 GB Notification: Performance of FrontEnd: time 1.834e-06/28.48, allocations: 0 / 9.144 GB, free: 360.4 MB / 4.158 GB Notification: Performance of Transformations before backend: time 0.0259/28.51, allocations: 0 / 9.144 GB, free: 360.4 MB / 4.158 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 2.773/31.28, allocations: 0.7868 GB / 9.931 GB, free: 12.39 MB / 4.236 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/31.28, allocations: 16.03 kB / 9.931 GB, free: 12.37 MB / 4.236 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2014/31.48, allocations: 57.4 MB / 9.987 GB, free: 2.918 MB / 4.283 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4628/31.95, allocations: 87.15 MB / 10.07 GB, free: 11.01 MB / 4.377 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.135/34.08, allocations: 329 MB / 10.39 GB, free: 2.163 GB / 4.518 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.03559/34.12, allocations: 34.09 MB / 10.43 GB, free: 2.162 GB / 4.518 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1381/34.26, allocations: 44.96 MB / 10.47 GB, free: 2.162 GB / 4.518 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.169/35.42, allocations: 472.7 MB / 10.93 GB, free: 1.997 GB / 4.518 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.02226/35.45, allocations: 0.9323 MB / 10.93 GB, free: 1.996 GB / 4.518 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1207/35.57, allocations: 18.43 MB / 10.95 GB, free: 1.982 GB / 4.518 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007779/35.58, allocations: 11.07 MB / 10.96 GB, free: 1.982 GB / 4.518 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9961/36.57, allocations: 448.5 MB / 11.4 GB, free: 1.722 GB / 4.518 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 7.629/44.2, allocations: 2.873 GB / 14.27 GB, free: 1.401 GB / 4.518 GB Notification: Performance of preOpt comSubExp (simulation): time 8.124/52.32, allocations: 2.554 GB / 16.83 GB, free: 2.083 GB / 4.955 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6312/52.96, allocations: 221.5 MB / 17.04 GB, free: 2.079 GB / 4.955 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05056/53.01, allocations: 5.437 MB / 17.05 GB, free: 2.079 GB / 4.955 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007528/53.01, allocations: 4.956 MB / 17.05 GB, free: 2.079 GB / 4.955 GB Notification: Performance of pre-optimization done (n=48683): time 0.002885/53.02, allocations: 3.984 kB / 17.05 GB, free: 2.079 GB / 4.955 GB Notification: Performance of matching and sorting (n=48683): time 3.707/56.72, allocations: 0.6183 GB / 17.67 GB, free: 2.478 GB / 4.955 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(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.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()