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.2/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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.001467/0.001466, allocations: 95.19 kB / 16.97 MB, free: 6.398 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.00161/0.00161, allocations: 184.9 kB / 17.85 MB, free: 5.973 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.898/1.898, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05994/0.05994, allocations: 14.16 MB / 286.5 MB, free: 13.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 4.258/4.258, allocations: 463.5 MB / 0.783 GB, free: 108.5 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: Performance of FrontEnd - loaded program: time 0.0005935/0.0005937, allocations: 12 kB / 0.9685 GB, free: 240 kB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417/1.417, allocations: 176 MB / 1.14 GB, free: 25.42 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_3_M_4): time 2.31/3.728, allocations: 0.724 GB / 1.864 GB, free: 5.742 MB / 1.265 GB Notification: Performance of NFInst.instExpressions: time 0.6097/4.337, allocations: 265.1 MB / 2.123 GB, free: 6.133 MB / 1.452 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2179/4.555, allocations: 2.815 MB / 2.126 GB, free: 3.305 MB / 1.452 GB Notification: Performance of NFTyping.typeComponents: time 0.1567/4.712, allocations: 29.42 MB / 2.155 GB, free: 5.699 MB / 1.483 GB Notification: Performance of NFTyping.typeBindings: time 1.588/6.3, allocations: 86.01 MB / 2.239 GB, free: 4.992 MB / 1.483 GB Notification: Performance of NFTyping.typeClassSections: time 0.1101/6.41, allocations: 20.51 MB / 2.259 GB, free: 4.145 MB / 1.483 GB Notification: Performance of NFFlatten.flatten: time 0.4923/6.903, allocations: 255.5 MB / 2.508 GB, free: 6.426 MB / 1.577 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1243/7.027, allocations: 22.54 MB / 2.53 GB, free: 2.922 MB / 1.593 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1967/7.224, allocations: 65.29 MB / 2.594 GB, free: 11.36 MB / 1.655 GB Notification: Performance of NFSimplifyModel.simplify: time 0.202/7.426, allocations: 73.85 MB / 2.666 GB, free: 384 kB / 1.702 GB Notification: Performance of NFPackage.collectConstants: time 0.05769/7.484, allocations: 4.066 MB / 2.67 GB, free: 12.3 MB / 1.718 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1392/7.623, allocations: 11.25 MB / 2.681 GB, free: 2.098 MB / 1.718 GB Notification: Performance of NFScalarize.scalarize: time 0.06027/7.683, allocations: 17.16 MB / 2.698 GB, free: 6.312 MB / 1.733 GB Notification: Performance of NFVerifyModel.verify: time 0.1386/7.822, allocations: 27.18 MB / 2.724 GB, free: 5.039 MB / 1.749 GB Notification: Performance of NFConvertDAE.convert: time 1.995/9.817, allocations: 140.7 MB / 2.862 GB, free: 128 MB / 1.827 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/9.817, allocations: 2.344 kB / 2.862 GB, free: 128 MB / 1.827 GB Notification: Performance of FrontEnd: time 3.597e-06/9.817, allocations: 0 / 2.862 GB, free: 128 MB / 1.827 GB Notification: Performance of Transformations before backend: time 0.01041/9.828, allocations: 0.5938 kB / 2.862 GB, free: 128 MB / 1.827 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.7355/10.56, allocations: 172.2 MB / 3.03 GB, free: 74.15 MB / 1.827 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/10.56, allocations: 11.31 kB / 3.03 GB, free: 74.15 MB / 1.827 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.07882/10.64, allocations: 13.93 MB / 3.044 GB, free: 70.57 MB / 1.827 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1298/10.77, allocations: 21.18 MB / 3.064 GB, free: 61.16 MB / 1.827 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2905/11.06, allocations: 77.11 MB / 3.14 GB, free: 31.18 MB / 1.827 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01583/11.08, allocations: 8.274 MB / 3.148 GB, free: 30.96 MB / 1.827 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.06456/11.14, allocations: 10.92 MB / 3.158 GB, free: 30.9 MB / 1.827 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4659/11.61, allocations: 114.2 MB / 3.27 GB, free: 11.55 MB / 1.874 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.008535/11.62, allocations: 230.8 kB / 3.27 GB, free: 11.46 MB / 1.874 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.05047/11.67, allocations: 4.469 MB / 3.275 GB, free: 10.45 MB / 1.874 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004238/11.67, allocations: 2.68 MB / 3.277 GB, free: 7.773 MB / 1.874 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.344/12.02, allocations: 108.9 MB / 3.383 GB, free: 3.09 MB / 1.952 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 2.459/14.48, allocations: 0.6973 GB / 4.081 GB, free: 478 MB / 2.155 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5865/15.06, allocations: 255.7 MB / 4.331 GB, free: 339.5 MB / 2.155 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1465/15.21, allocations: 51.72 MB / 4.381 GB, free: 317.8 MB / 2.155 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01813/15.23, allocations: 1.322 MB / 4.382 GB, free: 317.7 MB / 2.155 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003215/15.23, allocations: 1.225 MB / 4.384 GB, free: 316.8 MB / 2.155 GB Notification: Performance of pre-optimization done (n=11802): time 0.00146/15.23, allocations: 4 kB / 4.384 GB, free: 316.8 MB / 2.155 GB Notification: Performance of matching and sorting (n=11820): time 0.9843/16.22, allocations: 262.8 MB / 4.64 GB, free: 71.99 MB / 2.155 GB Warning: Out of memory! Faking a stack overflow. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7624:3-7624: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(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.ceval) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork2) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.cevalWork1) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Ceval.ceval) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #29 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #30 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #31 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #32 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #33 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #34 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #35 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #36 /lib/x86_64-linux-gnu/libc.so.6() [bt] #37 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #38 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc()