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.00113/0.00113, allocations: 112.2 kB / 17.17 MB, free: 6.289 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.001102/0.001102, allocations: 193.9 kB / 18.09 MB, free: 5.387 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.119/1.119, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05597/0.05597, allocations: 14.14 MB / 285.4 MB, free: 14.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.454/2.454, 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.001901/0.001901, allocations: 88.48 kB / 0.9609 GB, free: 3.152 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8559/0.8578, allocations: 172.1 MB / 1.129 GB, free: 28.65 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_4_M_4): time 2.588/3.446, allocations: 1.442 GB / 2.571 GB, free: 10.83 MB / 1.577 GB Notification: Performance of NFInst.instExpressions: time 1.812/5.258, allocations: 0.4927 GB / 3.064 GB, free: 14.34 MB / 1.905 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.276/5.534, allocations: 5.225 MB / 3.069 GB, free: 14.34 MB / 1.905 GB Notification: Performance of NFTyping.typeComponents: time 0.2227/5.756, allocations: 64.42 MB / 3.132 GB, free: 7.227 MB / 1.905 GB Notification: Performance of NFTyping.typeBindings: time 0.557/6.313, allocations: 176.6 MB / 3.304 GB, free: 2.258 MB / 1.968 GB Notification: Performance of NFTyping.typeClassSections: time 0.1524/6.466, allocations: 49.13 MB / 3.352 GB, free: 11.88 MB / 2.015 GB Notification: Performance of NFFlatten.flatten: time 2.751/9.217, allocations: 484.3 MB / 3.825 GB, free: 78.67 MB / 2.438 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1543/9.371, allocations: 48.57 MB / 3.872 GB, free: 82.14 MB / 2.453 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2666/9.638, allocations: 124.2 MB / 3.994 GB, free: 67.68 MB / 2.453 GB Notification: Performance of NFSimplifyModel.simplify: time 0.236/9.874, allocations: 142.8 MB / 4.133 GB, free: 39 MB / 2.453 GB Notification: Performance of NFPackage.collectConstants: time 0.08972/9.964, allocations: 8.795 MB / 4.142 GB, free: 39 MB / 2.453 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1707/10.13, allocations: 21.93 MB / 4.163 GB, free: 39 MB / 2.453 GB Notification: Performance of NFScalarize.scalarize: time 0.07726/10.21, allocations: 34.5 MB / 4.197 GB, free: 29.45 MB / 2.453 GB Notification: Performance of NFVerifyModel.verify: time 0.2901/10.5, allocations: 131.2 MB / 4.325 GB, free: 8.039 MB / 2.469 GB Notification: Performance of NFConvertDAE.convert: time 0.4472/10.95, allocations: 321.1 MB / 4.639 GB, free: 10.73 MB / 2.625 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/10.95, allocations: 0 / 4.639 GB, free: 10.73 MB / 2.625 GB Notification: Performance of FrontEnd: time 2.184e-06/10.95, allocations: 0 / 4.639 GB, free: 10.73 MB / 2.625 GB Notification: Performance of Transformations before backend: time 0.01052/10.96, allocations: 2.062 kB / 4.639 GB, free: 10.73 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 2.4/13.36, allocations: 352.9 MB / 4.983 GB, free: 331.3 MB / 2.656 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/13.36, allocations: 7.906 kB / 4.983 GB, free: 331.3 MB / 2.656 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1043/13.46, allocations: 25.13 MB / 5.008 GB, free: 327 MB / 2.656 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2011/13.66, allocations: 38.16 MB / 5.045 GB, free: 293.5 MB / 2.656 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3915/14.06, allocations: 144.3 MB / 5.186 GB, free: 207.3 MB / 2.656 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01813/14.07, allocations: 14.93 MB / 5.2 GB, free: 198.8 MB / 2.656 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.06966/14.14, allocations: 19.68 MB / 5.22 GB, free: 185.7 MB / 2.656 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.584/14.73, allocations: 206.9 MB / 5.422 GB, free: 15.76 MB / 2.688 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.01055/14.74, allocations: 419.4 kB / 5.422 GB, free: 15.6 MB / 2.688 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.05646/14.8, allocations: 8.07 MB / 5.43 GB, free: 7.527 MB / 2.688 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003617/14.8, allocations: 4.84 MB / 5.435 GB, free: 2.688 MB / 2.688 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4951/15.29, allocations: 196.3 MB / 5.626 GB, free: 0.5469 MB / 2.875 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 3.597/18.89, allocations: 1.257 GB / 6.883 GB, free: 0.9637 GB / 2.906 GB Notification: Performance of preOpt comSubExp (simulation): time 1.358/20.25, allocations: 0.6257 GB / 7.509 GB, free: 0.7748 GB / 2.969 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2271/20.48, allocations: 94.36 MB / 7.601 GB, free: 0.7364 GB / 2.969 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02114/20.5, allocations: 2.385 MB / 7.603 GB, free: 0.7362 GB / 2.969 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00356/20.5, allocations: 2.186 MB / 7.606 GB, free: 0.7347 GB / 2.969 GB Notification: Performance of pre-optimization done (n=21307): time 0.001465/20.5, allocations: 7.5 kB / 7.606 GB, free: 0.7347 GB / 2.969 GB Notification: Performance of matching and sorting (n=21307): time 1.745/22.25, allocations: 277.2 MB / 7.876 GB, free: 1.3 GB / 2.969 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()