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.00108/0.00108, allocations: 108.2 kB / 17.17 MB, free: 6.309 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.001038/0.001038, allocations: 197.8 kB / 18.08 MB, free: 5.406 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.125/1.125, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05555/0.05555, allocations: 14.16 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.315/2.315, 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.001564/0.001564, allocations: 83.88 kB / 0.9609 GB, free: 3.199 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7829, allocations: 172.1 MB / 1.129 GB, free: 28.37 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4): time 1.432/2.215, allocations: 0.7993 GB / 1.928 GB, free: 15.46 MB / 1.312 GB Notification: Performance of NFInst.instExpressions: time 1.198/3.413, allocations: 280.4 MB / 2.202 GB, free: 0 / 1.546 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1627/3.576, allocations: 2.901 MB / 2.205 GB, free: 0 / 1.546 GB Notification: Performance of NFTyping.typeComponents: time 0.1384/3.714, allocations: 35.69 MB / 2.24 GB, free: 15.21 MB / 1.562 GB Notification: Performance of NFTyping.typeBindings: time 0.3174/4.031, allocations: 98.05 MB / 2.335 GB, free: 8.809 MB / 1.562 GB Notification: Performance of NFTyping.typeClassSections: time 0.0875/4.119, allocations: 27.64 MB / 2.362 GB, free: 4.039 MB / 1.562 GB Notification: Performance of NFFlatten.flatten: time 0.3832/4.502, allocations: 268.4 MB / 2.625 GB, free: 14.7 MB / 1.78 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07446/4.577, allocations: 26.56 MB / 2.651 GB, free: 4.344 MB / 1.796 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1363/4.713, allocations: 68.84 MB / 2.718 GB, free: 320 kB / 1.858 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1306/4.844, allocations: 79.14 MB / 2.795 GB, free: 3.316 MB / 1.937 GB Notification: Performance of NFPackage.collectConstants: time 0.04543/4.889, allocations: 4.883 MB / 2.8 GB, free: 14.43 MB / 1.952 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08834/4.978, allocations: 12.13 MB / 2.812 GB, free: 2.305 MB / 1.952 GB Notification: Performance of NFScalarize.scalarize: time 0.0391/5.017, allocations: 19.15 MB / 2.83 GB, free: 15.86 MB / 1.983 GB Notification: Performance of NFVerifyModel.verify: time 0.1522/5.169, allocations: 72.67 MB / 2.901 GB, free: 7.637 MB / 2.046 GB Notification: Performance of NFConvertDAE.convert: time 1.107/6.276, allocations: 178.2 MB / 3.075 GB, free: 311.9 MB / 2.046 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/6.276, allocations: 0 / 3.075 GB, free: 311.9 MB / 2.046 GB Notification: Performance of FrontEnd: time 1.573e-06/6.276, allocations: 1.25 kB / 3.075 GB, free: 311.9 MB / 2.046 GB Notification: Performance of Transformations before backend: time 0.006551/6.282, allocations: 0 / 3.075 GB, free: 311.9 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.686/6.969, allocations: 195.6 MB / 3.266 GB, free: 212.7 MB / 2.046 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/6.969, allocations: 8.031 kB / 3.266 GB, free: 212.7 MB / 2.046 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.04767/7.016, allocations: 13.93 MB / 3.28 GB, free: 205.7 MB / 2.046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1088/7.125, allocations: 21.15 MB / 3.301 GB, free: 185.4 MB / 2.046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2151/7.34, allocations: 80.13 MB / 3.379 GB, free: 131.2 MB / 2.046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008547/7.349, allocations: 8.272 MB / 3.387 GB, free: 126.6 MB / 2.046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03716/7.386, allocations: 10.91 MB / 3.398 GB, free: 119.3 MB / 2.046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3033/7.689, allocations: 114.6 MB / 3.51 GB, free: 6.074 MB / 2.046 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005705/7.695, allocations: 230.2 kB / 3.51 GB, free: 5.984 MB / 2.046 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03409/7.729, allocations: 4.469 MB / 3.514 GB, free: 1.516 MB / 2.046 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/7.731, allocations: 2.681 MB / 3.517 GB, free: 14.83 MB / 2.062 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9184/8.65, allocations: 108.7 MB / 3.623 GB, free: 0.8739 GB / 2.14 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.9386/9.588, allocations: 0.6957 GB / 4.318 GB, free: 334.7 MB / 2.14 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5049/10.09, allocations: 255.4 MB / 4.568 GB, free: 158.4 MB / 2.14 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1164/10.21, allocations: 51.62 MB / 4.618 GB, free: 106.8 MB / 2.14 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/10.22, allocations: 1.329 MB / 4.62 GB, free: 105.5 MB / 2.14 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001878/10.22, allocations: 1.226 MB / 4.621 GB, free: 104.3 MB / 2.14 GB Notification: Performance of pre-optimization done (n=11801): time 0.0007998/10.22, allocations: 0 / 4.621 GB, free: 104.3 MB / 2.14 GB Notification: Performance of matching and sorting (n=11801): time 1.078/11.3, allocations: 153.7 MB / 4.771 GB, free: 0.8764 GB / 2.14 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()