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.00105/0.001051, allocations: 111.5 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.001041/0.001041, 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.094/1.094, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05431/0.05431, allocations: 14.16 MB / 285.6 MB, free: 14.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.312/2.312, 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.001677/0.001677, allocations: 87.86 kB / 0.9611 GB, free: 3.035 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8079, 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_3_M_4): time 1.483/2.291, allocations: 0.7993 GB / 1.928 GB, free: 15.35 MB / 1.312 GB Notification: Performance of NFInst.instExpressions: time 1.255/3.547, allocations: 280.7 MB / 2.203 GB, free: 15.98 MB / 1.562 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1553/3.702, allocations: 2.902 MB / 2.205 GB, free: 15.98 MB / 1.562 GB Notification: Performance of NFTyping.typeComponents: time 0.125/3.827, allocations: 35.71 MB / 2.24 GB, free: 15.2 MB / 1.562 GB Notification: Performance of NFTyping.typeBindings: time 0.2904/4.117, allocations: 97.99 MB / 2.336 GB, free: 8.832 MB / 1.562 GB Notification: Performance of NFTyping.typeClassSections: time 0.0916/4.209, allocations: 27.64 MB / 2.363 GB, free: 4.055 MB / 1.562 GB Notification: Performance of NFFlatten.flatten: time 0.3794/4.588, allocations: 283 MB / 2.639 GB, free: 15.8 MB / 1.796 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0877/4.676, allocations: 28.1 MB / 2.667 GB, free: 3.906 MB / 1.812 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1517/4.828, allocations: 80.76 MB / 2.746 GB, free: 3.969 MB / 1.89 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1204/4.948, allocations: 86.41 MB / 2.83 GB, free: 15.71 MB / 1.983 GB Notification: Performance of NFPackage.collectConstants: time 0.04713/4.996, allocations: 10.1 MB / 2.84 GB, free: 5.605 MB / 1.983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09671/5.092, allocations: 20.65 MB / 2.86 GB, free: 0.957 MB / 1.999 GB Notification: Performance of NFScalarize.scalarize: time 0.04825/5.141, allocations: 24.36 MB / 2.884 GB, free: 9.301 MB / 2.03 GB Notification: Performance of NFVerifyModel.verify: time 1.067/6.207, allocations: 81.03 MB / 2.963 GB, free: 198.7 MB / 2.046 GB Notification: Performance of NFConvertDAE.convert: time 0.2906/6.498, allocations: 185.1 MB / 3.144 GB, free: 181.1 MB / 2.046 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/6.498, allocations: 0 / 3.144 GB, free: 181.1 MB / 2.046 GB Notification: Performance of FrontEnd: time 2.185e-06/6.498, allocations: 0 / 3.144 GB, free: 181.1 MB / 2.046 GB Notification: Performance of Transformations before backend: time 0.00691/6.505, allocations: 0 / 3.144 GB, free: 181.1 MB / 2.046 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.6481/7.153, allocations: 196.7 MB / 3.336 GB, free: 98.37 MB / 2.046 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/7.153, allocations: 7.875 kB / 3.336 GB, free: 98.37 MB / 2.046 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.04812/7.201, allocations: 13.94 MB / 3.349 GB, free: 94.79 MB / 2.046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1057/7.307, allocations: 21.14 MB / 3.37 GB, free: 85.38 MB / 2.046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2116/7.519, allocations: 80.12 MB / 3.448 GB, free: 42.76 MB / 2.046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009983/7.529, allocations: 8.27 MB / 3.456 GB, free: 38.07 MB / 2.046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03707/7.566, allocations: 10.92 MB / 3.467 GB, free: 30.52 MB / 2.046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.304/7.87, allocations: 114.6 MB / 3.579 GB, free: 8.051 MB / 2.14 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005367/7.875, allocations: 231 kB / 3.579 GB, free: 7.961 MB / 2.14 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02902/7.904, allocations: 4.469 MB / 3.584 GB, free: 3.492 MB / 2.14 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001905/7.906, allocations: 2.68 MB / 3.586 GB, free: 0.8125 MB / 2.14 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8668/8.773, allocations: 108.7 MB / 3.692 GB, free: 0.9025 GB / 2.187 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 0.8928/9.666, allocations: 0.6957 GB / 4.388 GB, free: 341.6 MB / 2.187 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4594/10.13, allocations: 255.4 MB / 4.637 GB, free: 161.7 MB / 2.187 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1141/10.24, allocations: 51.61 MB / 4.688 GB, free: 110 MB / 2.187 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/10.25, allocations: 1.322 MB / 4.689 GB, free: 108.7 MB / 2.187 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/10.25, allocations: 1.238 MB / 4.69 GB, free: 107.5 MB / 2.187 GB Notification: Performance of pre-optimization done (n=11801): time 0.0008973/10.25, allocations: 0 / 4.69 GB, free: 107.5 MB / 2.187 GB Notification: Performance of matching and sorting (n=11801): time 1.134/11.39, allocations: 153.7 MB / 4.84 GB, free: 0.8906 GB / 2.187 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()